Deprecated: Function split() is deprecated in /home/wiki/public_html/inc/common.php on line 533

Warning: Cannot modify header information - headers already sent by (output started at /home/wiki/public_html/inc/common.php:533) in /home/wiki/public_html/inc/actions.php on line 71
tvscene:setdepthbuffer [TV3DWiki]
 

Wiki > TV3D65 Index > TVScene

SetDepthBuffer

DESCRIPTION

Changes the way the depth buffer works, you can choose between Z buffer and W buffer. Z buffer is the default one and works on all cards, W buffer is more accurate and is less available on 3d cards.

DECLARATION

VB.NET SetDepthBuffer(eDepthBuffer As CONST_TV_DEPTHBUFFER)
C++ void SetDepthBuffer(cCONST_TV_DEPTHBUFFER eDepthBuffer)

PARAMETERS

NAMEOPTIONALDESCRIPTION
eDepthBuffer No Const TV_WBUFFER As MTV3D65.CONST_TV_DEPTHBUFFER = 2
eDepthBuffer No Const TV_ZBUFFER As MTV3D65.CONST_TV_DEPTHBUFFER = 1

RETURN VALUE

Null Does not return a value.

EXAMPLES

ExampleBasic example.

TIPS

  • Please add any notes or tips for this method.

You can use W Buffer to resolve artifacts problem that occurs with big water planes for example.

 
tvscene/setdepthbuffer.txt · Last modified: 2010/02/20 20:03 by 71.216.138.230