Skip to content
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

Feature request: async intersection check #405

Open
michaelthatsit opened this issue Mar 19, 2025 · 0 comments
Open

Feature request: async intersection check #405

michaelthatsit opened this issue Mar 19, 2025 · 0 comments

Comments

@michaelthatsit
Copy link

We have some heavy meshes in our app. even with optimization and bvh we still see a dip in fps from time to time whenever interacting with those assets.

What I'm suggesting is an asyncPointers flag in XRStore that runs the intersection check in an async function when enabled.

This can definitely lead to some weirdness and unexpected behavior in some cases, so I'm not suggesting it be the default, but I've done it in previous THREE.js project and it worked pretty well and reliably for what we needed, and we gained back the perf we lost whenever we did Raycaster.intersectObjects()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant