I need some help, nothing I've tried seems to work.
First I tried exporting from 3ds Max (the source files are .max), I tried dragging the .dae file exported from 3ds Max to the online glTF converter. It gives me a resulting .glTF file that is 1kb and has no mesh data.
2nd I tried exporting to collada with Blender. Unfortunately Blender seems to drop my textures, but dragging the .dae to the online glTF converter resulted in what appeared to be a valid glTF file (without textures). The model even showed up in the little window. However, when I tried to load the model into my cesium app I get an error saying "RangeError: Invalid array length".
3rd I tried exporting as collada with Open 3D Model Viewer (Uses Open Asset Importer). From here I was able to export what seemed like a valid collada file with textures. I tried dragging it onto the glTF converter, it gave me what appeared to be a valid glTF file, but the model never showed up in the little preview window. When trying to load this glTF file I got the same error as above "RangeError: Invalid array length".
Unfortunately I can't send the models to anyone, but I've even tried just exporting a simple sphere from 3ds Max with the same result, the converter just barfs on the 3ds max exported collada files.
Anyone have any idea how to get these models converted?
The blog post lightly touched on it, but another post or some more tips for getting animations to work well in cesium would be a big help. I had a bear of a time getting animations to work, and went through a lot of permutations figuring out how to bring things all together.
Baking seemed to be the key to getting things to come together. You need to carefully build the keyframes necessary to get the animation to work well, then bake them in and they should work in gltf.
Blender seemed to be the best tool to use to export good collada to work well with the converter, as it had the most options for adjusting the collada export.
I’m also using Blender to export collada and convert online to gltf. But I often ends up with dark object, or no texture object. (i did check the include UV and material options when I export.) I also tried “shadeless” but looks a bit strange. I guess something trick about the lighting?
It’ll be great if you could share with us some tips of handling textures, animation when converting gltf.