.obj to .dae to .gltf conversion issue

Always dangerous for me as a non-artist to play with both 3DS Max AND Blender to manipulate a file.

I exported a textured box in 3DS Max to .obj format, so that I could convert it to .DAE format in Blender (I know, just use Blender, but I told you I'm a non-artist). Then use Cesium's Collada to gltf converter.

The OBJ looks right and the texture map I believe is ok too. However, at the end of the process, Ceisium is displaying the following error:

An error occurred while rendering. Rendering has stopped.
RuntimeError: Failed to load model: ./SampleData/models/building/building.gltf

I am guessing maybe my Blender export is adding light(s), and a camera (MAYBE). Just not clear on how to export a model, and instead Blender is exporting a whole scene.

Is there a way for me to attach building.gltf, building.dae and building.obj here?

Beyond that, the Sun is out and it's turning into a nice day.


Have you tried converting .obj directly to .gltf?

See https://github.com/AnalyticalGraphicsInc/OBJ2GLTF