VIEWANGLES

Defines custom views that can be accessed within the IMAGE command.

Syntax

VIEWANGLES{ parameters}

Qualifier

This command has no qualifier.

Parameters

name (string)
User-given name of the command. The instance of a given command is referenced using this parameter.
view (array)
Referenced by the view angle name, the view angle definition is provided by an array of real numbers to specify the starting camera view direction, the camera rotation angle (degrees) and the axis to rotate the camera about. ((X,Y,Z,), Angle, (Xi,Yi,Zi)).

Example

For wheel_front_left, thecamera is defined by setting the front_left starting camera view direction (-1, -1, 0), then rotating the camera about the x-axis (1.0, 0.0, 0.0) by the rotation angle (-10.0 degrees).

Similarly for wheel_front_right, the camera is defined by setting the front_right starting camera view direction (-1, -1, 0), then rotating the camera about the x-axis (1.0, 0.0, 0.0) by the rotation angle (10.0 degrees).

VIEWANGLES{
	wheel_front_left         = ((-1,-1,0), -10.0, (1.0, 0.0, 0.0 ))
	wheel_front_right        = ((-1,1,0), 10.0, (1.0, 0.0, 0.0 ))
}