Color

Sample Mode

Here you select how color values are to be determined for the cloned objects. If you only want to assign a uniform material to the clones, for example, you can ignore these settings. In any case, the color values determined here can also be read out via a Color User Data node. Simply click on the Presets... button and select MoGraph > Color from the context menu or enter the abbreviation RSMGColor directly under Attribute name. The color values of the distribution can then also be evaluated for other properties of the material.


From left to right the sample modes Constant, Linear and Random

The following modes are available for color calculation:

  • Constant: All object copies receive the identical color value, which you can freely define via Color.
  • Linear: A Gradient is provided whose colors are transferred linearly from left to right to the clone sequence along the spline.
  • Random: The colors of the Gradient are taken from a random position along the gradient for each object copy. These color values can be recalculated for each object copy by changing the Seed value.

Color

When using Sample Mode Constant, configure the desired color value for all clones here.

A color gradient is offered for the Linear and Random Sample Modes, which is also offered as a control element in many other areas of Cinema 4D.