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 material or rendering and can output its information in 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:

Dies ist die Oberflächennormale, wie sie sich aus der Lage des Oberflächenpolygons ergibt. Es findet keine Interpolation oder Glättung der Normalenrichtung statt.

 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 location in the animation being rendered.

 Screen Bounds (Pixels)

The Screen Bounds (Pixels) category’s settings restrict the area of rendering for which the Debug Node supplies data. Otherwise the flood of data during rendering would simply be too large.

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.