Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] I need help! => Topic started by: caspian on 2025-06-08, 11:20:16

Title: Animating the size of lights, but not from centre?
Post by: caspian on 2025-06-08, 11:20:16
Is there a trick to animating the size of a light? I have a rectangle strip light and I want to animate the size to illuminate part of an object. But I want the light to grow from one side and not the centre which it does by default. I thought maybe the Axis Centre node would do it but it messes with all the lights in the scene. How might I solve this? Would it just be to animate a shape that blocks the light and not the light itself?
Title: Re: Animating the size of lights, but not from centre?
Post by: TomG on 2025-06-09, 14:51:27
You could also use geometry with CoronaLight Material applied - there's no performance hit there except in the case of spheres. This would let you animated the changing rectangle with all the usual C4D controls for a geometric object.
Title: Re: Animating the size of lights, but not from centre?
Post by: Cinemike on 2025-06-09, 23:55:27
Is there a trick to animating the size of a light? I have a rectangle strip light and I want to animate the size to illuminate part of an object. But I want the light to grow from one side and not the centre which it does by default. I thought maybe the Axis Centre node would do it but it messes with all the lights in the scene. How might I solve this? Would it just be to animate a shape that blocks the light and not the light itself?

What's the axis centre node? I only know the Geometry Axis capsule and it leaves other lights alone.

Title: Re: Animating the size of lights, but not from centre?
Post by: caspian on 2025-06-10, 03:25:26
Yes, it's the Geometry Axis node. As all my lights are in a Null it affects them all. But I just realised that I can put the light I want to change the axis centre of into a child null and put the Geometry Axis node in that.
… or just make a light material for that light. That might be easier.
Thanks for your input.
Title: Re: Animating the size of lights, but not from centre?
Post by: Cinemike on 2025-06-10, 12:13:51
Yes, it's the Geometry Axis node. As all my lights are in a Null it affects them all. But I just realised that I can put the light I want to change the axis centre of into a child null and put the Geometry Axis node in that.
… or just make a light material for that light. That might be easier.
Thanks for your input.

Even having all lights in a Null does not matter when you place the capsule as a child of the one specific light.