STATE_engine_use_zbuffer

 

 




  This function doesn't  work in editor mode. When zbuffer is off
   get YES or NO. zbuffer is the name of the algorithm that is often used to solve
   the hidden surface removal problem. If NO is given the engine will use
   BSP algorithms (binary space partitions) the BSP algorithms are faster
   and more accurate most of the time. There are some cases where BSP algorithms will
   be less accurate. Try testing both methods and see which is better for your world.
   Note that using this function is equivalent to calling STATE_engine_load_world()
   with (or without) the DONT_USE_ZBUFFER flag. Using this function makes it possible to change
   methods at run-time.
  The return value is OK or VR_ERROR (error if we try to do it in editor_mode)
   The default is zbuffer ON.
   example: STATE_engine_use_zbuffer(YES);

 

 

Go to page 1      Select API

 

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