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/examples/simpleHorizonInMemory/simpleHorizon.cxx
-
VolumeViz/examples/simpleHorizonInMemory/utils.cxx
-
VolumeViz/examples/simpleHorizonInMemory/utils.h
SEE ALSO
SoHeightFieldRender, SoHeightFieldGeometry, SoHeightFieldProperty
SCREENSHOT: