When Rotating

Started by
2 comments, last by WardVT 18 years, 10 months ago
When rotating do i also need to rotate the light position? Especially when rotating around the x and z axis??
Advertisement
It depends if it's a light in the scene, or it's following the camera... if the light must remain still in the scene (so moves whem moving camera, from observer point of view), before setting up your camera, you should set lights positions! :P
and if i want my light static what should i do when i try to move my camera??
There is a good desciption of this problem in the opengl redbook.
see OpenGL Redbook
(There is also a free download in html or pdf of this book available)

This topic is closed to new replies.

Advertisement