Stream large models in three.js -
i have large model of more 2 million vertices. want stream using three.js remote url. using buffer geometry loading loads in 1 shot.
is there loader in three.js can progressive load model. other approach work.
i able load type of data(obj, stl or json triangles).
any kind of suggestion welcomed.
you need implement sort of lod (level of details) optimization. depends on loading.
the usual simple approach in case of big planar meshes (like terrain) follows:
- split entire mesh square pieces;
- generate several versions of same square: highest lowest level of details (thus, number of vertices);
- serve corresponding squares in appropriate level of details depending on distance form camera, phase of moon or whatever else factor.
Comments
Post a Comment