This example displays a height field thanks to the
SoHeightFieldRender node with an RGBA property.
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/simpleHorizonRGBA/simpleHorizonRGBA.cxx
-
VolumeViz/examples/simpleHorizonRGBA/utils.cxx
-
VolumeViz/examples/simpleHorizonRGBA/utils.h
SEE ALSO
SoHeightFieldRender, SoHeightFieldGeometry, SoHeightFieldProperty
SCREENSHOT: