|
![](/i/fill.gif) |
Rob Verweij <rg.### [at] worldonline nl> wrote:
> How can I accomplish the following?
>
> I have a 240 frames animation. In it I have several lights. I'm using
> one of those lights to simulate the bright flash of an explosion which
> starts at frame 100 and dies out a couple of frames later. I've studied
> the clock features (including the My_Clock one) but still haven't found
> a solution. Can anyone help me out?
The Automatic Clock Modifier macros allow you to keyframe values like this
very simply:
#include "autoclck.mcr"
#declare ExplosionBrightness = (From (99/240, 0) To (100/240, 1) To_Using
(110/240, 0, "Decel"));
#if (ExplosionBrightness > 0)
light_source {rgb ExplosionBrightness*<3, 2.5, 2> location ... }
#end
The macro file package can be downloaded from:
http://www.geocities.com/ccolefax/clockmod.html
Post a reply to this message
|
![](/i/fill.gif) |