Gentoo Archives: gentoo-ppc-user

From: Matt Amos <matt@×××××××××××××××××.net>
To: gentoo-ppc-user@l.g.o
Subject: [gentoo-ppc-user] glPolygonMode rendering problems
Date: Fri, 26 May 2006 16:29:59

I'm having some problems with a simple OpenGL program (as described 
here: which is 
supposed to render a small red sphere inside a larger wireframe one. 
It seems that when I switch the order of the OpenGL calls to render 
them it renders the wireframe sphere as filled.

The problem also appears if I run the FOX toolkit "glviewer" test and 
set the rendering mode to wireframe.

Other OpenGL programs (e.g: glxgears) seem to be fine...

Can anyone confirm (or not) that this happens on their system as well, 
please? Possibly this is a known problem, but I couldn't find any 
references to it elsewhere on the web.

Also, if anyone can suggest a fix, I'd be very grateful.

See below for my hardware/software setup. If anyone wants screenshots 
I'd be happy to provide them.



Hardware: iBook G3 600MHz, ATI Rage 128 Mobility M3 LF (AGP) graphics. 
Its the crystal white, dual USB model.

x11-base/xorg-x11-6.8.2-r6 (using r128 driver)

compiled with: 
gcc (GCC) 3.4.3 20041125 (Gentoo 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)

excerpt from glxinfo:
OpenGL vendor string: VA Linux Systems, Inc.
OpenGL renderer string: Mesa DRI Rage 128 Mobility 20041001 AGP 1x
OpenGL version string: 1.2 Mesa 6.2.1

uname: (note that "darwin" is my hostname, I'm not running MacOS)
Linux darwin 2.6.10-gentoo-r4 #1 Fri Jan 28 20:43:46 GMT 2005 ppc 
745/755 PowerBook4,1 GNU/Linux
gentoo-ppc-user@g.o mailing list