Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
Managing Line Pattern using SoDrawStyle

VSG extension Demonstrates how to use the SoDrawStyle node to setup pattern on lines.

DESCRIPTION:

    This example setup a simple scene graph using a SoLineSet and a SoDrawStyle. Line pattern and pattern scale factor can dynamically be updated through the user interface. The scale factor parameter makes the line pattern to be stretched.

FILES:

    • Inventor/LinePatternScaleFactor/LinePatternScaleFactorDemo.cxx

SEE ALSO

SoDrawStyle SoLineSet

SCREENSHOT: