http://bugs.freedesktop.org/show_bug.cgi?id=20626





--- Comment #7 from Roland Scheidegger <srol...@tungstengraphics.com>  
2009-03-16 08:53:42 PST ---
(In reply to comment #6)
> The problem is solved by update mesa version. But I must DISABLE
> GL_TEXTURE_GEN_R and GL_TEXTURE_GEN_Q to do it. If GL_TEXTURE_GEN_R or
> GL_TEXTURE_GEN_Q is enabled, R200 looks line to object coord to normalized
> (x/w, y/w, z/w, 1.0), it is same when I use with ATI's driver under windows 
> XP,
> so it must be a limitation of R200. (and I get the same result on RADEON X300,
> X1300)

I'm not sure I follow you there. If you get the same results on X300 and X1300
then possibly the results might be correct. Clearly if you disable
GL_TEXTURE_GEN_R and GL_TEXTURE_GEN_Q results are expected to be different.
In the example you gave, what coords do you get?
The coords after texgen for your four vertices should be
(1.0, 0.0, 2.0, 2.0)
(1.0, 2.0, 2.0, 2.0)
(0.5, 2.0, 2.0, 2.0)
(0.25, 0.0, 1.0, 1.0)
hence after the q divide (and ignoring the unused r coord)
(0.5, 0.0)
(0.5, 1.0)
(0.25, 1.0)
(0.25, 0.0)
Is that different to what you get?
Note that if you disable some of the texgen coords, the r200 _will_ produce
bogus results in some cases, and I think it's generally a good idea to stay
away from doing this


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to