lighting an object in 3d world, Help

i am trying to get a light source to begin at the origin of the system, I have objects rotating around the light source. The problem is that I can’t get the light to reflect off the surface facing the light source, it reflects the light is if it was coming from the behind the viewer. If anyone knows what i am doing wrong please help.

Make sure you’re calculating the normals for each surface and letting OpenGL know of them before rendering the frame.

Your light position is getting transformed
by the current model view matrix. You need
to set light position after glLoadMatrix
(or whatever you use).