POV-Ray : Newsgroups : povray.newusers : light : Re: light Server Time
5 Nov 2024 01:22:12 EST (-0500)
  Re: light  
From: Ib Rasmussen
Date: 8 Dec 2002 07:46:06
Message: <3DF33F2B.4040608@ibras.dk>
J Tellings wrote:

> I want to make an animation with a fading light_source (starting in complete
> darkness and finishing in full light). How can I do this?


Use the clock variable to control the colour of the light source eg 
light_source { <0, 0, 0>, colour White*clock }
This assumes that you let the clock run from 0 to 1.

/Ib


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.