Try it here, also with your own models:
agargaro.github.io/simplify-…
111
The demo is live! It still needs some optimization but it's a good start. Add ?debug=true for stats and controls.
Demo: instanced-mesh-showcase.verc…
Code: github.com/agargaro/instance…
1
11
750
Play it in your browser (desktop and mobile):
instanced-mesh-showcase.verc…
2
2
379
Today I started rewriting InstancedMesh2 to make it compatible with WebGPURenderer.
InstancedMesh2 has been used more widely than I expected, and I’m grateful to you all.
#threejs
3
31
1,349
My best friend @LuigiDenora’s enthusiasm after the three.js conf convinced me to get back to my open-source projects. I’ll use AI sparingly, so progress may be slow, but I’m really happy to be working on this again. Repo + findings soon.
Playing with my octahedral impostors library 🤓
There are still things to improve, should I continue?
I created a demo with a terrain 3072 x 3072 and 200k trees. It should work on mobile too!
Demo: octahedral-impostor.vercel.a…
Github ⭐️: github.com/agargaro/octahedr…
#threejs #webgl
Just added LODs to batched-mesh-extensions!
This scene goes from 14 to 1 million triangles in a single draw call — LODs are generated on the fly with meshoptimizer 😁
Demo: glitch.com/edit/#!/three-ez-…
Github: github.com/agargaro/batched-…
#threejs #webgl #webgpu
I'm working on a new library that adds extension methods for BatchedMesh.
One of them builds a BVH to accelerate frustum culling and raycasting.
More methods coming soon!
Repo: github.com/agargaro/batched-…
Demo: three-ez-batched-mesh-extens…
#threejs #webgl #webgpu
Work in progress on a new library for octahedral impostors based on Ryan Brucks' article.
Texture atlas generated at run time, 4096x4096 with 20x20 sprites.
Model by @quaternius
Demo: octahedral-impostor.vercel.a…
Github: github.com/agargaro/octahedr…
#threejs #webgl
I used my InstancedMesh2 library to create a simple smoke effect.
It was easy using the API to set opacity/add/remove instances 🚀
I hope the code is clear and easy to read❤️
Demo: agargaro.github.io/instanced…
Code: github.com/agargaro/instance…
#three #webgl
thanks @LuigiDenora
I also created a demo on glitch to play with partcles settings:
glitch.com/edit/#!/three-ez-…
2
847
InstancedMesh2 now supports skeletal animation😄
In this video there are 20k instances!
I need to improve the partial texture update now.
if you like my work, please leave a⭐
Library repo: github.com/agargaro/instance…
Demo (3k instances): instanced-mesh-skinning-demo…
#threejs #webgl
I am glad to introduce the new feature of InstancedMesh2: shadow LODs 🎉
Strange example, isn't it? 😇
I would love to get your feedback.
#threejs #webgl
repo: github.com/agargaro/instance…
example: stackblitz.com/edit/three-ez…
1 million spheres + raycasting at 165 fps 🏁
InstancedMeshLOD implements LODs, frustum culling and fast raycasting using a BVH. This is executed every frame.
demo (start can be a bit slow): instanced-mesh2-lod-demo.ver…
library repo: github.com/agargaro/instance…
#threejs #webgl
Live example without raycasting is also available on stackblitz: stackblitz.com/edit/three-ez…
1
558
LOD will soon be added to InstancedMesh2 🥰
165 fps using 100,000 instances and it's really easy to use.
I can't wait to share it with you!
Library repository: github.com/three-ez/instance…
#threejs #webgl
I will soon publish a new library to handle generic dynamic BVH (for frustum culling and raycasting), already used by my 'three.ez/instanced-mesh' library!🥳
repo: github.com/agargaro/bvh.js
instanced-mesh: github.com/three-ez/instance…
#threejs #webgl #webgl
InstancedMesh2 is finally available 🎉
This includes frustum culling, sorting, fast raycasting, visibility, and simplified instance management.
It uses a dynamic BVH.
I'll post soon an open world example using this library.
github.com/three-ez/instance…
#threejs #webgl #bvh
I am writing a library to improve InstancedMesh by handling sorting, frustum culling and fast raycasting using a BVH.
I would like to get some feedback
demo: stackblitz.com/edit/instance…
repository: github.com/three-ez/instance…
#threejs #webgl #bvh
🚀 Exciting news! Introducing three.ez – a powerhouse for simplifying your three.js development! 🎉
Extend Object3D functionalities effortlessly, streamline rendering, and enjoy cleaner code.
Give it a try 🔥
github.com/agargaro/three.ez
#threejs




