Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lookat(3g) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

lookat()  —  Silicon Graphics

NAME

lookat − defines a viewing transformation

SPECIFICATION

C
lookat(vx, vy, vz, px, py, pz, twist)
Coord vx, vy, vz, px, py, pz;
Angle twist;

FORTRAN
subroutine lookat(vx, vy, vz, px, py, pz, twist)
real vx, vy, vz, px, py, pz
integer*4 twist

Pascal
procedure lookat(vx, vy, vz, px, py, pz: Coord; twist: longint);

DESCRIPTION

lookat defines the viewpoint and a reference point on the line of sight in world coordinates.  The viewpoint is at (vx, vy, vz).  The viewpoint and reference point (px, py, pz) define the line of sight.  twist measures right-hand rotation about the z-axis in the eye coordinate system. 

SEE ALSO

polarview IRIS Graphics Programming, Section 4.2, Viewing Transformations
 

Version 2.5r1  —  October 29, 1986

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