Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lookat(3G) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

lookat(3G)  —  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 Programming Guide, Section 4.2, Viewing Transformations
 

Version 3.6  —  December 20, 1987

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