3.6. Transformations

A transformation is an operation that modifies the geometry of an object. Normally, transformations are concatenated to previous transformations, although it is possible to do it in other ways.

transform none - discards all previous transformations.

transform scale factor [factor factor] - scaling transformation.

transform translate point - translation.

transform rotate x angle - rotation about the X axis (angle in degrees).

transform rotate y angle.

transform rotate z angle.

transform rotate vector angle - rotation about an axis passing through origin.

transform general point point point [point] - any transformation matrix (3x3 or 4x4).


To Table of Contents
To 3. Syntax
Back To 3.5. Objects
Forward To 3.7. Textures