For the last couple of months I’ve been working on a virtual reality sample plug-in for Rhino which showcases how to render Rhino viewports in VR. This plug-in is intended to be a helpful example for developers of Rhino plug-ins with VR functionality.
It is now available from here: https://github.com/mcneel/RhinoVR
The first version of RhinoVR can be downloaded as an RHI from here: https://github.com/mcneel/RhinoVR/releases
- HTC Vive or Oculus Rift
- Steam with the SteamVR app installed.
- Rhino 6 (Service Release 6, currently only available as a service release candidate) or Rhino WIP.
Make sure you have at least Rhino 6 version 6.6.18156.11421 or Rhino WIP version 7.0.18156.04035. Rhino 6 SR 6 is currently available as a service release candidate. To enable the downloading of service release candidates, go to Tools -> Options… -> Updates and Statistics -> Update frequency: Service Release Candidate. Then click “Check Now…”.
Start Rhino and load the file you want to view in VR. Make sure a perspective viewport is selected and that it is set to the display mode you want to use. Type RhinoVR into the command line. This should automatically start Steam and SteamVR. If you’re using the Rift, it will also start the Oculus client. Rhino tells you when it is ready and asks you to put the VR headset on.
- It is possible to navigate around in the Rhino scene using the VR controllers (Vive and Rift). Vive uses the touchpads for navigation and the Rift uses the analog sticks. The left controller controls translation (forward, backward, left, right) and the right controller controls horizontal rotation (turning left/right) and up/down movement.
- Objects can be selected by pressing the touchpad button (Vive) or pressing the analog stick (Rift).
- The Rhino Move-command can be initiated by pressing the Application Menu button (Vive) or the B-button (Rift). Remember, the move command works in steps: Select objects. Enter. Pick reference point. Pick new point.
- A Rhino Enter key press can be mimicked using the VR controller by pressing the trigger button (Vive) or the A-button (Rift).
- A Rhino Esc key press can be mimicked by squeezing the grip buttons (Vive) or by pressing the primary trigger button (Rift).
Type RhinoVR into the command line again to close down RhinoVR.
Finally, you can download a rather amateurish screen recording of me testing it out: https://drive.google.com/file/d/1v4c1WQN9c2iQ3MXWLQ9ZZsi-RKlm--yv/view?usp=sharing