WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 03-09-2011, 09:40 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
If your sensor contains both position and rotation data, then you need to apply a preTrans operator on the link to apply the offset between the physical sensor and actual eye position.

Example:
Code:
view_link = viz.link(sensor,viz.MainView)

# Physical sensor is 0.05 m above and 0.02 m behind actual eye position
view_link.preTrans([0.0,-0.05,0.02])
Reply With Quote
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
display the position and euler coords of the main view Josh Vizard 1 03-22-2010 10:48 AM
View nlfrnassimi Vizard 0 03-17-2009 02:01 AM
View nlfrnassimi Vizard 4 03-12-2009 05:25 AM
default start position erchrastil Vizard 2 06-23-2008 08:15 AM
problem with stereo mode shivanangel Vizard 3 10-17-2006 09:58 AM


All times are GMT -7. The time now is 06:16 AM.


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