glTF Export

Last updated May 22nd, 2020
Important message regarding the LABS plugin and S22

Hello everyone, 

As you probably already know by now, the glTF Exporter went through several improvements and got    itself an honourable integrated spot in Cinema 4D S22. During that time, radio silence and secrecy  was required which I'm sure you can all understand the reason for by now. Nevertheless, I apologise for the lack of any signs of life and I'm here to clarify what this integration means for the LABS  glTF Exporter plugin and its integrated new sibling.

The LABS glTF Exporter: Further development and maintenance is halted. However, This page will      remain up and the builds at the bottom - free to download and use. Also, I will continue to answer  your questions in the comment section and try to help as best I can.

The integrated glTF Exporter: As now part of the Cinema 4D cycle, the integrated glTF Exporter will continue to undergo regular maintenance and development with hopefully new improvements coming in   future releases.

I'd like to remind you all that the builds on this page are only supported on R20, with some later  ones supported on R21 as well.

As for me, I now turn my focus to a new project which you'll hopefully be hearing more about in the future :)

Thank you for all your care for and feedback on this project, I hope you're all doing well!

Cheers,
Basel

About glTF

gl Transmission Format, or glTF, is a free specification by KhronosGroup for the efficient transmission and loading of 3D scenes and models by applications which makes it great for RealTime Graphics. The Cinema 4D glTF Exporter exports the c4d scene to *.gltf/*.glb formats, ready to be used across all platforms supporting glTF.

September 18th release features:

  • Support for R21

  • Bug Fix: Orthographic Camera wrong xmag and ymag values

  • Crash Fix: when exporting mesh with a weight tag with no joints

Additions and modifications to the documentation are underlined or strikedthrough.

Exporting Options

To Export the scene in glTF format go to File->Export->GLTF (*.gltf), select a destination and click Save. An Options window will pop up with the following options:

  • Export Normals: Deselect to get Flat Shading.
  • Export UV Coordinates: Self explanatory.
  • Scale: Define the scale of the exported scene.
  • Export Textures: Self explanatory.
  • Double Sided: Select to prevent Back-face Culling.
  • Export TRS Animations: Export TRS animation tracks.
  • Export Morph Animations: Export either Pose Morph animation or PLA animation.
  • Export Skin Animations: Export TRS animation tracks of joints.
  • Bake Animations: Bake every frame of animation.
  • Substeps: Number of substeps to sample between each two frames.
  • Export Frame: Export state of document at current frame or at another specified frame .
  • Export Frame Number: specify which frame to export .
  • Export Cameras
  • Flip Z: Switch from Left Handed to Right Handed System.
  • Export as Binary(.glb): Export glTF file in its binary form.

Cameras

glTF 2.0 has a basic support for cameras, perspective projection and parallel(aka orthographic).

Scale

You can convert the units of the scene at export. I’ll provide a few examples to explain how it works:

C4D value > Scale option > Exported value
100 cm > 1 Centimeter > 100
1 cm > 1 Meter > 0.01
1 m > 1 Centimeter > 100
1 m > 1 Meter > 1

Materials

glTF takes the PBR approach to describe Materials, which translates pretty well to Cinema’s Reflection Channel, but is limited in some aspects. One of those is the lack for multilayered material support. And so, to get a similar looking result on export, we recommend working with a single Reflection/Specular layer in the Reflection Channel.


(*) Supported fields are Highlighted in blue

PBR Metallic Roughness

glTF’s PBR Material’s information is encoded into three main parameters:

  • Base Color: set by Layer Color’s Color selection or by Color selection in Color Channel.
  • Metallic Value: set by main reflection layer’s Reflection Strength value.
  • Roughness Value: set by main reflection layer’s Roughness value.

Texture maps to the aforementioned parameters are also supported:

  • Base Color Texture: set Bitmap Texture in Layer Color or in Color Channel.
  • Metallic Texture: set Grey-scale Bitmap Texture under Reflection Strength.
  • Roughness Texture: set Grey-scale Bitmap Texture under Roughness Strength.

Normal Map

Normal Maps can also be set in the main Reflection/Specular layer, under Bump Strength, set Mode to “Custom Normal Map” and set the Bitmap in Custom Texture.Can also be set in the Normal Channel and the Bump Channel.

Other Maps


(*) Supported fields are Highlighted in blue

Occlusion Map

Occlusion Map is set in the Diffusion Channel.

Emissive Factor and Map

Emissive Factor(Color) and Map are set in the Luminance Channel.

Alpha Map

Alpha Map is set in the Alpha Channel.

Pose Morph Animations

The current glTF standard supports morph targets which are added, with differnet weights, to the original mesh. The weights can also be animated.

In Cinema 4D, Morph targets are called Poses, and the weights are Strengths.

Setting a Target overrides the internal poses defined in the tag.

PLA

PLA isn’t technically supported in the current glTF standard, but I was able to achieve this by considering the object at different keyframes to be differnt morph targets.

Skin Animations

Skin animation is described as the deformation of a mesh according to TRS tracks of joints that are bound to it and assign weights to its vertices.

Editor Mode

Visibility of the object can be turned off by setting the Editor Mode to Red. Technically there’s no support for a visibility boolean in the current standard, this is achieved by setting the material’s alpha to 0.

Texture Mode

The Texture Mode of the gltf file is defined by the Texture Mode option in Preferences>OpenGL, select between Nearest, Linear and Mipmaps.

Notes and Limitations

  1. Reflection Strength vs. Metallic Value: Reflection Strength translates very closely to glTF’s Metallic Value, but there’s a difference… In Cinema 4D, Reflection Strength describes how much light is reflected off the surface, whereas Metallic Value describes how much the reflective behavior of the surface resembles that of a metal. 0% Reflection Strength means that the surface doesn’t reflect any light, meaning it’s black. But that is not true for 0% Metallic Value.
  2. Texture Baking: As of now, the automatic baking of Texture Shaders is not yet implemented. If you do use Shaders, please manually Bake them using the Bake Texture tag and re-set them as Bitmaps.
  3. Metallic-Roughness coupling: In glTF, the Metallic and Roughness Maps are actually single Bitmap where the values are incorporated into the Green and Blue Channels. So when setting a Reflection Strength and Roughness maps, please make sure they are the same dimensions. If they are not, then the Reflection Strength map will be scaled to match the Roughness map.
  4. Color-Alpha coupling: Same goes for the Color Texture and Alpha Map, as they will be merged into a single RGBA Bitmap.
  5. Mix Strength: glTF mixes between the Main Color and the Texture by component-wise multiplication of the RGB values. This required an adjustment method of the Color value or the Texture pixels at Export to achieve the same mix as in Cinema 4D. It’s still WIP and artifacts may appear in the result.
  6. Normal map strength: When setting the Normal map in the Reflection Channel… The strength, or “scale”, of the Normal Map is defined by the product of Bump Strength and Strength.
  7. Error Messages: Proper Error Descriptions are yet to be included, if you run into an error, it will most likely say “Out of Memory…” but it’s very rarely so.
  8. Polygon Selection: Polygon Selection is not yet supported, please manually Split the object and apply the different materials accordingly.
  9. Color properties priorities: If Color Channel is enabled, its properties override the Layer Color properties set in the Reflection Channel(i.e. Color, Brightness, Texture and Mix Strength)
  10. Normal map priorities: If Normal maps are set in the Reflection Channel, Normal Channel and Bump Channel. Then the Normal map and its Strength are retrieved from the Reflection Channel first, Normal Channel second, and Bump Channel last.
  11. Instances: not supported yet. instances will be baked into a new polygon object.
  12. Cubic Spline animation curves: in Cinema 4D, two coefficients define the tangent of every key: “value” and “time”. In glTF, a tangent is defined only by “value”. If your exported animation doesn’t look the same, consider baking the animation.
  13. Linear/Step curves: An animation property(Translation/Rotation/Scale) will be exported as Step Interpolation only if all its keys interpolations(in the x,y,z curves) are set to Step, otherwise it will be exported as Cubic Spline.
  14. Pose Morph OR PLA: It’s not possible to export PLA and Pose Morph animations together.
  15. Pose Morph global Strength: The global Strength value and its curve in the Pose Morph tag cannot be exported, it is multiplied by the other strength values.
  16. Skin Animation Weights: in glTF 2.0, a vertex may be assigned up to 4 weights by 4 joints only! If more than 4 joints influence a vertex, the 4 that assign the largest weights will be exported as the influencers of that vertex.
  17. Bake Animation: If your exported animation doesn’t look right, try enabling the Bake Animation option.
  18. Animation Range: Exported animation range depends on the Timeline limits defined in the Cinema 4D
    document.


Download

Last updated September 18th, 2019

Previous Builds:







Requirements

Cinema 4D R20 and R21.

Note on Cinema 4D S22:
The plugin has not been designed for Cinema 4D S22 and forcing installation might results in unexpected crashes.

Installation

Simply unzip the downloaded archive into the “plugins” folder.

Support

Provide your bug reports, test scenes or ideas by writing an email to labs-at-maxon-dot-net

Please rate this

214 Comments

  1. hey there!
    thank you so much for this plug-in!

    i noticed that you posted “only cinema materials are supported”
    do you think others (like octane or corona) will be working in some time?

    thanks again!

    • Hi Jonny,
      apologies but further development of new features for the external LABS plugin has been halted since now the exporter has been integrated into C4D. Please refer to the message at the top of the page.

      Cheers,
      Basel

  2. Any plans for Take support?
    Multiple animations in a single file It would be super helpful if the take.

    Thanks

    • Hi Claudio,
      Apologies but no new features/updates will be introduced to the glTF exporter LABS plugin. Please refer to the message at the top of the page.

      Cheers,
      Basel

  3. Hi Basel

    Thanks for the great exporter. I have a question as I have been working for a few days now and I can’t get it to work. I’m finding skin animations export ok but not with morph animations also. Do you know if this is the case?

    Thanks for any advice.

    David

  4. ps. I narrowed that down now: make a Cone, set S.X= -1 and R.H=180
    and it will be flipped upside down in the export.

    • I apologise for this, but I hope you’ll be happy to know that this issue was fixed in S22.

      Cheers,
      Basel

  5. Dear Basel,
    there is a bug with transformations in the (labs) exporter if objects have a negative scale in cinema4d. (inverted objects in the glb)
    I sent you some example files by mail, but not sure if that reached you.

  6. Do you think you could add pose names within the exported GLTF? Right now they are only able to be referred to by index. I believe it is common convention to stick the morph target names in extras.TargetNames.

    • Hi Dan,
      thank you for bringing this to my attention, I apparently stepped over that note while reading the specification. Hope that I can fix that for future releases when time permits.

      Cheers,
      Basel

    • Plenty actually 🙂 head over to File->Export and you’ll find a whole list of them

  7. Hello I’m working with a client creating 3D content for an interactive map in babylon and we are having problems with Scale. Doesn’t matter how low of a number I export at, my 3d files are coming in HUGE. I tried exporting at 0.000001 millimeters but still the files are very large in size. ANy tips would be appreciated, TY!

    • Hi Marcin,
      I believe this goes beyond glTF and Cinema… Heck, even the science of Computer Graphics! Alas, it’s an inherent limitation of our reality and the laws that govern it, trickled down to the physical components of this metal and silicon machine we call a computer. Nevertheless, one can dream. I’ll keep an eye out, and maybe, just maybe, a breakthrough comes along that unleashes the full potential of humanity so we can finally shrink files by scaling down scenes.

      Thanks, your comment made my day 😁

      Comment #200 🥳

    • Marcin,
      Do you mean huge as in file size in Kb/Mb or do you mean huge as in dimensions?

      For dimensions, I’ve found changing the exporter scale doesn’t affect the glTF export. You can control the scale in three.js or babylon or whatever, in the javascript.

      For filesize, there’s not going to be a difference – the points are all still there they’re just changing the distance between each point. Further, it doesn’t re-sample the images and textures, so there’s the same amount of info there as well.
      For filesize you’ll need to do a decent amount of pre-planning before you create your model.

    • into the plugins directory, please create one if it’s missing.

    • I’ve put this down as another improvement for the future when time permits.

      Cheers,
      Basel

  8. Thanks for creating this plugin.
    I can`t install it, it just doesn`t show up in the export menue.
    I have R21, created a plugins-folder and linked it in c4d`s preferences.
    Anyone any idea what i`m doing wrong?

      • Hi Michael and Johannes, thanks for reporting the issue but I can’t reproduce it either under Windows and on macOS. Tested version is Cinema 4D 21 SP2 and in both cases GLTF entry shows in the export menu. Please run Cinema 4D by using setting the g_console=true in the command-line and see what the logs reports.

    • same problem here – C4D R21 and Win10

      WARNING: Error loading file:///C:/Program Files/Maxon Cinema 4D R21/plugins/R21/c4d_gltfexporter.xdl64: Could not load dll. (file:///C:/Program Files/Maxon Cinema 4D R21/plugins/R21/c4d_gltfexporter.xdl64) [win_dll.cpp(319)]
      Cause: Windows System Error #1114: Eine DLL-Initialisierungsroutine ist fehlgeschlagen. [win_dll.cpp(315)] [general.cpp(386)]

      ciao manu

  9. I follow up on this: The last update was 5 months ago and not a single answer or post from Basel since September 19. Is this project abandoned? Or if you’re planning to include this in R22 still please let us work with it / test it until then.

    • Hi Indexofrefraction,
      apologies I had to keep low as the exporter was being integrated and tested by our QA and beta tester community. 🙂

      Cheers,
      Basel

  10. Thanks a lot for this plugin.

    I have a question about the Normals export (at least, I think thats the problem).
    I have a plane morphing to a sphere with a wrap deformer. This animation is baked via Function -> Bake Objects with PLA. Then exported with in gltf with PLA.
    The animation works fine, but somehow I can’t get any shading (like shadows). The surface stays the same color, no mater how it moves. Seems like the normals are not updating…

    Best regards
    Artur

    • Hi Artur,
      please send me a test scene, I’ll have a look when time permits.

      Cheers,
      Basel

  11. Great plugin! I’ll use it on a lot of projects in the future, starting with this website, where i’ll remodel the vehicle trackers.

    • Hi Henric,
      please update me on how that goes 🙂

      Cheers,
      Basel

  12. Amazing plugin
    It provide a perfect workflow for webGL, three.js and skinned mesh animations
    Thanks a lot!

  13. is the development of the plugin stopped. The last update was 4 months ago.
    I would be very sad about it.

    • Hi Wolf,
      apologies for the long radio silence, please refer to the message above for an explanation.

      Cheers,
      Basel

  14. I noticed that the occlusion map in the diffusion channel if exported in gltf/glb doesn’t maintain the uv map. The other channels are ok

    • Hi Andrea,
      I noticed that as well in some glTF viewers, where are you encountering this?

  15. Thanks for the exporter!
    I am a C4D novice. May I ask if this tool can export the materials of Octance and Arnold? In addition, the. Bin file is not normally output, will it affect the use of GLTF? Thank you very much and look forward to your reply!

    • Hi Milox,
      you’re welcome I hope you enjoy it.
      1. Sorry but only Cinema materials are supported.
      2. If you export as binary, all the binary data will be compiled into a single .glb. Perhaps in the future we’ll provide an option to export the bin files separately if it’s heavily requested.

      Cheers,
      Basel

  16. Hi Will this plug-in brings animation and pose morphs into UNITY 2019?.

    Where are the instructions to install this plugin? How do you inst

    • Hi Julian,
      instructions on how to install the plugin are mentioned above in the documentation, please unzip the archive into the plugins directory of your main cinema installation directory(create one if missing).

      And yes, Pose morph animations are supported by the exporter.

      Cheers,
      Basel

  17. hello. great plugin. Just a question, a client asked me to send them a GLTF file with my rigged model, the model has 3 different animation and they asked me 3 different motion clips but with same layer/model and then in three.js the different clips can just be grabbed and applied. thanks

    • Hi Giuseppe,
      thanks I’m glad you enjoyed the plugin and apologize for the lack of multiple animation support. It’s an ongoing issue that is still being researched by our UX team. We hope we can deliver a solution in future releases.

      Cheers,
      Basel

  18. Hi, impossible to export file with posemorph, I got an error message “not enough memory”.

    If I export file with PLA, it works but in three editor animation doesn’t appear… Any idea ?

    • Hi Fabien,
      I apologize for the inconvenience, please email me a test scene or instructions on how to reproduce and I’ll have a look. There is a chance that what you’re encountering has already been fixed in the integrated version of the exporter.

      Cheers,
      Basel

  19. Hi! Thank you so much! This one has been a lifesaver.

    2 questions: Any chance the export of bezier splines is going to be supported?
    And how about multiple animations for one object? Lets say like multiple walk cycles for a rigged character 🙂

    • Hi Joris,
      I’m glad you enjoy the exporter 🙂
      1. So far the glTF standard lacks specification for Splines. Since we stick to what the standard offers, I don’t think there’ll be support to export splines any time soon.
      2. This is a heavily requested feature which is still being discussed internally by our UX team. I hope that in the near future we can finally address this and provide a solution to you all.

      Cheers,
      Basel

  20. Hey Basel,

    Great work on the plugin. However, I have a serious issue while exporting the GLTF. I have an object that has multuple materials applied to it. However, when i export that object as a gltf it only uses one of the material and applies it to the entire object. I wanted to ask whether this plugin supports multple materials export or is there any workaround this problem?

    • Hi Ghazmir,

      I apologize for the inconvenience, multiple material support isn’t present on the exporter plugin. But there are good news, the integrated version of the exporter which is now available in Cinema 4D S22 came with many improvements, and multiple material support is one of them.

      Cheers,
      Basel

  21. Great. It´s working really well. But is there a way to export multiple UV Sets? Right now it´s only using one – right?

    • Hi Jan,
      unfortunately yes that is correct. It is also true for the integrated exporter(in S22). It’s obviously something that should be addressed in the future when time permits.

      Cheers,
      Basel

  22. Hey Basel! Is it possible to name the exported morph targets the name of the pose from C4D? Currently the morphTargetDictionary is just indexed “morphTarget0”, “morphTarget1”, “morphTarget2”, etc. Would be awesome to have my labeled poses make this more human readable when trying to access in a three.js environment.

    Thanks for considering!

    • Hi Austin,
      I’ve taken notes of the issues and improvement requests and hope we can deliver on them in the future.

      Cheers,
      Basel

  23. Hello! I have installed into the plugins folder in R20, but doesn’t seem to show up as an option under the plugins menu for me. Any ideas?

    • Hi Duncan,
      As an exporter, it’s not supposed to show up under the plugins menu, rather under File>Export…

      let me know if it’s not there either 🙂
      Cheers,
      Basel

    • Hi Lesley,
      Please check out the Annotation Tool in C4D.
      But unfortunately there’s no annotation support in glTF, what you see in the link you gave me is specific to that viewer.

      Hope this helps.
      Cheers,
      Basel

  24. Does this plugin work with R21? I can’t seem to get the gltf export option to appear. On macOS, I’ve tried:
    – Placing the plugin in a plugins/ folder in my /Applications/Maxon Cinema 4D R21/ folder
    – Placing the plugin in my user-specific plugins/ folder in ~/Library/Preferences/Maxon/Maxon Cinema 4D R21_90860A1D/
    – Ensuring the above plugin paths are added in Preferences -> Plugin Search Paths
    – Ensuring the com.apple.quarantine xattr is removed from c4d_gltfexporter.xlib

    Yet, when I install the plugin in the older R20 release’s plugins/ folder, it shows up just fine. It refuses to run in demo mode, but the option is at least present in the Export menu, which is more than I can say for R21.

    Am I missing something, or is R21 support something that’s yet to be added?

    Thanks!

    • Many thanks for a great plugin, Basel!
      In just 24 hours of use (in R20), your exporter has already proven critical to my workflow, and it’s working flawlessly.

      I understand that R21 requires rewriting and compiling of plugins — so am hopeful that this is on the roadmap?

      Cheers!

      • Hi Collin and Ryan,
        I’m pleased to let you know that the latest build(1.000×290161) is supported on R21.
        Grab it and please let me know if you run into any troubles!

        Cheers,
        Basel

    • Simon you just made my day! Thank you and I’m very happy you’re putting the plugin to such awesome use :))
      Well done!

  25. Thank you @Basel
    it’s a pleasure to hear about this new ability to export the 3d web format, (I Heard when first created, I just waited for it to get some maturity, which today is on a perfect stage of it development)

    (i switched recently to another software just because of this version needed) I’m glad we have it now within C4D 🙂
    Good luck.
    Cheers.

  26. Life saving! My animations (that I acquired through mixamo) come out stuttering and Jittering.
    Any suggestion?

    • Hi Jet,
      please send me your test scenes over to the email mentioned above and I’ll have a look!

      Cheers,
      Basel

  27. Does it support C4D R18.011?
    I have already install it , but don’t find in flie-export.
    Hope to receive your answer.

    • Hi Angola,

      sorry but the plugin is compiled for R20 only right now.

      Cheers,
      Basel

  28. Hi Basel, thanks a lot for this plugin. It has been really useful to me. I noticed something that may be a bug. When I open the animation on the exported gtlf at my script, I noticed that Z axis has to be inverted in relation to same object when it hasn’t an animation on it. This happening with the “flip Z axis” enabled on both cases, so I assume that it shouldn’t happen. This is happening with a camera animation.
    Thanks!

    • Hi Simon,

      can I bother you with submitting your report along with a test scene to the mentioned email above?
      I’ll have a look soon!

      Thanks,
      Basel

  29. Hey Basel! Thanks a lot for this tool! It’s highly appreciated.
    I’ve found little weird behavior when exporting with frozen transformations and/or changed rotation order. Maybe it’s a helpful info. I’ve sent a bug report.

  30. First off, this exporter is amazing and has significantly reduced overhead in my C4D -> real time pipeline. 🙏🙏🙏 So thank you!

    I’m struggling at the moment with multiple animations being exported on the same geometry. Is this possible yet? If so, what are the general steps for doing so and getting them to show up in https://gltf-viewer.donmccurdy.com/ for instance?

    Thanks in advance 🙂

    • Hi Austin,

      glad that you like the exporter so far 🙂
      Exporting multiple animations is a subject that we’re currently discussing on how to tackle. There isn’t one clear way to do it in Cinema and we’re in contact with our users to determine the best approach.

      Just like everyone else here, I can’t wait for it to get done 🙂

      Cheers,
      Basel

    • With that being said, please email us at the email mentioned above and drop your opinion on the matter 🙂 We’d love to hear it!

  31. Missing peace of puzzle – web player to view your models

    https://github.com/mozg4D/gltf-web-player

    Thanks for best software in the universe – Cinema4D and for amazing plugin)

    If anyone had success with textured 3D model in Chrome locally without server, please tell me how to do it. I see images are embedded using base64, but CORS still does not allow access to them

    Seems like GLTF does not support embedded environment maps?

    maybe it makes sense to make separate material editor for gltf?

    • Thanks Artem for the mention 🙂 careful with how you spell my last name though 😉

      – I’m not sure I understood your first question? could you rephrase?
      – No, in the standard glTF 2.0 there is no support for Environment maps.
      – Working on it.

      Cheers,
      Basel

      • Oops) fixed)

        it feels like perfect workflow should be as follows:

        1. create 3D model
        2. export to web
        3. view in browser

        But viewing in browser on local computer just does not work( To view model on my computer I have to upload it via FTP to server or I have to run local server. Textures are not displayed if they are not served via http( due to CORS (Cross-origin something) in chrome browser. That is strange as textures are embedded into GLTF as base64 variable. So I guess it’s not a plugin problem. Maybe it’s because of GLTF loader or three.js issue or some browser limitations. There’s no such problem in firefox.

  32. I cannot get reflections to work properly at all. I have tried several viewers, and none of those that I have tried are getting anywhere close. I have expressly followed the directions listed here (I am currently doing some tutorials about using this plug in). Any advice?

    • To make reflections work correctly you have to bake reflection map and add it in web player for desired geometry separately. Or you can use fake reflection map for entire gltf, or you can render reflections to cube in real-time and add them as environment map. All of the above methods give not very predictable results and result in slow performance so I would recommend not using reflections at all. Basically the only way to get 1:1 to what you see in Cinema4d is to use luminance channel only, with fully baked scene and to fake reflections like on table legs here: https://github.com/mozg4D/gltf-web-player

      I will add commented string to JavaScript later today that allows you to add fake environment map to entire gltf scene

  33. Hallo,
    can you please add the names of the materials in the exported .gltf file and try to use the material multible. Now i have 24 objects and 6 materials when i export the file i have 24 material in the gltf. In three.js i have to change 6 objects instead of 1 material.
    When i export as fbx and convert it in blender as gltf i get, in this case, what i want but there are many other troubles.
    And what about multible animation tracks

    • Hi Wolf,
      – Material names: I’ll add that in the next build
      – Material sharing and multiple animations: yes those points were raised before and are on my to-do list. Hang in there I’ll try to deliver soon.

      Cheers,
      Basel

  34. Is there a way to export a object with a Phong and normal tag without losing the normals?
    I really need this to work so I can display imported CAD models.

  35. Hello,

    It works BUT there is no option to save a glTF + bin file which is needed in some cases. Any chance that option can be added?

    Thanks.

    • Hi Anton,
      I’ll add it to the suggestions list… In the meantime I recommend getting Microsoft Visual Code and its glTF Extension: https://github.com/AnalyticalGraphicsInc/gltf-vscode

      It’s very recommended to all glTF users, devs and designers alike.

      Export a .glb using my plugin and use the extension’s “glTF: Import from GLB” functionality. It will convert the .glb into .gltf while also outputting a separate .bin + texture images.

      Hope this helps.
      Cheers,
      Basel

  36. Hello, please any chance for something like that (working) but lower Cinema? R17 needed, cannot change into newest now 🙁 expensive. Just training and need some tools for FB 3D models, any help? GLB with that what I found never works, textures lost and crap 🙁

  37. HI! I noticed a bug! create a cube. Animate scale from 0 to 1 between 25-50 frames. Create position animation between 0 and 50. Create rotation animation from 0 to 50. Theoretically the cube shoudlnt be seeing between 0 and 25 frames. but when you export the animation it shows the cube scale as 1 from the beginning (then it starts animating from 0 at 25.

    A question: i have an animation from 0 to 150. How can I get different animation clips (each witha name) from it?

  38. BUG: If you create a new scene, add the “Bed – Modern 01” to it. Export gltf with the Scale setting in the popup dialog set to 0.01 and Centimeters, then the scene will export out with the object exploded apart. This would be due to not adjusting the matrix offsets of the child meshes when exporting.

    • Hi Kent,
      I’m sorry, I couldn’t reproduce the bug as you described it.
      Please check your beta forum inbox.

      Cheers,
      Basel

    • Try setting a keyframe at 0 with scale 0 for the objects that are goign to “grow”

  39. Hi Basel,

    Thank you for your labors on this exporter. I’m encountering an issue where once the parameters for export have been selected, Cinema freezes. Any ideas what might be causing this issue?

    Best,

    Neil

    • Hi Neil,
      Please email us about the issue at the email mentioned above in the Support section.

      Cheers,
      Basel

      • Sure thing, Basel. Just sent over another message with some of the troubleshooting procedures I’ve taken on my end.

        Just to confirm, the address is: labs@maxon.net, correct?

  40. 为什么点击导出以后我的C4D就卡住了,死机了,很久时间都没有反应

    • Hi Lucas,
      could you please send an email to the labs address mentioned in the Support section above?

      Thanks,
      Basel

    • Hi Martin 🙂
      the plugin so far doesn’t stick a name to the animation object, I’ll deliver that once multiple animations are supported.

      If you export as .gltf file, you can essentially, as a temporary solution for your case, edit the file and add a “name” attribute to the animation object… Simply open the file in a text editor, search for “animations”, and add the following a “name” attribute so it looks like this:

      “animations:”:[{
      “name”:”ANIMATIONNAME”,
      “samplers”:[{
      ….

      pay attention to the comma after the attribute declaration 😉

      hope this helps for now.
      Cheers,
      Basel

      • Hey Basel,

        Yup that worked great. I encourage you to put on a magic leap headset and check this out. It’s sort of a pain to add the string and convert to .glb. BUT it works. I really appreciate your help with this. I did run in to one error- the name could not have any spaces. Your tool is becoming critical for me to rapidly prototype for AR. Thanks Basel!

      • that shouldn’t be an issue, spaces should be definitely supported in names

  41. Great plugin! But i have an issue somehow if i check export normals in the plugin, i can import the file in the thttps://threejs.org/editor/ but not export again. With models from the https://modelconverter.com/convert.html it works fine.
    Do you think this is a bug or a different way of write normals?

    • Hi Moritz,
      please send an email of the issue to the email mentioned above in the Support section.

      Thank you,
      Basel

  42. thanks for the exporter!
    is it somehow possible to export mograph animations/dynamic animations to gltf format?
    by baking or cashing or something else?
    thanks for any feedback.

    • Hi Max,
      Happy you like the exporter! Unfortunately no, the supported types of animations are explained above in the documentation. But please, let me know which features of Mograph you would like to see get supported, and I’ll see if it can be done 🙂

      Email me at labs-at-maxon-dot-net

      Cheers,
      Basel

    • To export mograph, currently requires a workaround – Not related to this plugin, sadly.
      1. First bake your cloner to alembic.
      2. Copy paste results into new doc (for avoid exporting stuff you don’t need).
      3. Export as fbx.
      4. Convert fbx to gLTF here: https://blackthread.io/gltf-converter/

  43. Hey Basel- I’ve been using the exporter for a month now and love it! Do you think you could post a few images of the PBR texture stack in the node editor so I have a better understanding of how everything is working?

    Love your work. Thank you so much.

    • Hi Martin,
      thanks I’m glad you like it so far 🙂
      I’m sorry but the exporter support for materials was first developed with legacy materials in mind, please check the documentation above to see which parameters are supported and how to use them. Also I recommend going over the Important Notes section as well.

      Cheers,
      Basel