WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-29-2004, 01:49 PM
nickyee nickyee is offline
Member
 
Join Date: Jun 2004
Location: Stanford, CA
Posts: 19
Tracking Head + Hand

Any pointers on how to track two points? How does the system know which point is which? From their starting positions?

I'm looking at the Punch Demo as an example. Is there a simpler demo script for tracking two points that I can refer to?
Reply With Quote
  #2  
Old 06-29-2004, 04:03 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

I'm assuming you're using a PPT system for tracking? To track two points you simply add the ppt sensor twice. Here's some sample code:
Code:
head = viz.add('vizppt.dls')
hand = viz.add('vizppt.dls')

print 'Head position',head.get()[:3]
print 'Hand position',hand.get()[:3]
As long as you don't place the head and hand sensor too close to each other, the ppt system should be able to distinguish between them.
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


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


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