PDA

View Full Version : light at camera position



iris_raj
02-06-2007, 10:37 PM
Dear OpenglProgrammers,

I want to place my light at the cameraposition so that camera and light can move together.My camera is placed at (0,0,14) and when I position the light at this coordinates, I am unable to see the light falling on the World coordinate. Objects are located at 0,0,5. Is it beacause light intensity reduces as distance goes up.

Is there any other way to overcome this problem

Thanks in advance

RAJESH.R

plasmonster
02-06-2007, 10:59 PM
You might want to have a looksy at this:
http://www.rush3d.com/reference/opengl-redbook-1.1/chapter06.html