NEW IN R20

Material Manager Material Nodes Individual Assets Utility Debug
Function available in CINEMA 4D Prime, Visualize, Broadcast, Studio & BodyPaint 3D
Debug

Preview Basic Inputs Outputs Context

Inputs

Color

Here you can input color values into the Node. These will simply be passed through and will be output unmodified at that Passthrough output. If the Write to Console option is enabled, the color value of the Color setting can also be read out in the Console.

String

Normal text or Tokens (in curly brackets) can be entered here. Each Token represents a piece of information about the current object or rendering and can output its information to the Cinema 4D Console if the Write to Console option is enabled.

Write to Console

This option enables the output of information that is entered in the text field or of the Token therein in the Console.

 Tokens

All Tokens that the Debug Node can evaluate will be listed here. Don’t forget to put the Token between curly brackets.

 Object

The following Tokens are available in the Object category:

 Ray

These are the Tokens from the Ray category. Rays refers to the render ray that, for example, is emitted from the camera in the direction of an object surface point, is reflected into the scene from a reflection or is diverted by a refraction.

 Sample

The Sample Token category contains information about object surface Normals or UVW coordinates:

These are the surface Normals that are generated based on the position of the surface polygon. No interpolation or smoothing will take place in the Normals’s direction.

 Scene

The Scene category contains information about the location to which the current scene is saved and about the name of the active project.

 Screen

The Screen category lets you output the currently calculated pixel position and the render resolution being used, among other things.

 Time

The Time category contains information about the current time within the animation being rendered as well as the system time.

 Screen Bounds (Pixels)

The Screen Bounds (Pixels) category’s settings restrict the area of rendering within which the node will output data to the console. Otherwise the flood of data during rendering would simply be too large. It is recommended to restrict the screen bounds to the smallest possible area which contains the desired data, i.e. just a few pixels.

X [-2147483648..2147483647]
Y [-2147483648..2147483647]

Here you can define the pixel position of the top-left corner of a rectangular region for rendering for which the Debug Node ascertains data and can be output in the Console.

Width [-2147483648..2147483647]
Height [-2147483648..2147483647]

These values are measured in pixels and define the rectangle’s width and height for which the Debug Node should be activated.

Condition

This option enables the execution of the Node. If the Debug Node then in fact ascertains outputs depends on the area defined by the Screen Bounds (Pixels) setting.