Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=2766          
     
           Summary: texgen GL_SPHERE_MAP should not cause a tcl fallback
           Product: Mesa
           Version: CVS
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Drivers/DRI/r200
        AssignedTo: dri-devel@lists.sourceforge.net
        ReportedBy: [EMAIL PROTECTED]


currently, GL_SPHERE_MAP texgen causes a tcl fallback, which should not be
necessary (and this fallback causes lots of z fighting with for instance
tuxracer or nwn, though this is supposedly the apps fault).
The fallback is used since the results with hw tcl are wrong. Some analysis with
fglrx shows that this driver sets R200_LOCAL_VIEWER in the tcl lighting model
control with at least the simple samples/sphere app, and when hacking this into
the r200 driver (I have really no idea where and when...) this indeed fixes at
least isosurf (in reflect mode) and sphere as far as I can tell, and tuxracer
also seems to look correct. This also easily explains why sometimes the
GL_SPHERE_MAP indeed worked correctly (for instance in gloss, this sets the
GL_LIGHT_MODEL_LOCAL_VIEWER to true).
I do not really understand the lighting model nor its interaction with the r200
chip, so I have no idea how a proper fix would look like unfortunately. I guess
always setting this bit would cause errors in other places?          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to