View Single Post
  #11  
Old 12-05-2011, 10:08 AM
Gladsomebeast Gladsomebeast is offline
Member
 
Join Date: Mar 2005
Location: Isla Vizta, CA
Posts: 397
I think the code you are using is changing the PPT data before it is applied to the viewpoint. PPT always outputs in meters and is oriented in the positive z direction of the calibration square. Try running only this code only:
Code:
import viz
import vizact
viz.go()
viz.add('court.ive')

vrpn = viz.add('vrpn7.dle')
tracker = vrpn.addTracker('PPT0@hostname',0)

def updateView():
	pptPos = tracker.getPosition()
	viz.MainView.setPosition(pptPos)
	
vizact.onupdate(viz.PRIORITY_DEFAULT, updateView)
__________________
Paul Elliott
WorldViz LLC
Reply With Quote