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* % rpm -qf /usr/lib/libGL.so Mesa-devel-3.4-13 % rpm -qa|grep Mesa Mesa-3.4-13 Mesa-devel-3.4-13 % glxinfo display: :0.0 screen:0 direct rendering: No server glx vendor string: SGI server glx version string: 1.2 server glx extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context client glx vendor string: SGI client glx version string: 1.2 client glx extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_ARB_get_proc_address GLX extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context OpenGL vendor string: VA Linux Systems, Inc. OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.2 Mesa 3.4 [...] -andy ------------------------------------------------------- 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