PDA

View Full Version : Y Position different than 3.0


Kaminski
01-24-2012, 03:01 PM
Hi All,

Did anybody experience any differences in Y positioning when going from Vizard 3.0 to 4.0?

We are using an intersense I-900, and although the position outputs the same, the viewpoint seems to be a couple of meters lower in the few scripts I have tested so far. I have tried experimenting with the eyeheight but it doesn't seem to change anything. It only happens when tracking is enabled. Anybody have this issue?

farshizzo
01-24-2012, 03:09 PM
Are you linking the sensor to the viewpoint? In 3.0, the eyeheight would be added to the Y value of the link source, unless the viz.LINK_POS_RAW flag was used. In Vizard 4.0, this is not the case and the eyeheight is ignored when linking.

Kaminski
01-25-2012, 09:10 AM
I was linking and that seems to be the issue. Would the best way to modify old scripts be a postTrans on the link position, adding default eyeheight to the Y position?

farshizzo
01-25-2012, 12:26 PM
Yes, you can use either the postTrans or setOffset commands to add an offset to the Y position.