Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

ortho(3)  —  Unix Programmer’s Manual

NAME

ortho - define an orthographic projection transformation

SYNOPSIS

C
ortho(left, right, bottom, top, near, far)
Coord left, right, bottom, top, near, far;

ortho2(left, right, bottom, top)
Coord left, right, bottom, top;

FORTRAN
subroutine ortho(left, right, bottom, top, near, far)
real left, right, bottom, top, near, far

subroutine ortho2(left, right, bottom, top)
real left, right, bottom, top

Pascal
procedure ortho(left, right, bottom, top, near, far: Coord);

procedure ortho2(left, right, bottom, top: Coord)

DESCRIPTION

Ortho specifies a box-shaped enclosure in the eye coordinate system that will be mapped to the viewport.  Left, right, bottom, and top are the x and y clipping planes.  near and far are distances along the line of sight from the eye space origin, and can be negative.  The z clipping planes are at -near and -far. 

Ortho2 defines a 2D clipping rectangle.  When ortho2 is used with 3D world coordinates, the z values are left unchanged. 

Both ortho and ortho2 load a matrix onto the transformation stack, overwriting whatever was there. 

SEE ALSO

perspective, window

Silicon Graphics  —  R1c

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026