|
#1
|
|||
|
|||
Checked with another stage, now - the eye-height problem didn't appear, so that must be something that is due to the stage.
|
#2
|
|||
|
|||
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 |
#3
|
|||
|
|||
That certainly seems to help - movement still needs a bit of scaling up, but a lot less then before.
BUT with this code the program doesn't receive the helmet's tilt controls. When I add: track = viztracker.add() then there's tilt controls, but now the room and movement directions in the simulation are again at some degree from the room originally - forward movement is slightly skewed (and so's sidestepping), and the corners of the court are around the center of the lab's walls. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Realistic Light and Shadows Using Vizard and 3DS Max | jde | Vizard | 4 | 07-13-2012 10:58 AM |
Vizard 4 Beta Testing | farshizzo | Announcements | 0 | 02-01-2011 10:46 AM |
Vizard 4 Beta Testing | farshizzo | Vizard | 0 | 02-01-2011 10:46 AM |
.3DS importing in Vizard and 3D Studio | jde | Vizard | 1 | 08-28-2009 03:14 PM |
Vizard tech tip: Using the Python Imaging Library (PIL) | Jeff | Vizard | 0 | 03-23-2009 11:13 AM |