Collada to gltf converter error

I tried using the Cesium online Collada to gltf converter, and got the following error message:

An error occurred while rendering. Rendering has stopped.
TypeError: t.scenes[t.scene] is undefined
q@http://cesiumjs.org/Cesium/Build/Cesium/Cesium.js:441:1931
er.prototype.update@http://cesiumjs.org/Cesium/Build/Cesium/Cesium.js:441:28235
a.prototype.update@http://cesiumjs.org/Cesium/Build/Cesium/Cesium.js:455:9057
ct@http://cesiumjs.org/Cesium/Build/Cesium/Cesium.js:457:2261
dt@http://cesiumjs.org/Cesium/Build/Cesium/Cesium.js:457:2692
vt.prototype.render@http://cesiumjs.org/Cesium/Build/Cesium/Cesium.js:457:8493
A.prototype.render@http://cesiumjs.org/Cesium/Build/Cesium/Cesium.js:462:19962
t@http://cesiumjs.org/Cesium/Build/Cesium/Cesium.js:462:2643

My model works without a hitch in the Google Earth API, see
http://gaialab.asu.edu/DAAHL/museum.php for the example.

Hi,

Cool app! Can’t wait to see it in Cesium.

Check out the Troubleshooting section of the model tutorial: https://cesiumjs.org/2014/03/03/Cesium-3D-Models-Tutorial/

If you are still having trouble, send me the model (if you can) and we’ll have a look.

Patrick

Here’s my Collada model. I’ve opened it successfully in Visual Studio, MeshLab, and SketchUp. But it crashes the Cesium converter. I’ve also attached a screen shot showing the errors.

Thanks,

-Steve

Model1370.zip (3.97 MB)

Thanks, I’ve added this to our list of models to debug/investigate. I’ll try to remember to update this post when the issue is fixed.

Hi Matt,

Have you made any progress on this converter problem?

-Steve

Interesting! This problem looks very much like the one I reported last week; Converted Collada to glTF model has no scenes .

It looks like the ‘‘scene" and "scenes’’ elements are missing in this .glTF as well, while they seem to be present in the Collada.

Willem

I actually don’t work on the converter myself, but I’ll check with Tom (who works behind the scenes but isn’t on the forum much) and see what I can do. It looks like the latest version of the converter still has this problem.

A new version of the converter is now deployed. It fixes the issue with this model.

hello parttrick
can you please help me to create my model into gltd file.?

Hello,

You can use our online model converter here: https://cesiumjs.org/convertmodel.html

Drag and drop an OBJ or COLLADA model onto the page to convert it.

Best,

Hannah