Well it is more than the location of the light that is messed up.
It's kinda hard to explain, the rotations of the object effects the lighting, and the lighting wraps around the whole sphere. I'll just share the simple program so you can see what it does for yourself, and be able to see all the code.
I just modified the 3dloader tutortal from gametutorials to mess around with this (simple is easier to play around with). As my project im working on is made up of 25 source and header files.
Sorry the code is ugly. Here is a link:
1.4 meg zip fileThe debug version is in the directory (once unziped). You can hit left twice to stop the orbiting and see how the debuged version still changes as it rotates in place.
left click for wire frame (easier to see the rotation).
[edited by - skow on November 16, 2003 6:48:40 PM]