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

Look into improving performance. There may be some gains to be had. #25

Open
brianpeiris opened this issue Oct 9, 2014 · 2 comments
Open

Comments

@brianpeiris
Copy link
Owner

No description provided.

@brianpeiris
Copy link
Owner Author

Obviously performance depends on the complexity of the scene that the user decides to build. This can be mitigated by #24 but otherwise it looks like the performance bottlenecks are either inside Three.js or in the VR matrix manipulation code that we need. Hopefully the WebVR parts get optimized.

@capnmidnight
Copy link
Contributor

Some of the stuff in Three.js is really good, some of it is rather naive. The raycaster is one of those naive buggers, though it provides a lot of useful data. I do a dot product test to see if my rays are anywhere near interesting objects before using the raycaster to get the detailed information. There might be similar "early, easy tests to skip hard work" patterns you can exploit.

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

No branches or pull requests

2 participants