WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 06-22-2007, 10:26 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

If you want to offset the viewpoint from the tracker, then you cannot use automatic head tracking with Vizard 2.5. If you are willing to use Vizard 3.0, it comes with built-in features to do just this. With 2.5 you will have to manually compute the tracker matrix and apply the LED/Camera offset yourself. The code would be something like this:
Code:
m = computeTrackerTransform() #You must implement this
LED_CAMERA_OFFSET = [0,-0.01,0.01] #Position offset of camera relative to LED
m.preTrans(LED_CAMERA_OFFSET)

print m.getTrans() #Camera position
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


All times are GMT -7. The time now is 08:19 AM.


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