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





--- Comment #3 from raoxianhong <raoxianh...@163.net>  2009-03-12 23:16:32 PST 
---
(In reply to comment #2)
> (In reply to comment #0)
> > When I use texgen with glVertex4f(x, y, z, w) on r200(ATI Radeon Mobility 
> > 9000
> > card), the s coord texgen use (px, py, pz, pw), but I found s coord always 
> > be
> > px * x + py * y + pz * z + pw, not expected px * x + py * y + pz * z + pw * 
> > w
> > as if w is always 1.0f.
> Note that the r200 has some hw limitations wrt to texgen, so some cases
> (particularly if you enable texgen only on some coords) might not work
> correctly. That said, what you're doing should work - I assume it does if you
> use sw tnl (tcl_mode=0 or use driconf)? You've got a very old mesa version
> however, does this also happen with something newer?

Thank for replay,
I use the texgen function use with GL_OBJECT_LINEAR option and expexted tex
coord as px * x + py * y + pz * z + pw * w, it looks like r200 set object coord
to normalized (x/w, y/w, z/w, 1.0), so the result is px * x / w + py * y / w +
pz * z / w + pw, is it a hw limitation or parameter setting bug?


-- 
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