Community
Arnold for Cinema 4D Forum
Rendering with Arnold in CINEMA 4D using the C4DtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cloned lights in random colours

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
simonEPZ3S
428 Views, 6 Replies

Cloned lights in random colours

Hi All,


Is it possible to have random colours (or a specific colour range) applied to a spot light that is inside a cloner?


I can do this with objects but cant see a way to do it with lights so not sure if it is possible.

Any help or ideas appreciated as I am trying to colour about 100 lights so I want to avoid doing them individually.


Thanks

Tags (1)
Labels (1)
6 REPLIES 6
Message 2 of 7
simonEPZ3S
in reply to: simonEPZ3S

Still hoping someone can provide an answer to the above question. Thanks.
Message 3 of 7
Stephen.Blair
in reply to: simonEPZ3S

So far, the only way I found was to use an operator

1623351772057.png




// Stephen Blair
// Arnold Renderer Support
Message 4 of 7
simonEPZ3S
in reply to: simonEPZ3S

Thanks for the tip Stephen.

I have not used operators before but managed to get it working after taking a look at your setup.

What are you using the "Root" node for? I can get things working with just the first node.

Is there a way that you know of to have the randomized colors sit within a range? I would like to randomize throughout a pre chosen range of colors so I can avoid certain colors that I dont want appearing.


Thanks

Message 5 of 7
dagmanson
in reply to: Stephen.Blair

This is exactly what I'm looking for! Just curious to know if it's possible to control the light strength with fields or a shader instead perhaps?

 

Thanks alot!

Message 6 of 7
lee_griggs
in reply to: simonEPZ3S

Not sure about fields, but you can change the exposure (using operators) as shown here.

Lee Griggs
Arnold rendering specialist
AUTODESK
Message 7 of 7
dagmanson
in reply to: lee_griggs

Thank you very much @lee_griggs @!

 

Operators are new to me but are clearly extremely useful. Is there any resource available for the expressions used? If I can apply some noise or sine to my cloned lights I think it will do the trick, but I haven't been able to find an overview of what functions are available.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report