react-three-fiber icon indicating copy to clipboard operation
react-three-fiber copied to clipboard

InstancedMesh2 (frustum culling support for instanced meshes)

Open raptyk opened this issue 1 year ago • 2 comments

Is the integration with the promising InstancedMesh2 library, which allows for well-supported frustum culling among other features, perhaps on the list of tasks? Will there be maybe a dedicated component ? Additionally, could someone provide an example of how to properly use InstancedMesh2 with React Three Fiber (R3F)?

More info: https://www.npmjs.com/package/@three.ez/instanced-mesh https://github.com/agargaro/three.ez

raptyk avatar Jul 30 '24 10:07 raptyk

Hi, I am the creator of the library. I moved the library under another repository: https://github.com/three-ez/instanced-mesh

I would like to add an example that uses R3F in the readme if anyone would like to help me.

agargaro avatar Aug 09 '24 13:08 agargaro

I would continue this in Drei rather.

CodyJasonBennett avatar Aug 10 '24 10:08 CodyJasonBennett

just curious, is there any discussion around this in the drei repository somewhere? Or what is the status of this?

trebeljahr avatar Mar 02 '25 19:03 trebeljahr

for future reference in case somebody else tries to make InstancedMesh2 happen in r3f

the three-ez InstancedMesh2 page links to an example from it's examples page.

https://stackblitz.com/edit/vitejs-vite-zahmbaan?file=src%2FInstancedMesh2.tsx

trebeljahr avatar Mar 02 '25 21:03 trebeljahr