Seeing as I now have an Oculus Rift, adding support for it in ViziCities is inevitable. Basic integration should include changing the render output to a stereographic view, and changing the camera orientation based on the Oculus head-tracking.
These may be useful:
"Why am I here?"
This will probably prove useful in due time... Looks like Mozilla is starting to experiment with Web based VR (and Chrome is too). http://blog.bitops.com/blog/2014/06/26/first-steps-for-vr-on-the-web/
Consistent high frame rate is necessary to avoid sickness in VR. I will be submitting a bunch of pull requests for optimizations that reference this issue.
Optimization: Re-use regexes in `getValueByKeys` because creating a n…
…ew one every time is slow (#57)
Also check out https://github.com/borismus/webvr-boilerplate for a pretty easy way to extend Three.js rendering for Cardboard and Oculus VR support