agargaro.bsky.social
@agargaro.bsky.social
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.app

Github ⭐️: github.com/agargaro/oct...

#threejs #webgl
August 1, 2025 at 7:21 AM
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/#!/thre...

Github: github.com/agargaro/bat...

#threejs #webgl #webgpu
May 13, 2025 at 3:27 PM
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/bat...

Demo: three-ez-batched-mesh-extensions-bvh.glitch.me

#threejs #webgl #webgpu
May 6, 2025 at 9:44 PM
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-me...

Code: github.com/agargaro/ins...

#threejs #webgl
March 25, 2025 at 1:50 PM