|
|
"Timothy R. Cook" wrote:
> How do I make blinking lights?!
#declare Frequency = 10; // Blinks per clock unit.
#declare Ratio = 0.4; // How much of the time the lamps are on.
#declare LightOn = (mod(clock*Frequency,1)<Ratio);
light_source {<1,2,3>, color rgb 1*LightOn}
But if you're using Moray, then I have no idea.
Nice animation by the way!
Rune
--
3D images and anims, include files, tutorials and more:
Rune's World: http://rsj.mobilixnet.dk (updated Feb 16)
POV-Ray Users: http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk
Post a reply to this message
|
|