GLCLIP
glclip on,equation=<n_array> | off
Function
The GLCLIP command is used define the display in OpenGL only the part of the model on the positive side of a given clipping plane.
Parameters
|
on |
To switch on clipping. |
|
|
|
|
equation=<n_array> |
Numeric array holds the four values that define the clipping plane. |
|
off |
To switch off clipping |
Example
SELECT F,p1
NUMERIC Narr[4]
Narr[1]=NORM(p1,p2,p3)
GLCLIP ON,EQ=Narr[1]
. . .
GLCLIP OFF
Note
Typically this is used to optimize the display of scenes where display of all detail is either pointless or may effect the display performance.
The GLCLIP command has been extended to handle up to 6 planes at the same time for OpenGL volume rendering. The numeric array passed to the command should contain a quadruple of values (the plane equation) for each plane. (12.6.0)
See also