GL_LIGHT1 - GL_LIGHT7 under linux/nvidia opengl

ive written a glut app that utilizes all 8 opengl lights for animated scenes… except the only one that seems to work in GL_LIGHT0. all others have no effect on the display of the scene(under linux, that is).

the same app compiled and run on SGI octane works fine - all lights functioning.

is there something im neglecting to do? or is the linux/nvidia/mesa implementation of opengl just lacking in this feature?

im running kernel 2.4.13 on an i686 athlon
redhat 7.1
nvidia 2313 libs, XFree864.2.0

>is there something im neglecting to do? or
>is the linux/nvidia/mesa implementation of
>opengl just lacking in this feature?

The lights work fine. Maybe you didn’t enable each light? – Don’t know why this would work with an octane, and not a linux box.

yep, it turns out i was crazy.

the lights were being initialized to exponent 0.0 and cutoff 0.0.

perhaps the SGI impl. recognizes these values and replaces them with more sensible ones? kind of a stretch…

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.