If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
![]() |
|
|
#1 |
|
Senior Member
Join Date: Mar 2002
Posts: 1,448
|
All this talk about the loss of the 32 bit Z-buffer and the W-buffer got me thinking. (And please don't laugh at me since I'm not a techie guy so this might be very silly hehe.)
The Radeon 9700 samples the Z-buffer when using FSAA. Maybe there's some problem with sampling/compressing the W-buffer when using FSAA? The same might apply to a 32-bit Z-buffer, or maybe the reason is performance? As for a "pure" 32-bit Z-buffer: I saw that someone stated that no consumer card has support for it but that's crap. The Radeon 7x00 and 8x00 has support for a 32 bit Z-buffer as well as a "24+8" bit Z-buffer. Also what bitdepth does a W-buffer have? I think I recall some Nv-Tweaker having options for 16, 24 AND 32? (I have no idea if a stencil buffer is viable when using a W-buffer though.) Share your thoughts. (BTW if it's a simple matter of FSAA not working properly/at all when using a W-buffer it sure seems strange since ATi apparently thinks that it's worthless to use FSAA in 16 bpp modes, so why care about the few games that use a W-buffer?? |
|
|
|
|
|
#2 |
|
Join Date: May 2002
Location: New York, NY
Posts: 12,678
|
Support for a 32-bit z-buffer is pointless unless at least 8 bits of alpha are also available.
|
|
|
|
|
|
#3 | |
|
Senior Member
Join Date: Jan 2002
Location: Abbots Langley
Posts: 732
|
Quote:
K- |
|
|
|
|
|
|
#4 |
|
Join Date: May 2002
Location: New York, NY
Posts: 12,678
|
Yes, I meant stencil, sorry.
|
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Mar 2002
Posts: 1,448
|
Hehe pointless post.
The thread didn't have (shouldn't have) anything to do with the "point" of a 32-bit Z-buffer. |
|
|
|
|
|
#6 |
|
Join Date: May 2002
Location: New York, NY
Posts: 12,678
|
I don't think you're understanding me correctly. Regardless of hardware support for a 32-bit z-buffer, that support is essentially useless unless a stencil buffer is also available.
As a side note, with the NV30's packed floating point pixel format, it should be possible to allocate 128 bits per pixel however the programmer chooses. There's already been note of the possibility of doing a w-buffer in the shaders, but the only obstacle to a 32-bit z-buffer is the absolute accuracy of the z calculations, though there would likely be a substantial performance hit, as you would, presumably, need to read in the 128-bit final scene for the final output. Here's an example of a way that a programmer might be able to use the 128-bit pbuffer: 64-bit floating point RGBA, 32-bit z-buffer, 8-bit stencil, and 24-bits either unused, or put to some other purpose. If I scanned the CineFX specs properly, then this should definitely be possible. |
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Aug 2002
Location: Miami, Fl
Posts: 1,036
|
This 128-bit flexible allocation is only possible on nv-30?
|
|
|
|
|
|
#8 |
|
Join Date: May 2002
Location: New York, NY
Posts: 12,678
|
I believe so, but I'm not certain.
|
|
|
|
|
|
#9 |
|
Gamerscore Wh...
Join Date: Jan 2002
Posts: 12,949
|
FYI - floating point Z-Buffers could be supported by R300. If they do turn up then it will be in the FireGL boards.
|
|
|
|
|
|
#10 |
|
Senior Member
Join Date: Feb 2002
Location: Linköping, Sweden
Posts: 846
|
Doing Z yourself in PS would kill all early z-stuff. So you realy want to avoid it as much as possible.
R300 doesn't pack different types into one 128 bit buffer, but can save pretty much the same data into separate buffers. With the addition that it can store up to 512 bit data per pixel (four buffers with 4x(24+8) bits). |
|
|
|
|
|
#11 |
|
Join Date: May 2002
Location: New York, NY
Posts: 12,678
|
Oh, that's right, Basic, I hadn't thought of that.
On the other hand, if the hardware supports 32-bit z and no stencil, perhaps a packed format could be used to put the stencil back in, while retaining the efficiency of the early-z stuff? |
|
|
|
|
|
#12 |
|
Member
Join Date: Jun 2002
Posts: 854
|
Couldn't you write early-Z algorithyms in the PS program too? Or would that just be counter-productive?
|
|
|
|
|
|
#13 |
|
Senior Member
Join Date: Mar 2002
Posts: 1,448
|
Did anyone even read the topic?
It has little or nothing to do with a 32/24+8 Z-buffer per se. The POINT of the topic was the relationship between a (pure) 32-bit Z-buffer/W-buffer and FSAA did you all manage to miss that? |
|
|
|
|
|
#14 | |
|
Member
Join Date: Sep 2002
Location: Weston, FL
Posts: 271
|
Quote:
I asked ATI to remove those settings from their control panel (heh, and they actually did) because of this kind of confusion. At one point in the driver life, you could specify if you wanted a 16 or 24 bit Z + 8 bit stencil among other settings. It was causing a lot of problems and users were pissing around with it and causing all manner of problems. As if the drivers been bad wasn't bad enough. Just do a search for Radeon in this FAQ and you'll see what I mean. |
|
|
|
|
|
|
#15 |
|
Senior Member
Join Date: Feb 2002
Location: Linköping, Sweden
Posts: 846
|
I think Chalnoth proposed that if you had hardware with a real 32 bit z-buffer with working early z, and wanted to add a 8 bit stencil buffer, then you wouldn't need to go down to 24+8 bit z+stencil. You could keep the 32 bit z-buffer as usual, still have working early z. The stencil operations could be done in the PS, and the stencil buffer is stored in a separate buffer. The hardware wouldn't know that it's a stencil buffer, you'd do everything yourself and a "stencil" test would include a 'KILL'-instruction.
There's of course no chance to have an "early stencil" check (I don't know if that's available in any hardware though), and the stencil operations will cost you PS cycles. Ante P: Who cares about the topic? :P Since when did the topic say anything about the discussion in the thread? Just kidding. Let's see if I remember this right. A Z-buffer doesn't store real Z, but a value that can be interpolated linearely in screen space. This makes the hardware simpler, and it certainly makes it easier to implement some z-buffer compression. Adding the possibility for a W-buffer means more hardware. (Was that enough on topic to avoid your wrath?) |
|
|
|
|
|
#16 | |
|
Member
Join Date: Sep 2002
Location: Weston, FL
Posts: 271
|
Quote:
|
|
|
|
|
|
|
#17 | |
|
Naughty Boy!
Join Date: Jan 2002
Posts: 3,266
|
Quote:
__________________
Reverend Dev Anon : Best game ever? Hmm... you mean other than anything from us? (2005) |
|
|
|
|
|
|
#18 | ||
|
Member
Join Date: Sep 2002
Location: Weston, FL
Posts: 271
|
Quote:
I suspect that not supporting floating point Z is another one of those cases where they don't want to jeapardize the speed of the card/driver - similar to that lame excuse about removing W buffer support. I dunno, but I still see NO reason why they removed W buffer support. I simply don't get it. They're more concerned about speed than the quality of the drivers and games that run the drivers. This much started being obvious back when they blatantly hacked their drivers in order to improve benchmark scores on QuakeIII. Pitiful. |
||
|
|
|
|
|
#19 | |
|
Join Date: May 2002
Location: New York, NY
Posts: 12,678
|
Quote:
|
|
|
|
|
|
|
#20 | |
|
Gamerscore Wh...
Join Date: Jan 2002
Posts: 12,949
|
Quote:
|
|
|
|
|
|
|
#21 | |
|
Member
Join Date: Sep 2002
Location: Weston, FL
Posts: 271
|
Quote:
Now you see why I was astonished that they removed W buffer support from the 9xxx series and did'nt take the Z buffer precision precison any further than it already is. |
|
|
|
|
|
|
#22 | |
|
Crazy coder
|
Quote:
|
|
|
|
|
|
|
#23 | ||
|
Senior Member
Join Date: Mar 2002
Posts: 1,448
|
Quote:
How would that effect FSAA? Maybe it didn't work properly or performance was too bad. BTW getting lots of "buffer fighting" in Mafia which uses the W-buffer. (shadows and decals sorta remind me of FableMark on the 8500) Not that it's relevant Haven't bothered trying to run it with a Z-buffer yet.. Really impressed by this engine btw apart from shadows and decals flickering it looks great and runs great too looks like crap with aniso though |
||
|
|
|
|
|
#24 |
|
Member
Join Date: Sep 2002
Location: Weston, FL
Posts: 271
|
Yeah, Mafia is a pretty cool game with a kick-ass graphics engine. The crappy 9xxx series are 100% responsible for all the artifacts you see in the game. I've run it on my 9700 Pro and GF4 Ti4600 and the decals are just fine on the nVidia board.
There is definitely some Z fighting going on with the decals. And again, it all boils down to things I have had to deal with : zbias, z precision, *busted* MT. |
|
|
|
|
|
#25 |
|
Member
|
I'd say blame MS, to a large extent on W-buffer removal. They suggested it.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ATI’s chipsets enable entry gaming PCs and notebooks | Dave Baumann | Press Releases | 0 | 23-Jun-2003 01:27 |
| Radeon 9700 doesn't support Shadow Buffer algorithm? | embargiel | 3D Technology & Algorithms | 2 | 21-Feb-2003 10:23 |
| Hercules introduces 3D Prophet 9700 Pro | Dave Baumann | Press Releases | 0 | 29-Aug-2002 08:45 |
| Does Radeon 9700 Support 128Bit FP Frame Buffers? | Dave Baumann | 3D Architectures & Chips | 38 | 27-Jul-2002 01:08 |
| PreOrder Radeon 9700 sys w/P4 2.53/win XP pro | 3D Architectures & Chips | 0 | 20-Jul-2002 20:38 | |