View Full Version : lighting gluttimerfunc

12-05-2002, 04:50 AM
hi all, i posted this on the beginners coding forum, but didnt get any response.
I will appreciate if someone from here can help me.
I have to position a lightsource at the center of the sphere (the sphere represents the sun), this is a positional light source,
thus from the sun there is a spot light that
falls on the ground with a certain cutoff angle, when this happens it is the day, i have to show the night by showing the gradual fading of the light and the movement of the sun from east to west (sunset) thru
rotation.I think i would have to use the gluttimerfunc for this objective,
i will appreciate if someone can help, if possible illustrate via a snippet of code
thank you