Hi João, I don't exactly get what you are trying to do. Are you aware that there already is a library for using the Oculus Rift with OSG?
http://github.com/bjornblissing/osgoculusviewer If you just want to see how the Oculus Rift orientation quaternions are convertet into osg quaternions look at this line of code: http://github.com/bjornblissing/osgoculusviewer/blob/7e95f33e8f2dcee7552e27b17d20b9584e18673d/src/oculusdevice.cpp#L285 Hope that helps a bit! Regards Björn ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=63468#63468 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org