added second 32bit z-buffer for 3d objects only for improve quality for distant objects. 16bit z-buffer is used only now for static z-buffer bitmaps.
This commit is contained in:
parent
317b32e491
commit
c842eabf93
8 changed files with 84 additions and 20 deletions
|
@ -159,6 +159,7 @@ void DriverTinyGL::positionCamera(Vector3d pos, Vector3d interest) {
|
|||
void DriverTinyGL::clearScreen() {
|
||||
memset(_zb->pbuf, 0, 640 * 480 * 2);
|
||||
memset(_zb->zbuf, 0, 640 * 480 * 2);
|
||||
memset(_zb->zbuf2, 0, 640 * 480 * 4);
|
||||
}
|
||||
|
||||
void DriverTinyGL::flipBuffer() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue