WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #1  
Old 05-08-2009, 08:01 AM
PHart PHart is offline
Member
 
Join Date: May 2009
Posts: 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!
Reply With Quote
  #2  
Old 05-10-2009, 05:35 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
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)
What are you using for trackers?
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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 09:14 PM
Problems with getting head bone rotation right Enlil Vizard 2 02-13-2009 10:24 AM
Awkward neck/shoulder connection when adding custom head to vcc model. vEsotu Vizard 5 10-09-2008 05:07 PM
Interface with Tobii Eye Tracker Uttama_vizard Precision Position Tracker (PPT) 1 12-12-2007 11:31 AM
How to simply texture an avatar's head with a jpeg graphic? vr_boyko Vizard 3 10-26-2004 10:44 AM


All times are GMT -7. The time now is 10:46 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC