DEPTH_INDICATOR(3G)
NAME
depth_indicator − enable/disable clipping to front and back clipping planes.
SYNOPSIS
C SYNTAX
void depth_indicator (fildes,front_on,back_on);
int fildes, front_on,back_on;
FORTRAN77 SYNTAX
subroutine depth_indicator(fildes,front_on,back_on)
integer*4 fildes,front_on,back_on
PASCAL SYNTAX
procedure depth_indicator(fildes,front_on,back_on:integer);
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 the output graphic device is opened.
front_on
enables clipping if set to TRUE (1) and disables clipping if set to FALSE (0) to the front clipping plane.
back_on
enables clipping if set to TRUE (1) and disables clipping if set to FALSE (0) to the back clipping plane.
DISCUSSION
Depth_indicator enables/disables front clipping plane, and/or back clipping plane. Clipping to the front plane should only be disabled when the primitives are known to be beyond the front plane or else strange images may result from objects passing through the focal point of a perspective view.
3D performance will considerably better if front and back clipping are disabled.
DEFAULTS
front_on = TRUE, back_on = FALSE.
SEE ALSO
clip_depth(3g), clip_rectangle(3g), clip_indicator(3g).
Hewlett-Packard Company — May 11, 2021