Transform


Purpose:

This node is one of the five matrix or transform property Nodes. Transform describes three geometric three-dimensional transformations.

Syntax

FILE FORMAT/DEFAULTS

Transform {
	translation		0 0 0	# SFVec3f
	rotation		0 0 1 0	# SFRotation
	scaleFactor		1 1 1	# SFVec3f
	scaleOrientation	0 0 1 0	# SFRotation
	center			0 0 0	# SFVec3f
}
Explanation

The three possible transformations that this node can instigate include a non-uniform scale about an arbitrary point, a rotation about an arbitrary point and axis, and a translation. These three possibilities are in the order in which they might be called. Also keep in mind that the non-uniform scale about an arbitrary point is a possibility. The scale doesn't necessarily have to be non-uniform.

Example Use

The following code fragment is from Corner.wrl.

Transform {
	translation	5 5 0
	rotation	1 1 0 3.14
	scaleFactor	10 1 10
}
See Also

SFRotation, SFVec3f


i