On Sat, Oct 25, 2003 at 12:08:48PM +0200, Morten Hustveit wrote:
> | In the Radeon driver, TCL is currently enabled by default.  However, it
> | seems like there is no guarantee that the same set of vertices will be
> | transformed equally twice, so you get Z buffer artifacts when doing
> | multipass rendering.
> |
> | I am told that the DRI developers believes this is not a bug...

On Monday 27 October 2003 03:21, Allen Akin wrote:
> The OpenGL spec offers only very limited guarantees about consistent
> transformation of vertices.  See Appendix A of the spec for the details.
> If the case you have in mind falls within the constraints in Appendix A,
> then you've found a bug.  Otherwise, the driver is OK and the DRI
> developers are correct.

You are right.  My case (enabling glTexGen) is not covered by appendix A.  
However, glPolygonOffset will not solve this problem generally, since the 
earlier passes of the rendering might have done alpha testing.  Rendering the 
problematic pass with a glDepthFunc other than GL_EQUAL will produce pixels 
that does not pass the alpha test.  I guess the real solution is to enable 
glTexGen for all passes of polygons that has a glTexGen pass.

-- 
Morten Hustveit, http://www.ping.uio.no/~mortehu/



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to