This example applies edge detection on a volume render.
A set of checkboxes allows to apply an image-space edge detection on image's luminace, depth or gradient. When using gradient, the surfaceScalarExponent field can be used to reduce effect of noisy gradients.
FILES:
-
VolumeViz/examples/edge2D/edge2D.cxx
-
VolumeViz/examples/edge2D/utils.cxx
-
VolumeViz/examples/edge2D/utils.h
-
VolumeViz/examples/edge2D/interface.iv
-
VolumeViz/examples/edge2D/scene.iv
SEE ALSO
SoVolumeRenderingQuality
SCREENSHOT: