User Tools

Site Tools


This is an old revision of the document!


XYZ Components

Brickyard : Functions > Geometric

Splits Input into its constituent parts.

Due to the type conversion that Shader Mixer performs in the background, this brick can be used to split a Color connected to the Input parameter into its R, G and B components.

A new brick named “Color Components”, similar in purpose to this one… but one that uses the RSL comp function rather than xcomp, ycomp and zcomp, should be added to the Functions > Utility > color category ~4.1.x. The X, Y and Z Component Output Parameters on this brick should be renamed to First, Second and Third Component, respectively. An additional Matrix Components brick may be necessary.

Snapshot

Parameters

Outputs

  • X Component : Float - Description…
  • Y Component : Float - Description…
  • Z Component : Float - Description…

Inputs

  • Input : Point - Description…

Examples

  • In this example, the test pattern has been manipulated to swap Red, Blue, and Green channels, feeding the results into a Color Transform brick.