i have a terrain being stored in a DL and the terrain is being colored with a 1d texture. if i have only the DL in my display routine, everything works fine. but when i add code to draw anything else, the light comes on for a few seconds and then goes off. what could be the obvious reasons?
glColorMaterial faceFront, cmmAmbientAndDiffuse
'1D texture mapping…
glcalllist 100 'draws the terrain
glcalllist 101 'draws the x,y,z axis
i am using glcolor3f to color the DL 101.