[osg-users] Oculus+OSG

Björn Blissing bjorn.blissing at vti.se
Mon Sep 7 04:16:27 PDT 2015


cbuchner1 wrote:
> let me use this thread to suggest a new feature. I would like the positional tracking of the osgoculusviewer to be optional, possibly by calling a member function oculusDevice->setPositionTracking(false);
> 


Hi Christian,

I have now added the feature to toggle the positional tracking (using the X-key on the keyboard). The state is handled inside the event handler which calls the following function in OculusDevice:


Code:
void OculusDevice::setPositionalTrackingState(bool state)



Best regards,
Björn

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=65045#65045








More information about the osg-users mailing list