Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ screenpnt(3) — GL1 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

screenpnt(3)  —  Silicon Graphics R1c

NAME

screenpnt - return screen coordinates to caller

SYNOPSIS

C
screenpnt(n, pretrans, postrans, index)
long n;
Coord pretrans[][3];
Screencoord postrans[][3];
Boolean index[];

FORTRAN
subroutine screen(n, pretra, postra, index)
integer n
integer*2 postra(3,n)
real pretra(3,n)
logical index(n)

Pascal
procedure screenpnt(n: integer; var pretrans: Coord3array);
var postrans: Screenarray; var index: Boolarray);

DESCRIPTION

The screenpnt command transforms, clips, and scales n points in the pretrans array, returning screen coordinates in postrans.  Index is an array of boolean values that indicate which entries in postrans are valid.  The returned values are an x coordinate, a y coordinate,  and a z coordinate representing perspective depth. 

SEE ALSO

clipline, clippnt, clippoly, setdepth, transform

NOTE

This command can only be used in immediate mode. 

Version 2.3  —  July 04, 1985

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