-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Equivalent of Three.js's InstancedMesh
#342
Comments
Hi, you can use TresInstancedMesh |
Sure thing. The idea is to bring it to Tres/Cientos so it's possible to do something like: <InstancedMesh :count="1000">
<Box>
<TresMeshNormalMaterial />
</Box>
</InstancedMesh> |
@andretchen0 |
Sure thing. If you're new to Tres, this particular issue might be a bit of a challenge, but you're more than welcome to give it a shot! |
Hey @Sea-DH1 , are you interested in trying to make a component for |
Hey @andretchen0 @Sea-DH1 we got a interesting feedback from @Dekier on Discord about creating an abstraction with Frustum Culling support https://stackblitz.com/edit/instancedmesh2-forest?embed=1&file=src%2Fmain.ts Is this already on the scope of this ticket? |
Thanks! Looks interesting! That might be a nice way to approach things. |
Description
As a developer using TresJS, I would like an equivalent of Three.js's
instancedMesh
to improve performance.Suggested solution
Drei's
<Instances />
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: