Basic Features Create Menu Field Modifier Layers Formula
Function available in CINEMA 4D Prime, Visualize, Broadcast, Studio & BodyPaint 3D
Formula

Layer Controls

Formula

Here you can enter a formula that can contain the variables described below.

These variables (that can contain a respective value for each clone, point, etc.) can be used within a given formula. Note that not every variable works with every object. If you have a Deformer in a Field list, for example, no color value or angle is available (contrary to clones, individual object points do not have an orientation or scale).

 Variables

r,g,b - Color

These are the RGB values of the Layers above in the list.

px,py,pz - Position

X, Y and Z coordinates.

rx,ry,rz - Rotation

Rotation for each dimension.

sx,sy,sz - Scale

Scale for each dimension.

u,v,w - UVW

Use this variable if UV coordinates should be taken into consideration by the formula (see About UVW Mapping in MoGraph for more information about UV distribution in MoGraph objects).

id - Component Index

The unique index number for each object (polygon objects, for example, have the point index shown in the Structure Manager; clones have the index that can be displayed using the Display mode).

count - Component Count

Compnent count.

subfields - The existing falloff weight value to modify

The falloff values made available by the Layers above in the list..

t,d - Time, Delta Time [-∞..+∞%]

The animation time, i.e., if this variable is included in a formula, it will automatically be animated. A slider is available for this setting as a multiplier.

f - Frequency [-∞..+∞]

The frequency. A slider is available for this setting as a multiplier.

A list of possible formulas can be found here.