diff --git a/examples/files.json b/examples/files.json index 1f571ae8bd4688..dbcc3d4b3ad00d 100644 --- a/examples/files.json +++ b/examples/files.json @@ -8,6 +8,7 @@ "webgl_animation_multiple", "webgl_animation_walk", "webgl_batch_lod_bvh", + "webgl_batch_lod_merged", "webgl_camera", "webgl_camera_array", "webgl_camera_logarithmicdepthbuffer", diff --git a/examples/models/gltf/level-optimized.glb b/examples/models/gltf/level-optimized.glb new file mode 100644 index 00000000000000..24fd9c30995911 Binary files /dev/null and b/examples/models/gltf/level-optimized.glb differ diff --git a/examples/screenshots/webgl_batch_lod_merged.jpg b/examples/screenshots/webgl_batch_lod_merged.jpg new file mode 100644 index 00000000000000..2ec2e3b6740dbc Binary files /dev/null and b/examples/screenshots/webgl_batch_lod_merged.jpg differ diff --git a/examples/tags.json b/examples/tags.json index eeffb34d4c0ffb..8bff793824873f 100644 --- a/examples/tags.json +++ b/examples/tags.json @@ -14,6 +14,7 @@ "physics_rapier_character_controller": [ "external" ], "physics_rapier_vehicle_controller": [ "external" ], "webgl_batch_lod_bvh": [ "external", "accelerate", "performance", "extension", "plugin", "library", "three.ez" ], + "webgl_batch_lod_merged":[ "external", "accelerate", "performance", "extension", "plugin", "library", "three.ez" ], "webgl_clipping": [ "solid" ], "webgl_clipping_advanced": [ "solid" ], "webgl_clipping_intersection": [ "solid" ], diff --git a/examples/webgl_batch_lod_merged.html b/examples/webgl_batch_lod_merged.html new file mode 100644 index 00000000000000..a049804590b539 --- /dev/null +++ b/examples/webgl_batch_lod_merged.html @@ -0,0 +1,344 @@ + + + + + three.js raycaster - batch - lod - from - instance - meshes + + + + + + + +
+ three.js batch lod - @three.ez/batched-mesh-extensions
+ Combining Instance Meshes that share a Material into a BatchedMesh + LOD
+ Assets: + Jefferson Frenay + Kless Gyzen + Christians + Typhen + irs1182 + Environment assembly: bandinopla + .
+
+ + + + + + + + \ No newline at end of file