STATE_camera_convert_point_to_camera_space

 

 


  Converts a point in world space to a point in camera space.
   Returns OK or VR_ERROR if failed
  Here are some examples:
   The point (0,0,0) in camera space will always translate to the location of the camera in world space
   (-1,0,0) in camera space is one unit in front of the camera this is equal to
   the camera location plus the camera direction (a unit vector) in camera space.
   (1,0,0) in camera space is one unit in the back of the camera
   (0,1,0) in camera space is always one unit to the right of the camera.
   (0,-1,0) in camera space is always one unit to the left of the camera.
   (0,0,1) in camera space is always one unit up above the camera.
  See also STATE_camera_convert_point_to_world_space()

 

 

Go to page 1      Select API

 

Copyright © 2007 3DSTATE Corporation. www.3dstate.com