Andy Isaacson wrote: > On Fri, Jul 12, 2002 at 07:54:11AM -0600, Brian Paul wrote: > >>Andy Isaacson wrote: >> >>>On Thu, Jul 11, 2002 at 06:10:01PM -0400, Mike Westall wrote: >>> >>>>The attached program illustrates a shading anomaly >>>>we have encountered while attempting to use autonormal >>>>in conjunction with nurbs. >>>> >>>>The shading of the sphere is seriously screwed up >>>>while running with indirect rendering on the standard >>>>X server packaged with RH 7.3. It can be fixed by >>>>uncommenting the /* #define CORRECT 1 */ on line 8. >>> >>>Your example did fail for me on RH7.1 as well -- the sphere was rendered >>>in 4 "quarters" of solid shading, but a recent DRI build rendered it >>>just fine. I'll take a screen shot when I'm back at work tomorrow... >> > > I've put a screenshot of the misrendered sphere at > http://web.hexapodia.org/~adi/nurbsphere.png > > I got that result on a fairly standard RedHat 7.1 system, but I can't > tell if it's using Mesa (client-side rendering) or indirect-software > rendering. > > % ldd ./a.out|head -5 > libGLU.so.1 => /usr/lib/libGLU.so.1 (0x40024000) > libGL.so.1 => /usr/lib/libGL.so.1 (0x40038000) > libm.so.6 => /lib/i686/libm.so.6 (0x4029a000) > libc.so.6 => /lib/i686/libc.so.6 (0x402be000) > libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x403ee000) > % ls -l /usr/lib/libGL*.so > lrwxrwxrwx 1 root root 19 Sep 10 2001 > /usr/lib/libGL.so -> libGL.so.1.2.030401* > lrwxrwxrwx 1 root root 20 Sep 10 2001 > /usr/lib/libGLU.so -> libGLU.so.1.1.030401*
Looks like GLU 1.1 (the old Mesa version). SGI's GLU 1.3 is what you want. It's been included with the normal Mesa distro for quite a while now. If you download Mesa 4.0.3 you can build a new libGLU.so.1.3 and replace your old one. -Brian ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Gadgets, caffeine, t-shirts, fun stuff. http://thinkgeek.com/sf _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel