This example displays the surface scalar and unnormalized gradient technique.
A combobox allows to choose between default lighting, surface scalar and unnormalized gradient mode. The two last modes disable lighting on almost uniform part of the dataset thus avoiding noisy lighting.
FILES:
-
VolumeViz/surfaceScalar/surfaceScalar.cxx
-
VolumeViz/surfaceScalar/utils.cxx
-
VolumeViz/surfaceScalar/utils.h
-
VolumeViz/surfaceScalar/interface.iv
-
VolumeViz/surfaceScalar/scene.iv
SEE ALSO
SoVolumeRenderingQuality
SCREENSHOT: