TKE_Camera

Opcode

ASCII >
Hexadecimal 3E
Decimal 62

Operands

Byte projection, Point position, Point target, Point up_vector, Float field_width, Float field_width, [Float oblique_around_y], [Float oblique_around_x], [Float near_limit]

projection bitmask describing the projection transform
position camera eye point
target point at center of projection plane
up_vector direction representing "up" to the camera
field_width, field_height size of the minimum viewable rectangle around the target point
oblique_around_y horizontal skew angle (degrees), present if the Camera_Oblique_Y bit is set in the projection
oblique_around_x vertical skew angle (degrees), present if the Camera_Oblique_X bit is set in the projection
near_limit near clipping plane (hither) scaled between 0 at the camera position and 1 at the target, present if Near_Limit bit is set

Notes

Camera projection applied to the currently opened segment.

Projection

01 perspective (default is orthographic)
02 stretched (field is stretched to fit window, by default aspect of field is not changed and additional data outside the field may be visible)
04 Camera_Oblique_Y, view is skewed about the Y-axis (x is sheared relative to z)
08 Camera_Oblique_X, view is skewed about the X-axis (y is sheared relative to z)
10 Near_Limit, explicit near clipping limit is specified