Why does my model is separated? (For information, I’ve worked on Cinema 4D and the original model have two selections of polygons, to differentiate colors, who are the same that the separation we see in the gltf export (first image).
Where’s the light? I don’t see them in the export… (see the console on first image)
I’ve made an animation where the big octahedron turn on himself and float. In C4D and the website, the animations have the same duration but, in the website, the model gently accelerates and suddenly slow down to match the duration. However, on C4D, its speed is constant.
I also put an environment hdri texture to the windows, but it don’t seem to be working either. But it’s not what’s more important.
Here’s the importation code (in first, a setupModels file, and in second, the file with the import of the GLTFLoader file) :
I’m not familiar with C4D, sorry. But if other engines like BabylonJS or Sketchfab import the asset in the same way, it seems the C4D exporter has issues.
I’ve find an older plugin to export scene in gltf format and it “seems” to be working better.
But, however, I don’t have the lights of the original scene:
I’ve try to import it in blender (wich I never used before) and there wasn’t any light too so I don’t think so (there’s no information about lights in their page about the gltf exporter so I thought it was “basically” within). I’ve try to put a light in my code but it does not seem to make effect too.
The two still have the animation problem, and I have to excuse : I wrote “export in blender” when I wanted to say “import (the gltf file) in blender” (that’s because I know that you can export light in gltf file with blender that I’ve tried).
Your material has a high metalness value (1) and a low roughness value (0.1). With this setup, normal lights will not noticeable affect the material. It’s very recommended to use an environment map in this case.
You can use the following three.js based glTF viewer to verify how the asset looks with an environment map. I’ve tested your second model (The_Octahedron_Activated.glb) and the result looks like so:
With that and the environment map (with just hdri reflect), I should be able to approach the desired result (the third image in my first post), no?
(Now I have to find how to make one haha)