A new version of Cineversity has been launched. This legacy site and its tutorials will remain accessible for a limited transition period

Visit the New Cineversity
   
 
connecting light intensity to clone’s brightness
Posted: 27 April 2015 08:11 AM   [ Ignore ]  
Total Posts:  3
Joined  2013-12-09

hi,

i have clones. i have a shader effector that animates the brightness of the clones. now i want to have a light attached to each clone and the light intensity should match the brightness of the clone.

i think this would work with xpresso but i have no clue how to read out the color values of the clones.

any help would be wonderful!

thx
best
helloflow

Profile
 
 
Posted: 27 April 2015 11:13 AM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi firewireflow/helloflow,

Lights can take the color from the “Cloner-Effector” combination directly. Perhaps you have tried it and found something not to your liking? If so, please provide a simplified scene file of your target set up.

I have attached an example, below. I have introduced a black layer in the Shader Effector>Shader, with that you can dial in the brighness of the clones, to check how it is working.

For such effects a typical oversight is the color inside of the Cloner>Transform. To have no influence it needs to be set to black!

Talk to you soon

File Attachments
CV2_r16_drs_15_MGlc_01.c4d.zip  (File Size: 61KB - Downloads: 199)
 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 27 April 2015 11:56 AM   [ Ignore ]   [ # 2 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

The XPresso connection needs a group of lights. To influence individual clones with color values is not a default option in the MoGraph-Data-Node.
In this way a group and iteration is needed.

(Is it completely un-thinkable? No, it isn’t, but it is an effort, that I can’t see to do, as long as I don’t know why the direct MoGraph solution (above) will not working for you. My idea (not tested so far, is to use a gradient as in the scene above and connect this gradient via XPresso. Sounds like work, but that is not so much my hesitation, it is the inflexibility of such an set up that holds me back.)

Please advice what is needed and I will have a look into it.

My best wishes

File Attachments
CV2_r16_drs_15_MGlx_01.c4d.zip  (File Size: 66KB - Downloads: 198)
 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 27 April 2015 07:16 PM   [ Ignore ]   [ # 3 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

I went ahead and explored options to get the color transferred from one clone to the next.

• First, I need to read out the color from each, via MoGraph Data Node.

• Then I store the RGB data in a plane-object point value RGB=XYZ and with the point number, I have a great “memory”.

• After that I need to provide the “data” in something that MoGraph can use easily. A Gradient comes to mind.

• This Gradient is then used in a Shader Effector. With that the information is transferred via XPresso.

As I wrote above, it will be an effort, but possible. Hence why I posted the pure MoGraph solution first.

File Attachments
CV2_r16_drs_15_MGlx_02.c4d.zip  (File Size: 80KB - Downloads: 204)
 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 28 April 2015 10:42 AM   [ Ignore ]   [ # 4 ]  
Total Posts:  3
Joined  2013-12-09

thanks dr. sass! this is amazing! exactly what i was going for!!!

Profile
 
 
Posted: 28 April 2015 11:10 AM   [ Ignore ]   [ # 5 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi fireflow, you are very welcome!
Let me know if there is any other question.
Have a great day

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile