Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ clip_depth(3G) — HP-UX 5.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

depth_indicator(3g)

clip_indicator(3g)

clip_rectangle(3g)

CLIP_DEPTH(3G)

NAME

clip_depth − defines the front and back clipping planes. 

SYNOPSIS

C SYNTAX

void clip_depth(fildes,front,back);
int fildes;
float front,back;

FORTRAN77 SYNTAX

        subroutine clip_depth(fildes,front,back)
        integer*4 fildes
        real front,back

PASCAL SYNTAX

procedure clip_depth(fildes:integer;front,back:real);

HP-UX COMPATIBILITY

Level: HP-UX/STANDARD

Origin: HP

DESCRIPTION

INPUT PARAMETERS

fildes
is an integer file descriptor returned by gopen when the I/O path to a graphic device is opened. 
front
specifies the front clipping plane in perspective coordinates; i.e., clipping is performed after the primitives are transformed by the current transformation matrix. Perspective divide occurs after the front and back clip.
back
specifies the back clipping plane in perspective coordinates; i.e., clipping is performed after the primitives are transformed by the current transformation matrix.  Perspective divide happens after the front and back clip.

DISCUSSION

Clip_depth specifies the front and back clipping planes.  Front must be less than back.  Clip_depth does not enable/disable front or back clipping.  Clipping to these planes is enabled or disabled using the front_on, back_on parameter of the depth_indicator procedure.  This procedure also determines the range of transformed z values.  This range is useful when implementing hidden surface removal procedures. 

DEFAULTS

front = 0.0, back = 1.0. 

SEE ALSO

depth_indicator(3g), clip_indicator(3g), clip_rectangle(3g). 

Hewlett-Packard  —  last mod. May 11, 2021

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