Workspace 6.21.5
|
Creates a NodeColoringShader; a shader that colors the surface of a MeshModel by applying a specific color to each vertex, based on the results of a NodeMapper and ColorScale.
Inputs: | |||
---|---|---|---|
Surface representation | CSIRO::Rendering::SurfaceRepresentation | ||
Color scale | CSIRO::DataAnalysis::ColorScale | ||
Node mapper | CSIRO::Mesh::NodeMapper | Determines a scalar value for every node in the MeshModel to which the shader is being applied. This scalar value is converted into a color using the Color scale input. | |
Enable lighting | bool | If enabled, the shader will shade the surface using the lambertian lighting model. | |
Segment width | double | Sets the width of line to use when rendering segment elements. | |
Optimize out internal volume elements | bool | Optimize out internal volume elements when rendering. For some situations this will not be useful - e.g. when wanting to visualize the internal node states when the model is clipped. | |
Outputs: | |||
Shader | CSIRO::Rendering::NodeColoringShader |