DataTypes

From Odwiki

Jump to: navigation, search


Data Types

VEX Data Types

VEX has support for the following data types

int Negative or positive integer values
float Floating point (i.e. real number) values
vector A vector of 3 float values. These can be used for colors, positions, directions, etc.
vector4 A vector of 4 float values. These can be used to represent color (with alpha), homogeneous vectors, etc.
matrix3 A matrix of 3x3 float values. These can be used to represent 2-dimensional transforms or 3-dimensional rotation matrices
matrix A matrix of 4x4 float values. These can be used to represent 3-dimensional transforms.
string Character strings.

Houdini Parameter Data Types

  • TODO

RenderMan Data Types

RSL (Renderman Shading Language) support for the following data types


float Floating point (i.e. real number) values
point A vector of 3 float values. These can be used to represent point position.
vector A vector of 3 float values. These can be used to represent directional vectors.
normal A vector of 3 float values. These can be used for vector which represent surface normals.
color A vector of 3 float values. These can be used to represent color.
matrix A matrix of 4x4 float values. These can be used to represent 3-dimensional transforms.
string Character strings.
_Arrays_ _Not strictly a data type, but RSL supports 1D arrays of all the basic data types._
© 2009 od[force].net | advertise