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! |
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(): |
All times are GMT -7. The time now is 04:22 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC