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
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

