XForms: OpenGL colortable

Matthias Rarey (Matthias.Rarey@gmd.de)
Mon, 5 Jan 1998 13:08:21 +0100 (MET)

To subscribers of the xforms list from Matthias Rarey <Matthias.Rarey@gmd.de> :

Hello everybody,

I recently upgraded to V0.88 which reminds me to an old problem
concerning colortables for glcanvases on linux systems. I am
not sure whether this is a bug or I make something wrong during
the initialization of Forms and Mesa/OpenGL.

The glcanvas seems to have the wrong colortable on linux systems.
While simple graphics using only red/green/blue like the gl demos
in the forms distribution work, scenes with more colors (especially
when lighting is used) look like they are based on a wrong colortable.
I looked around in the gl.c file coming with the library and found
out that removing the fl_set_canvas_colormap statement (l.182 in
V0.88) solves the problem (whatever this means?).

On SGI computer with OpenGL the application works fine as well
as on SUN computers running Solaris (without a change in gl.c).

Has anybody seen something similar or has an idea what may cause
this behaviour? I can send a more detailed description if this
is of further interest.

Matthias (rarey@gmd.de)

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/