-
-
Notifications
You must be signed in to change notification settings - Fork 261
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
Change triangle offsets to be relative to geometry range #628
Comments
Once geometry can be "optimized" in BatchedMesh (ie the sub geometry ranges will be modified to collapse unused space) the MeshBVH triangle range references will be broken since they have moved. We need a way to "fix up" the built BVHs otherwise they will all have to be regenerated from scratch. There are a couple options for handling this:
cc @agargaro you might be interested in this since you've been working on BatchedMesh stuff. Not sure if you have any other thoughts. I've made an issue to discuss the BatchedMesh "optimize" function here: mrdoob/three.js#29463 |
It will make generating and managing subsections of the arrays more manageable. Related to #513
The text was updated successfully, but these errors were encountered: