pmndrs / react-three-fiber

🇨🇭 A React renderer for Three.js
https://docs.pmnd.rs/react-three-fiber
MIT License
27.52k stars 1.58k forks source link

InstancedMesh2 (frustum culling support for instanced meshes) #3314

Open raptyk opened 3 months ago

raptyk commented 3 months ago

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

agargaro commented 3 months ago

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.

CodyJasonBennett commented 3 months ago

I would continue this in Drei rather.