Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
Animated shape using the node SoBufferedShape

VSG extension Demonstates how to use the SoBufferedShape in order to perform fast rendering of huge shapes.

The SoBufferedShape node uses SoBufferObject which contains the actual data of the geometry. Using this buffers it calls fast OpenGL rendering functions. In order to avoid BoundingBox computation which can have a huge cost specialy with SoGpuBufferObject in animated environment the demo uses a SoBBox with a user defined bouding box. As long as we compute the vertices, computing the actual bounding box is straightforward.

FILES:

    • Inventor/Features/BufferObjects/AnimatedShape/main.cxx

SEE ALSO

SoBufferedShape SoBBox SoBufferObject

SCREENSHOT: