Support for export to glft/glb format
Dan Søborg
We are currently making a viewer for our Eyeshot 3D models, however we badly need support for export to gltf/glb format. Existing export into three.js script code ( Model.WriteWebGL) is 200 times slower to load compared to files exported to gltf/glb files. This export format are essential for making a professional webgl ( three.js) viewer for large 3D models on the web.
Thanks beforehand
Best Regards
Dan Søborg
3
Comments
it would be great if gltf format is supported as it is supported by many software.
See here https://www.khronos.org/gltf/
I am getting request for gltf more and more often. I guess it's specially because clients want to show a webgl model. Import I don't personally care but export is more and more on demand.
We have this on our to-do list. What I like most is the scene graph support, something not true for OBJ file format.
Well OBJ date from mid 80's and Khronos made glTF a bit before OpenGL 4.4 so 2012-2013. You already have ThreeJs webGL which have converters to GLTF that i found a couple years ago. I'll need to find my old link soon enough i have provide a couple glTF in the next 2-3 weeks. I will let the link here if i find it back. At least it would allow some sort of conversion the other clients for the time being.
if it helps, I used the library
https://github.com/vpenades/SharpGLTF to export in glb format models created in eyeshot composed by mesh/solid/lines.
The class WriteGLTF has been added to 2023.2 -nightly- builds, please test it to see if something is missing.
Please sign in to leave a comment.