I'm looking for a most efficient way to load large polygonal meshes (up to 1M triangles) to Three.js. I'm considering either using a THREE.BufferGeometry
object or loading with THREE.BinaryLoader
. My questions are:
- Does BinaryLoader.js create a
THREE.BufferGeometry
object underneath? Or does it create something similarly efficient? - If not, does anyone have a recommendation which one to use?
Some additional info:
- My models are in a proprietary format on the server, so I need to convert/encode them anyway.
- I haven't found a Three.js loader that creates a
THREE.BufferGeometry
. It looks like I need to write my own. But I can prepare the data on the server side to be aligned withTHREE.BufferGeometry
structure. - BinaryLoader.js provides all necessary infrastructure for loading data, but requires data to be prepared in a special way on the server side.