#1
|
|||
|
|||
Simple Head Tracker
Hey Folks,
my plan is as follows: 2 trackers should be enough for a simple head tracking (pitch, yaw). One tracker (standpoint) is fixed over my head (or between my eyes), the other tracker (viewpoint) points at the direction I look at. I linked the standpoint tracker with viz.MainView which works fine. But now I need to use the coordinates of my viewpoint tracker to define where I look at. Sadly it didn't work with lookat( viewpoint.getData() ) or extracting viewpoints coordinates with viewpoint.getData() and using them as lookat x, y and z. Do you guys have an ideas, experiences with that? Thanks a lot! |
#2
|
|||
|
|||
Instead of using the link you could use a timer and then set the orientation of the viewpoint with your yaw and pitch values from the two trackers.
Code:
def updateView(): #Get your yaw and pitch values viz.MainView.setEuler([yaw, pitch, roll]) vizact.ontimer(0, updateView) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CAVE PPT Tracker Help with Orientation Inversion on Up and Down | shivanangel | Vizard | 3 | 03-11-2009 10:14 PM |
Problems with getting head bone rotation right | Enlil | Vizard | 2 | 02-13-2009 11:24 AM |
Awkward neck/shoulder connection when adding custom head to vcc model. | vEsotu | Vizard | 5 | 10-09-2008 06:07 PM |
Interface with Tobii Eye Tracker | Uttama_vizard | Precision Position Tracker (PPT) | 1 | 12-12-2007 12:31 PM |
How to simply texture an avatar's head with a jpeg graphic? | vr_boyko | Vizard | 3 | 10-26-2004 11:44 AM |