View Single Post
  #2  
Old 03-01-2010, 09:40 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
In the example from the docs, viewtracker represents the users physical eye location with respect to the wall corners. As mentioned in the docs, cave.setTracker does NOT update the main viewpoint, it is only used to update the projection frustum for each wall.

The user still needs to apply the tracking data to the viewpoint. This is where the CaveView object comes into play. It represents the position of the user in the virtual world. The virtual viewpoint consists of the virtual origin plus any physical movement of the head, this is why CaveView uses viewtracker to initialize.

The link between origintracker and caveorigin is created to allow the user to control the virtual position of the cave using an input device (ie. keyboard).

Hope this clears things up.
Reply With Quote