Skip to content

Blender-Brussels/blender-oculus-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blender-oculus-workshop

http://blender-brussels.github.io/articles/blender-oculus-workshop/

Notes

Blender + Oculus workshop @ iMAL
http://piratepad.be/p/blender-oculus

references:

Based on the work at http://lubosz.wordpress.com/2013/06/26/oculus-rift-support-in-blender-game-engine/

Installation on linux (opensource solution):

On xubuntu 12.04, step by step:

  • install OpenHMD from github >> https://github.com/OpenHMD/OpenHMD
  • Hidapi is not available via apt-get, compile it from source > its a subdirectory in the github tree
  • once done, go to folder "examples/" and run the "simple" program

Simple

  • run "make"
  • connect the oculus rift (VK2 tested)
  • go to "examples/simple/"
  • in terminal and launch "./simple"
  • you should see the quaternion printing

Opengl

  • opengl example requires a bit more of works...
  • $ sudo apt-get install libsdl-dev
  • go to gl.h and adapt include #include <SDL.h> to #include <SDL/SDL.h>
  • [waiting for benoit to debug the rest...]

Python Rift

https://github.com/lubosz/python-rift

  • /!\ change path for include openhmd in setup.py : usr/local/include in place of usr/include
  • You need the dependancy : Cython3 apt-get install Cython3

compile with python3 :

$ su
$ python3 setup.py build
$ su
$ python3 setup.py install
$ ldconfig
$ exit

for python > OSC

add pyOSC.py to directory
https://github.com/Blender-Brussels/blender-oculus-workshop/blob/master/pyOSC.py and launch
$ python3 riftosc.py
https://github.com/Blender-Brussels/blender-oculus-workshop/blob/master/riftosc.py

Install drivers (Linux Mint 17) :

  • autotools
  • automake
  • libhidapi-dev libhidapi-lsusb0
  • libtool
  • OpenHMD (! DO NOT DOWNLOAd ZIP - GIT CLONE ONLY ) merci :)
  • cf git (udev rules, run examples)
  • and tadaam..

Blender stuff

Blender files for running games with the Oculus stack: https://github.com/Blender-Brussels/blender-oculus-workshop interested in vision/oculomotor neuroscience, cooperation for experimental design, and/or a lab visit, please feel free write me an e-mail to: kim.wende@uclouvain.be

For mac users:

Download Oculus Runtime for Mac OSX and Oculus SDK for Mac OSX https://developer.oculus.com/downloads/
Launch the .dmg from Oculus Runtime, then launch the Oculus Runtime application, let it install. Then, open the Oculus SDK archive, before plugging in the Oculus. Try out by launching OculusWorldDemo in the Oculus SDK folder.

About

Files for the Blender + Oculus workshop @ iMAL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages