View Full Version : Lamps
12-12-2001, 10:44 AM
I want to make a light that will act as a lamp, and also I want to make a stationary spotlight, but it keeps moving as I move the camera. HELP! PLEASE!
12-12-2001, 04:15 PM
First, don't shout, "HELP! PLEASE!"
Second, the light's position is multiplied by the current state of the GL_MODELVIEW matrix. Therefore, to make the spotlight stationary, set the light after you set up the camera matrix.
12-12-2001, 04:28 PM
Sorry For shouting. Deadlines make me a little crazy. Thanks for the help.
12-13-2001, 12:16 AM
i know you!!! Long time no see, this is Bryan and I was searching for the same answer as you, you need to use the spotlight section in our book but mine doesnt work right. See You Later
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.