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
   
 
Color Clones differently using a ramp
Posted: 13 July 2017 06:52 AM   [ Ignore ]  
Total Posts:  29
Joined  2013-04-10

I’ve a question about using Mograph to color clones differently using a ramp.

In my test I used the Mograph Color Shader set to Index Ration and tried to Color the clones using the Colorizer which works ok. But I found that it tends to prefer the dark shades of grey more than the light values which results in an uneven distribution in my opinion. It is more obvious in the gradient with no interpolation between the knots. I’ve made some screenshot and attached those for you take a look at.

Would you prefer a different workflow and not use the Index Ratio but rather Color to give the clones random greyscale values with an Effector? Which Effector would you use for that?

Thanks for your help

Profile
 
 
Posted: 13 July 2017 02:54 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Maui,

This has to do with the Linear Mode, … having an input profile selected as “default” as sRGB.
Go to the Project Settings and chose the input Profile> Linear.

Be careful if you use images that are not color-managed, if you change it. Some integer images are not designated to a color profile and then assumptions are taken over, with bad results. Those might be represented wrongly with that setting. Color-management is a longer theme and should be known, especially if one uses a none float output and stays in sRGB, as that is pretty much the smallest Gamut in use. Long story, as I wrote already, but a mandatory from my point of view.

Please have a look here:
https://help.maxon.net/us/#DDOC-DOCUMENT_GROUP_PROJECTSETTINGS
scroll down a little bit.

The simplest “fix” would be to right mouse click into the Spline field of the MoGraph Color Shader, and set up a gamma curve. Since there is no gamma curve preset, I would go with the Root. This comes much closer, and the Colorizer can be used as a quick fix. Or create a Custom Curve, with Log() or Pow(a;b), etc. [More about: Help Content>Formula]
Scene file:
https://www.amazon.com/clouddrive/share/Bp2JvD75fBVDK11T80oQwBBB7ZdNYXp4DGcIfiNQqFB?ref_=cd_ph_share_link_copy

All the best

 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: 13 July 2017 10:34 PM   [ Ignore ]   [ # 2 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

P.S.: … here is a Spline Interface Preset for Gamma 2.2  (or the inverse 0.4545’ to be precise)

I have manually set each point. It should work fairly well. (Normally one can use the customize option to create those curves with a formula, but even the formula pow(x;y) would works nicely nearly everywhere in C4D in float, for the spline interface it accepts obviously only integer values for the y component). Each points follows exactly the gamma formula. (Edit: a formula that works is in my next post /edit)

Open the scene file and use the Save Preset, so you can reuse it with the MoGraph Color Shader any time you like to.

Scene file [v2]
https://www.amazon.com/clouddrive/share/Plv7fIAcidzE4JsisJ7hYuiuOmgC6alZrMwhcqIjv7X?ref_=cd_ph_share_link_copy

Screen Shot
https://www.amazon.com/clouddrive/share/P0wQC18mcrIRBslmoHA1K9UeUHJfH6pOMp14rhM81po?ref_=cd_ph_share_link_copy

Perhaps an one minute clip is more informative:
https://www.amazon.com/clouddrive/share/WpUZBCF2RUaK4R3ONlOZdJyQT5ctda2kRuuWU0Lcw0i?ref_=cd_ph_share_link_copy

All the best

 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: 14 July 2017 09:51 AM   [ Ignore ]   [ # 3 ]  
Total Posts:  29
Joined  2013-04-10

Cool. Thanks a lot for your help. My first guess was that it has to do with Gamma and linear Workspace but wanted to make sure.

Profile
 
 
Posted: 14 July 2017 01:52 PM   [ Ignore ]   [ # 4 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

You’re very welcome, Maui.

If you like to customize the curve for yourself, and specify the intermediate points, please use my formula
?(x<0.0001; x; pow(x;(1/2.2)))
I found 513 points to be plenty, certainly enough, select all afterwards and set it to cubic, perhaps lock x and y while all are selected.

My best wishes for your project.

 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
 
 
   
 
 
‹‹ Q&A_miscellaneous      Take System ››