Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ polarview(3G) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

polarview(3G)  —  Silicon Graphics

NAME

polarview − defines the viewer’s position in polar coordinates

SPECIFICATION

C
polarview(dist, azim, inc, twist)
Coord dist;
Angle azim, inc, twist;

FORTRAN
subroutine polarv(dist, azim, inc, twist)
real dist
integer*4 azim, inc, twist

Pascal
procedure polarview(dist: Coord; azim, inc, twist:
longint);

DESCRIPTION

polarview defines the viewer’s position in polar coordinates.  dist, azim, and inc define a viewpoint.  dist is the distance from the viewpoint to the world space origin.  azim is the angle in the x-y plane, measured from the axis.  inc is the angle in y-z plane, measured from the z axis.  The line of sight extends from the viewpoint through the world space origin.  twist rotates the viewpoint around the line of sight using the right-hand rule.  All angles are specified in tenths of degrees and are integers. 

SEE ALSO

lookat Programming Guide, Section 4.2, Viewing Transformations

Version 3.6  —  December 20, 1987

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