Lighting

anyone know why all of my colored triangle lists turn grey scale when i enable lighting?

You need to pass colors with the material-functions. It’s also possible to use glColor* to define some material-values, but this is not enabled by default I think.

i am not using any meterials currently, do you know how to do this without haveing to use textures?

material colors are not textures. They determine what colored lights to reflect and how and how much, and are sepcified by calling glMaterialfv or similar functions.

or… you can do the following at in the init function:

glColorMaterial(GL_FRONT_AND_BACK,GL_AMBIENT_AND_DIFFUSE);
glEnable(GL_COLOR_MATERIAL);

that way, all your materials will be the same as the color specified by glColor**();

thanks so much this works wonderfull