vizicities icon indicating copy to clipboard operation
vizicities copied to clipboard

Add Oculus Rift support

Open robhawkes opened this issue 11 years ago • 4 comments

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:

  • https://github.com/Instrument/oculus-bridge
  • http://blog.thematicmapping.org/2013/10/terrain-visualization-with-threejs-and.html
  • https://github.com/mrdoob/three.js/blob/master/examples/js/controls/OculusControls.js
  • https://github.com/mrdoob/three.js/blob/master/examples/js/effects/OculusRiftEffect.js
  • https://github.com/possan/oculus-rest
  • http://threejs.org/examples/#webgl_effects_oculusrift
  • http://threejs.org/examples/#misc_controls_oculusrift

robhawkes avatar Feb 28 '14 22:02 robhawkes

"Why am I here?"

architect

emjayess avatar Feb 28 '14 23:02 emjayess

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/

sayangel avatar Jul 09 '14 15:07 sayangel

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.

brianchirls avatar Dec 01 '14 19:12 brianchirls

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

AVGP avatar Feb 15 '15 16:02 AVGP