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);
DESCRIPTION
Input Parameters
fildes Integer file descriptor returned by gopen when the I/O path to the output graphics device is opened.
front_on Enables front-clipping-plane clipping if set to TRUE (1);
disables front-plane clipping if set to FALSE (0).
back_on Enables back-clipping-plane clipping if set to TRUE (1);
disables back-plane clipping if set to FALSE (0).
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. Otherwise, strange images may result from objects passing through the focal point of a perspective view.
3-dimensional processing speed is considerably better if front and back clipping are disabled.
DEFAULTS
front_on = TRUE, back_on = FALSE.
SEE ALSO
clip_depth(3G), clip_indicator(3G), clip_rectangle(3G).
Hewlett-Packard Company — HP-UX Release 9.03: April 1994