WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Tracking Head + Hand (https://forum.worldviz.com/showthread.php?t=160)

nickyee 06-29-2004 01:49 PM

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?

farshizzo 06-29-2004 04:03 PM

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.


All times are GMT -7. The time now is 06:48 PM.

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