Hi,

... 
I'm just trying to adapt a typical 2d version of a Fitts Law (reciprocal 
tapping task) experiment for a 3d presentation using a VR headset (oculus rift 
dk2). 

I would like to compare performance in the same kind of task using both a 
flatscreen and the VR headset, so would like to be able to click on spheres 
(ray-cast through them?) in the VR condition with a mouse pointer, to replicate 
the same task on the flat-screen. Is this possible? If so, does anyone have any 
ideas how? 

Essentially, I just want to be able show a movable mouse pointer, get the 'xy' 
coordinates of where the tip of it is when the participant clicks, and have the 
depth of the plane the mouse pointer travels over equal to nearest edge of the 
spheres (or could just use flat discs as targets if this makes it easier).

Have attached a snippet of my code so far if this helps. 

Cheers,
matt

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




Attachments: 
http://forum.openscenegraph.org//files/fittstaskvr_snippet_946.txt


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to