PositionToColor
This node takes positional data (double3) and converts to a color, and outputs as color3f[] (which seems to be the default color connection in USD)
Installation
To use this Node, you must enable omni.graph.examples.python
in the Extension Manager.
Inputs
Name |
Type |
Description |
Default |
---|---|---|---|
position |
|
Position to be converted to a color |
[0.0, 0.0, 0.0] |
scale |
|
Constant by which to multiply the position to get the color |
1.0 |
color_offset |
|
Offset added to the scaled color to get the final result |
[0.0, 0.0, 0.0] |
Outputs
Name |
Type |
Description |
Default |
---|---|---|---|
color |
|
Color value extracted from the position |