Files
BlitzNext/_release/help/commands/3d_commands/WBuffer.htm
T
2014-12-08 12:43:20 +13:00

37 lines
1.4 KiB
HTML

<html>
<head>
<title>Blitz3D Docs</title>
<link rel=stylesheet href=../css/commands.css type=text/css>
</head>
<body>
<h1>WBuffer enable</h1>
<h1>Parameters</h1>
<table>
<tr>
<td>
enable - True to enable w-buffering rendering, False to disable.
<br />
<br />
The default WBuffer mode is True for 16-bit colour mode, False for 24-bit and 32-bit.
</td>
</tr>
</table>
<h1>Description</h1>
<table>
<tr>
<td>
Enables or disables w-buffering.
<br />
<br />
W-buffering is a technique used to draw 3D object in order of their depth - i.e. the ones furthest away from the camera first, then the ones closer to the camera, and so on.
<br />
<br />
Normally, z-buffering is used to perform such a technique, but a z-buffer can be slightly inaccurate in 16-bit colour mode, for which the level of precision is less than in 24-bit or 32-bit colour modes. This means that in some situations, objects will appear to overlap each other when they shouldn't and so on.
<br />
<br />
To compensate for this, you can use w-buffering. This is a slightly more accurate technique than z-buffering, although it may be less compatible on some set-ups than z-buffering.
</td>
</tr>
</table>
<br>
<a target=_top href=../index.htm>Index</a><br>
<br>
Click <a href=http://www.blitzbasic.co.nz/b3ddocs/command.php?name=WBuffer&ref=comments target=_blank>here</a> to view the latest version of this page online</body>
</html>