3 ms·
Slight tangent, but does anyone here have recommendations for a good serialization format for 3D models for the web? Think for loading into Three.js. Ideally so
by Osmium 9y ago
Slight tangent, but does anyone here have recommendations for a good serialization format for 3D models for the web? Think for loading into Three.js. Ideally something that can be converted to/from Collada. It seems like a lot of the standard file formats are quite heavy.
Edit: glTF? Not sure how good tooling is for this yet, but looks promising.
- angersock 9y agoWavefront OBJ, and gzip it if you must.
- karan85 9y agoglTF adoption is growing very quickly - 2.0 was only finished a few months ago and there is lots of tooling already: https://github.com/KhronosGroup/glTF#gltf-tools https://github.com/KhronosGroup/glTF#gltf-tools
- stuntkite 9y agoGtlf is where we are all headed but you’re right, the tooling hasn’t caught up yet. Google Draco[1] is also an important new development. Compressed meshes and point clouds! It works well and has three.js examples. I have no idea why no one is talking about Draco anywhere. It’s a hugely important new tool. MPEG for vectors! I think FBX works well with three.js too. [1] http://www.github.com/google/draco http://www.github.com/google/draco
- Osmium 9y agoDraco looks exactly what I need actually -- thank you!
- zfedoran 9y agoShameless plug, the three.js fbx converter supports a number of formats including Collada: https://github.com/mrdoob/three.js/tree/dev/utils/converters/fbx https://github.com/mrdoob/three.js/tree/dev/utils/converters...
- Osmium 9y agoThanks, this looks really useful too! I had no idea it was there.
- AndrewKemendo 9y agoGLTF is too new to be adopted en masse and too many systems support collada/obj out of the box already to make people switch. That said, I think it's a great implementation. There are technical roadblocks - most notably that 3D authoring tools (3DSMAX, Cinema4D etc...) don't support export of GLTF natively yet.