[osg-users] Headtracking (osg+vrpn)

2012-06-12 Thread David Hernández Delgado
hi all, am new to this world and i am trying to do a final project with GSO VRPN. i'm trying to create a program with heatracking, well I got that when I move the image to move, just to prove that I do correctly, by VRPN. Well when that happens, the next thing I'm trying to do is create a spher

Re: [osg-users] Headtracking

2010-07-22 Thread Michael Weiblen
Hi, osgVRPN uses VRPN as the interface to various VR devices, including trackers. You could use that software stack, or you can extract the OSG matrix manipulation code from http://osgtoy.svn.sourceforge.net/viewvc/osgtoy/osgvrpn/ cheers -- mew -- Mike Weiblen -- Black Hawk, Colorado USA -- h

Re: [osg-users] Headtracking

2010-07-22 Thread Frederic Bouvier
Hi, Maybe you already have a Matrix/Camera Manipulator that override your update callback ? -Fred - "Thomas Klemmer" a écrit : > Hi folks > > I'm sitting here trying to set up a head tracking... > I got an api that spits out a viewmatrix for the camera and now I have > to get this matrix

[osg-users] Headtracking

2010-07-22 Thread Thomas Klemmer
Hi folks I'm sitting here trying to set up a head tracking... I got an api that spits out a viewmatrix for the camera and now I have to get this matrix in the write place. I wrote an updateCallback for the Cameras (left/right) that looks like this. class updateCameraPosCallback : public osg::No