View Single Post
  #2  
Old 01-23-2006, 09:22 PM
tobin tobin is offline
WorldViz Team Member
 
Join Date: Feb 2003
Posts: 251
The commands you'll need to use are:

viz.viewdist()
viz.ipd()
viz.fov()

Unless each is set correctly for your view location, the resulting imagery will not be projectively equivalent to a real object.

Also, if invoking fullscreen mode be sure to use the viz.FULLSCREEN flag rather than the viz.HMD flag as the former correctly calculates the slightly asymmetric view frustums appropriate for stereo viewing of a monitor (e.g., shutther glasses). viz.FULLSCREEN also assumes that you are centered about the screen's primary axis. If this is not the case (e.g., user if being head tracked and free to move head side to side) then you must manually calculate the correct view frustums for both the left and right eyes using the <window>.frustum command.
Reply With Quote