Cinema 4D Cinema 4D Visualize, Broadcast, Studio MoGraph Effectors Python Effector
Function available in CINEMA 4D Broadcast, Studio
Python Effector

Basic Coord. Effector Parameter Deformer Falloff

Parameter

 Transform

Transform Mode

From left to right: Initial state w/o Effector; Relative mode; Remap mode; both with a Shader Effector containing the gradient shown and with a scale transformation applied.

In the image above the Effector scales the clones. Scaling can take place via addition to the initial size (Relative, mathematical: Cloner settings + (Cloner settings + Effector value) or starting from 0 (Remap, mathematical: Clone settings + Effector value).

Absolute is good for use in conjunction with position transformations since the clones will orient themselves to a P.X, P.Y or P.X point.

Left the initial state; right the Shader Effector with the gradient shown and a position transformation applied.

Transform Space

A coordinate system can be assigned to most clone transformations that require a direction (position, rotation, scale) using this setting. Imagine this coordinate setting arranged for each clone from the point at which the transformation begins. You can select from the following:

Position

Use this setting to define whether or not a given Effector should vary its position. Activating this option will make additional parameters available.

P [XYZ m]

Enter the position range within which a given Effector should vary the clones here.

The Effector will create values between 0% and 100%, whereby 100% reflects the maximum value that can be entered for position, scale and rotation.

Example:

Let’s say you are using a Shader Effector with a black-to-white gradient. Black=0% and white=100%. If you now enter 300m for P.Y, 300m will reflect the maximum amount of movement allowed along the Y axis (to the point where the shader is 100% white).

Scale

Use this setting to define whether or not a given Effector should vary its size. Activating this option will make additional parameters available.

Scale [-∞..+∞]

You can enter a scale value here if Uniform Scale has been activated

S [XYZ ]
Uniform Scale

This option will be made available if Scale has been activated. If active, clones will be scaled uniformly in all three directions. Otherwise the scaling in each direction can be defined individually.

Absolute Scale

When active, the following options will be made available:

Negative weighting or scaling can occur if, for example, cloned particles and a Random Effector are combined. The clones will then have an incorrect orientation. The Absolute Scale setting prevents this from occurring.

Rotation

Use this setting to define whether or not a given Effector should vary its rotation. Activating this option will make additional parameters available.

R [HPB °]

 Color

Color Mode

Left: Shader Effector. Right: Random Effector

The Color settings are used to primarily define if and how colors interpolated by an Effector will be combined with clone colors - those of the object from which the clones have been generated. The Shader Effector and Random Effector are, though, somewhat different. Both generate shader and random colors when in Color mode On, whereas other Effectors only output grayscales.

You have three options from which to choose:

Off

No color transformation will take place. The clones will receive the color defined by the Cloner Object.

On

When using the Shader Effector, random colors will be generated by the Random Effector for the shader defined in the Shader tab. When using other shaders grayscale values will be generated that reflect the effect of a given Effector.

User Defined

Using the color selector a color can be selected with which the clones should be colored, taking the falloff value into account. This color has nothing to do with the Effector-specific transformation - clones will be colored uniformly, regardless of which Effector is applied.

Use Alpha/Strength

Color

A color can be defined using this option.

Blending Mode

This is where you define the mix mode that will be used to mix the Effector color with the Cloner Object color. The following modes are available:

 Other

Weight Transform [-∞..+∞%]

Let’s say you are able to control as many Effectors as you like using a single Effector. If a texture (Texture Shader) should define where the effect of a Random Effector should take place, for example. This is exactly what Weight Transform does.

Weighting can be set to a value anywhere between 0% and 100%. The weighting of all clones can be made visible for each clone-generating object (Cloner object, Matrix object, etc.) by selecting Weight in the Transformation tab’s Display setting. When activated for an object that generates clones the weighting for each clone’s position will be displayed as a red-to-yellow gradient (clones may have to be made invisible).

This weighting can be used by all other Effectors if you vary the Weight setting in the respective Effector’s Falloff tab.

Example

You have created a collection of clones using a cube in Grid Array mode. A Step Effector was added to the Cloner Object with the Spline Function Graph shown at the bottom of the image applied. All of the settings in the Step Effector’s Parameter tab, except for Weight Transform, have been deactivated. Weight Transform is set to 100% and the only thing the Step Effector will do now is assign each clone a Weight of between 0% and 100%. This can be seen in the image above (red-to-yellow gradient).

If, for example, a Random Effector should be controlled using this weighting, proceed as follows:

This is what you will end up with:

As you can see the Random Effector’s position, scale and rotation transformations are defined by the Step Effector’s weighting.

Any number of additional Effectors can be used to affect this Cloner Object using weighting.

V Transform [-∞..+∞%]
U Transform [-∞..+∞%]

All Cloner Objects have internal UV coordinates (that have nothing to do with textures), that can be used to calculate an Effector’s effect. The effects of Effectors that use these UV coordinates, e.g., Formula Effector, can be influenced.

Modify Clone [-∞..+∞%]

Use this parameter if you want an Effector to affect a clone’s child objects. This can be useful if the following is true:

Example:

The Cloner Object in the image above was set to Sort and was subsequently assigned a Step Effector (see Step Effector). A Modify Clone setting of 100% will produce a result as shown above. The distribution of clones will change in accordance with any changes made to the Modify Clone setting. Values less than 0% or greater than 100% are also possible, which will vary the number of child objects used to create clones.

Modify Clone also works with other Cloner Object modes - the setting then simply modifies the number of clones to be modified:

The Step Effector curve (insert) causes the effects shown above when Random mode has been selected. The Modify Clone value increases from left to right.

Time Offset

A cylinder animated using two different deformation objects: Left, a Shader Effector; right, a Step Effector.

Let’s say you have an object, animated solely via parameter animation (light source, deformation object, etc.). It would be nice if an Effector could generate clones from that object at different intervals. This is what Time Offset does.

In the image above, Taper and Bend objects were animated from frame 0 to 20. Each Effector was assigned a Time Offset value of 20 - the Effectors distribute the clones with the temporal offset in accordance with the gray scale values (Shader Effector), i.e., from clone 0 to the last clone (Step Effector) or from wherever the corresponding Effector draws its input values.

Tip:
When animating complex hierarchies (e.g., characters), make the complete hierarchy a Child object of a Null Object and make this object in turn a Child of the Cloner Object. Depending on the complexity of the rig (e.g., number of Expressions) it may also be necessary to bake the animation.

Visibility

The purpose of this setting is to blend clones from view at a defined value. This setting cannot be used effectively with all Effectors. This setting can be used effectively, for example, in conjunction with the Random Effector to randomly make clones invisible (make sure Minimum is set to -100%). Step and Shader Effectors will make the clones invisible at a value of 0. This can be done for the Step Effector using a spline, at the location(s) where the spline lies at 0 along the X axis (this would be the black areas when using a Shader Effector).

If the Simple Effector should affect the clone visibility, note that the Maximum and Minimum values should be set to 0% and 100%, respectively. In addition to the Falloff value, the Strength (greater or less than 50%) will also have an effect.