From: <no...@so...> - 2001-07-17 00:58:46
|
Bugs item #441859, was opened at 2001-07-16 17:58 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=100003&aid=441859&group_id=3 Category: mesa-core Group: Rendering Error Status: Open Resolution: None Priority: 5 Submitted By: Michael Saunders (rms7326) Assigned to: Nobody/Anonymous (nobody) Summary: glColorMaterial fails with strips Initial Comment: Using glColorMaterial(GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE) in conjunction with GL_QUAD_STRIP blocks does not always color/light the surface correctly. The first few strips shade well and then suddenly the strip turns black. This occurs only when lighting is used. If we turn lighting off the strips are colored correctly. We noticed that if we deliver a color at each vertex then glColorMaterial seems to track lighting correctly. I should note that this problem occurs on Intel Linux 2.2 machine but not on our Solaris 7 machine. One difference between the two builds is that I compiled the Solaris 7 platform so that it did not use the Sparc ASM code (i.e. USE_SPARC_ASM is commented out in conf.h because it won't compile otherwise). So I suppose it is possible that the problem is in that or other platform specific code (including the graphics card I suppose). Our linux machine has a GForce 2 Ulta. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=100003&aid=441859&group_id=3 |