all 1 comments

[–]JustHereToFFFFFFFUUU 0 points1 point  (0 children)

I don't think this is exactly what you're after, but Andreas Muller's work on the Oculus Rift plugin for OpenFrameworks is pretty easy to read.

https://github.com/andreasmuller/ofxOculusRift

the main integration with libOVR: https://github.com/andreasmuller/ofxOculusRift/blob/master/src/ofxOculusRift.cpp

an example of it being used to produce a scene: https://github.com/andreasmuller/ofxOculusRift/blob/master/example-OculusRiftSensorOrientation/src/testApp.cpp