Dieter Nützel wrote:
Basically, the problem is that hierarchical z stores z values using 8 bits. Thus you can't store a full precision 24 bits depth value.Hmmm. It works, but there is a bit that we'll probably leave aside on the R200 (hierarchical Z) because neither Roland nor me have an R200.
What do you need (apart from the hardware, at the moment ;-)?
The function to compute the 8 bit value from the 24 bit one is neither linear, nor of any simple form.
Then when you use hierarchical z, you effectively keep the farthest/closest (depending on the depth function) z value for the tile in these 8 bits.
This means you have to disable it when the depth function changes. To do that you have to hook more code at different places in the driver.
Neither is done currently. So I doubt you have hierarchical z. Or maybe you did this all without telling us ?
Stephane
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel
