My good colleague, Harald K. Jansson, owns an Oculus Rift headset, and he couldn’t resist creating a virtual reality version of my 3D map of Jotunheimen. It’s very impressive, especially when you know that everything runs in the browser.
If you’re lucky enough to own a Oculus Rift headset you can try yourself by clicking on the image below.
The demo is built using two Oculus plugins:
We’ve also switched from TrackballControls to FirstPersonControls which allows you to fly through the landscape. Mouse navigation is disabled as it didn`t work well with the Oculus control, but you can move around with your keyboard:
The code is avaiable on GitHub. Enjoy!
If you’re lucky enough to own a Oculus Rift headset you can try yourself by clicking on the image below.
The demo is built using two Oculus plugins:
- THREE.OculusRiftEffect by troffmo5 used to render the scene in stereo 3D side by side with lens distortion.
- THREE.OculusControls by possan to allow head tracking. You need to fire up a HTTP server yourself to get head movement data from the headset.
We’ve also switched from TrackballControls to FirstPersonControls which allows you to fly through the landscape. Mouse navigation is disabled as it didn`t work well with the Oculus control, but you can move around with your keyboard:
- A / “arrow left”: Move left
- D / “arrow right”: Move right
- W / “arrow up”: Move forward
- S / “arrow down”: Move backward
- R: Move up
- F: Move down
The code is avaiable on GitHub. Enjoy!
No comments:
Post a Comment