[osg-users] makeLookAt and Oculus rift quaternion question

João joao.henrique.pinto at hotmail.com
Fri Apr 17 07:00:05 PDT 2015


I have 3D scene set up in osg, and I'm trying to use oculus rift to view the scene. What I'm trying to do is "calibrating" an initial position using makeLookAt and grabbing the rotation in order to focus the camera on a specific spot of the scene; 
The problem arises when I then attempt to stack the oculus rotation quaternion on top of the makeLookAt rotation, the math eludes me and I cannot seem to get it working correctly. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150417/57d502fe/attachment-0002.htm>


More information about the osg-users mailing list