Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, 1 invisible), 18,731 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
z-buffer accuracy: 16bit or 24bit? #11894
02/20/03 10:22
02/20/03 10:22
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
does anybody know if a5 uses a 16bit or 24bit z-buffer and if i can switch between the two modes?

Re: z-buffer accuracy: 16bit or 24bit? #11895
02/21/03 01:39
02/21/03 01:39
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
my problem: i use a terrain with a lot of tree models on it. where the trunks penetrate the terrain surface i get z-buffer artifacts (wandering "stairs" and such things) when i look at it from a distance. how can i avoid this?

Re: z-buffer accuracy: 16bit or 24bit? #11896
02/21/03 02:17
02/21/03 02:17

A
Anonymous
Unregistered
Anonymous
Unregistered
A



In 32 bit mode or on a 32 bit desktop, a 3D renderer always uses a 32 bit z-buffer; on a 16 bit desktop it uses a 16 bit one.

Re: z-buffer accuracy: 16bit or 24bit? #11897
02/21/03 02:34
02/21/03 02:34
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
does the commercial edition support 32-bit in fullscreen mode?

Re: z-buffer accuracy: 16bit or 24bit? #11898
02/21/03 02:38
02/21/03 02:38
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
i just compared fullscreen and window mode (which is 32bit) and there is no difference. does the z-buffer range have something to do with the clip-range or something like that?

Re: z-buffer accuracy: 16bit or 24bit? #11899
02/21/03 02:46
02/21/03 02:46
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
 -

this is a screenshot of my problem. look at the example in the red circle. the artifacts are more visible when in motion. how could i avoid this?

Re: z-buffer accuracy: 16bit or 24bit? #11900
02/21/03 03:43
02/21/03 03:43
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
i read something about a bug in the nvidia drivers. it uses a 16bit z-buffer although it shouldn't. the programmer of the 3d-application has to force 32-bit in a special way to workaround this bug. could that be the reason? or is this a opengl issue only?

the link:
http://www6.tomshardware.com/graphic/20030127/geforce_fx-11.html

Re: z-buffer accuracy: 16bit or 24bit? #11901
02/21/03 04:01
02/21/03 04:01

A
Anonymous
Unregistered
Anonymous
Unregistered
A



This bug affects only the OpenGL driver.

For increased precision, A5 uses nonlinear z-buffering, referred to as a "w-buffer" in some publications. Nonlinear buffering means that the precision increases when you are close to the object, but decreases when you are far from it. This could happen in your case if the tree is quite far away. Maybe you are using zoom here. The solution is to go closer to the object, while zooming out.

Re: z-buffer accuracy: 16bit or 24bit? #11902
02/21/03 04:14
02/21/03 04:14
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
ok, i don't use zoom but i will try around a bit...

sometimes it's much worse than on the screenshot and even big parts up to the half of a tree disappear and flicker in big distances. it really looks ugly.

Re: z-buffer accuracy: 16bit or 24bit? #11903
02/21/03 04:48
02/21/03 04:48
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
with camera.arc=90 (i had 60 before) it seems to look better. but my scene is so "wide angle" now...

i can hardly await the introduction of 128bit z-buffers. [Smile]

Page 1 of 2 1 2

Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1