Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
Hidden Line rendering Demo

VSG extension 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: