Blender Room Scale VR Viewport on the HTC Vive

I present the HTC Vive working in Blender. May you walk around your blends with joy in glorious room scale VR!

Youtube Demonstration Vid Here :- https://youtu.be/UK4RmnCOOv8

Disclaimer: I am no developer so please don’t expect, timely bug fixes, features, etc. I took a week off work because I needed this and it serves my purpose. Only through coaxing tweets, high demand, many hugs or plain hard cash will I be sure to return to this as I have a day job and people to feed. I hope it works for you - feel free to tweet at me @cedeon if it doesn’t work and I’ll look into it as soon as I can.

Get the packaged [untested] version at the following URL.
https://drive.google.com/folderview?id=0B-2NOYYw8dpVTHJkY0xOQXZ2SzQ&usp=drive_web#list

Installation Instructions
Blender - User Preferences - Add-ons - Install From File… - pick the zip file.
Virtual Reality Viewport - Tick Box.
Virtual Reality Viewport - Display Backend - HTC Vive.

Use Instructions.
You will need to be running SteamVR, with lighthouses running. Currently may crash otherwise.
Blender - ‘T’ key. - Virtual Reality tab - Virtual Reality to start.
Currently may crash on stop. Will fix.
Pausing works.

Source can be currently found here:-
https://github.com/cedeon/hmd_sdk_bri…
https://github.com/cedeon/virtual_rea…

Build instructions have been added to the respective repos. You may need to build it yourself if the packaged version doesn’t work out for you - clone the repo and read the readme.md.

Collaboration HIGHLY WELCOMED. This is my first C++ outside of hello world and console 50 liners. I lack such knowledge as basic memory management

Dalai’s Original Code here [May be merged in with this in the future]:-
https://github.com/dfelinto/hmd_sdk_b…
https://github.com/dfelinto/virtual_r…

Credits/Background:
This is currently based on a fork of Dalai Felinto’s great Virtual Reality Viewport & accompanying HMD Bridge Blender Add-ons. Pull request is here - https://github.com/dfelinto/hmd_sdk_b…. He did most of the work including architecting for many types of HMDs, so many thanks to him. I just implemented the OpenVR in the HMD Bridge and some minor changes to the viewport plugin [Added option for the Vive].

Future Goals
Implement motion controllers, controller model drawing, user interface stuff. Actually learn to code rather than hack.

This was packaged up by @cedeon [Twitter] on 2016-05-11

Current status: untested as a zipped deployment.

Windows x64 should work.
All other platforms will need compiling for and testing.

Hi cedeon,
I’m the first to thanks you so much for this amazing work!
Very useful stuff for architects!
Have a nice week…:cool:
Spirou4D

Thanks so much for this!
I’ve had some fun messing around with the addon.

One question for you (or perhaps the original developer): Is there a way to use the headset with the bge?

In its current state when ‘p’ is pressed in ‘Blender Game’ mode, the Vive doesn’t cooperate.
The displays either go gray or pop back to the default white grid room.
(I don’t remember clearly which and am not near the Vive today.)

Thanks again for your efforts!

Thanks so much for this!
I’ve had some fun messing around with the addon.

A question for you (or perhaps the original developer): Is there a way to use the headset with the bge?
In its current state when ‘p’ is pressed in ‘Blender Game’ mode, the Vive doesn’t cooperate.
The displays either go gray or pop back to the default white grid room.
(I don’t remember clearly which and am not near the Vive today.)

Thanks again for your efforts!