
This example displays a height field thanks to the
SoHeightFieldRender node, data are synthetic and generated in memory.
A slider allows you to change the number of rendered triangles. This number is an approximation, the actual number of rendered triangles is shown on the top of the window.
FILES:
-
VolumeViz/simpleHorizonInMemory/simpleHorizon.cxx
-
VolumeViz/simpleHorizonInMemory/utils.cxx
-
VolumeViz/simpleHorizonInMemory/utils.h
SEE ALSO
SoHeightFieldRender, SoHeightFieldGeometry, SoHeightFieldProperty
SCREENSHOT: