SoShaderParameterPlane

InventorModule
genre Shader
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoShader
definition SoShader.def
keywords vertex, fragment, geometry

Purpose

Provides a mean to set a plane uniform parameter. This can be used to e.g. calculate the distance from a point to a plane in a shader.

Output Fields

self

name: self, type: SoNode

Parameter Fields

Visible Fields

Name

name: name, type: String

Name of the parameter.

Value

name: value, type: Plane, default: 0 0 1 0

The parameter value.

Transform To Eye Coordinates

name: transformToEyeCoordinates, type: Bool, default: FALSE

If enabled, the plane is transformed to eye coordinates, using the current model-view matrix of the Inventor state. This can be useful when using the plane in a shader and can avoid the matrix multiplications that would otherwise have to be done in the shader.