
Demonstrates how to use the
SoColorMask node in order to do "Hidden Line" rendering.
The SoColorMask node is used to render only the depth of the model faces. In a second pass, the model is rendered again in wireframe mode using the style field of SoDrawStyle and setting it to LINES.
FILES:
-
Inventor/Features/HiddenLine/HiddenLine.cxx
-
Inventor/Features/HiddenLine/HiddenLine_interface.iv
-
Inventor/Features/HiddenLine/HiddenLine_model.iv
SEE ALSO
SoColorMask, SoDrawStyle
SCREENSHOT: