You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm rotation an object 90 degrees and back, and at each step I call octree.rebuild(). It's adding nodes correctly (as far as I can tell), but it rarely removes old nodes. So when it gets back to it's original orientation the octree is a mess.
This problem doesn't occur when the face count is very low. It works fine for a model with 14 faces, but the problem occurs with 519 faces.
My system is not very powerful, so it might not occur with this low face count for other people.
Starting octree:
Ending octree (after rotate 90 and back):
The text was updated successfully, but these errors were encountered:
Thanks for the bug report! I'm not actively developing THREE Octree anymore, but if you want to submit a pull request for a fix, I'll review and merge it in.
You may also want to try to remove the object and add it back in after rotation.
I'm rotation an object 90 degrees and back, and at each step I call
octree.rebuild()
. It's adding nodes correctly (as far as I can tell), but it rarely removes old nodes. So when it gets back to it's original orientation the octree is a mess.This problem doesn't occur when the face count is very low. It works fine for a model with 14 faces, but the problem occurs with 519 faces.
My system is not very powerful, so it might not occur with this low face count for other people.
Starting octree:
Ending octree (after rotate 90 and back):
The text was updated successfully, but these errors were encountered: