specular lightning broken?

hi
got some probs, dont know wether they are due to lwjgl, opengl or stupidness :stuck_out_tongue: :

specular highlights don’t move on objetcs if i just move the viewer. but they should.
moving lightsources produces moving lights.
i just state the circumstances which maybe affect this:

i set the projection stack every frame with glLoadIdent, glFrustrum and gluLookAt.

i enabled local lightning as stated in docs via
GL11.glLightModeli(GL11.GL_LIGHT_MODEL_LOCAL_VIEWER, GL11.GL_TRUE);

i only draw via compiled display-lists

is there anything i forgotten?

thanks for help
Paul

Don’t know if this’ll help or just add insult to injury, but I’m on lwjgl 0.95, and I’m using specular lighting just fine.

now got it working too
the reason was that i misunderstood “projection” and placed my camera postion on GL_PROJECTION stack. this is wrong, projection should do only last phase of prejection, the world-to-view transform is therefore splited to cam.positional treansform which i now placed in GL_MODELVIEW stack, and the real clean perspective projection which resides in GL_PROJECTION, all now working fine.