STATE_camera_set_distance_from_eye

 

 


   *** Function level of importance = High.
  
   The human eye can not see clearly objects that are too near the eye.
   Try reading a newspaper when your eye is one centimeter a way from the page ...
   The camera object (see the STATE_camera_ API ) which is the computer eye for rendering, act 
   similarly to the human eye. This function determines the closest distance in which the camera
   is able to see objects. The parts of objects that are closer than this number will not be seen.
   Calling this function with a number too small has its price.
   The bigger this number is the more accurate the rendering of the objects will be
   On the other hand a number too big will hide objects that are near
   the camera. Typical values are 1, 4, 10, 20 100.
   Try to make this number as big as you can. Stop increasing this number
   when near objects are not drawn.
  
   Important :
  		In some cases increasing the number can improve the rendering speed dramatically.
  
   return OK or VR_ERROR

 

 

Go to page 1      Select API

 

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