Is there a decent fbx loader and exporter to be used with babylon.js?
Not in JS as it would be a nightmare to manage the binary files. The easiest would be to do it from the art tools available out there (Blender/Max/Maya).
Would GLTF/GLB be sufficient for your use case ?
I see. What is so different than in the case of .obj format?
I can import and export GLB/GLTF/OBJ files.
Additionally how to export or import .babylon files? Is it just the scene (or this.scene) object written to a file?
What is so different than in the case of .obj format?
The file is completely different and creating a parsing/writer would involve way more code
also dealing with the binary without the fbx sdk would be insanely time consuming.
About babylon: SceneSerializer.Serialize(scene)
Thanks a million!
I did not know fbx file format is so complicated. Maybe I employ another dedicated library for that if I need it so much. Any recommendation for such libraries for formats that Babylon.js does not support?
I will read them. I had read the second one.
I think Tools.Download does some HTML anchor with download and createObjectURL stuff.
You have access to all the sources on Github that is the beauty of Open source, so yes it does and also uses the special MS path for MS browsers.
What does that mean, special MS path?
Just by curiosity, how the gltf importer dealing with the .bin?
Another point about the .fbx is that we can see many software dealing with this format but not with the same rules (correct me if I’m wrong), so it’s probably a little messy to go deep into it.
Official supported files by BJS are .babylon, .gltf/.glb, .obj & .stl.
The bin format in glb is quite easy to parse despite being binary
From where do I import the Tools? I am using es6.
Ok. I have found it in
What about a
dae importer and exporter for babaylon.js?
I researched a bit it seems .dae format is based on collada which is based on xml. So this means it is easy parse and convert too. babylon format is json which equally parsable and convertable.