Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
SoBufferedShape node

VSG extension Demonstates how to use the SoBufferedShape node in order to render large surfaces using buffer objects to store the actual data.

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.

For the huge surface rendered in the demo we use an elevation map and an aerial map from the USGS. The elevation map is used to compute the elevation of each vertex and for the color mapping.

FILES:

    • Inventor/Features/BufferObjects/SoBufferedShape/main.cxx
    • Inventor/Features/BufferObjects/SoBufferedShape/geometry.cxx
    • Inventor/Features/BufferObjects/SoBufferedShape/geometry.h
    • Inventor/Features/BufferObjects/SoBufferedShape/data/colormap.png
    • Inventor/Features/BufferObjects/SoBufferedShape/data/gui.iv
    • Inventor/Features/BufferObjects/SoBufferedShape/data/StHelen.png
    • Inventor/Features/BufferObjects/SoBufferedShape/data/StHelenAerial.jpg

SEE ALSO

SoBufferedShape SoBBox SoBufferObject

SCREENSHOT: