Hi Michael,

I guess you mean head tracking and not eye tracking.

But that should be fairly straight forward. Create a line segment emanating 
from a point between the eyes and use that to calculate the intersections. 
There is no need to go from 2D to 3D in this case. The only thing you need to 
do is to recover the head position and orientation from the OculusDevice class. 
Either by writing your own method that publish that data directly from the 
Oculus SDK or by recovering that from the view matrices (which already have a 
public interface in the OculusDevice class).

Regards,
Björn

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to