[Gtkradiant] [Bug 846] New: DEPTH TESTING ARTIFACTS *FIX INHERE*

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Sat, 26 Jul 2003 17:43:20 -0500


http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=846

           Summary: DEPTH TESTING ARTIFACTS  *FIX INHERE*
           Product: GtkRadiant
           Version: 1.3
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: editor
        AssignedTo: ttimo@idsoftware.com
        ReportedBy: BasirorAoB@hotmail.com


hi 

i had a look at the CVS of radiant where it sets the depth buffer bits 

i figured you or who ever did it set the depth buffer to 32 bit precision 


THIS IS WRONG 

you still get depth artifacts as with 16 depth buffers 

the reason why this happens has to do with the stencil buffer i think 

anyways 
the solution is to set it to 24 bit instead of 32 thus you have 8 bit left for 
the stencil buffer and you get rid of all the artifacts 

if you don t believe me just test it i did it in my engine and it worked fine 
for me 
probably this is implementation dependent but on my gf4 ti 32 bit acts like 16 
bit == BAD 

is there a way to submit code fixes somewhere or shall i email them to you?