SoVertexAttributeRotation

InventorModule
genre Shader
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoShader
definition SoShader.def

Purpose

Sends SbRotation values as vertex attribute for a shader. It sends the rotations in quaternion form (4 floats), since quaternions can be used easily inside of a GLSL shader. Note that the interface of SoMFRotation takes a list of SbRotation, which are constructed from an axis and an angle (in radians) when specified from a string. There is also a SbRotation constructor that takes 4 floats instead of axis and angle, which are the 4 values of a unit quaternion.

Output Fields

self

name: self, type: SoNode

Parameter Fields

Visible Fields

Name

name: name, type: String, default: attribute1

Per Instance

name: perInstance, type: Bool, default: FALSE

Values

name: values, type: Vector4List, default: 0 0 1 0