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/edge2D/edge2D.cxx
-
VolumeViz/edge2D/utils.cxx
-
VolumeViz/edge2D/utils.h
-
VolumeViz/edge2D/interface.iv
-
VolumeViz/edge2D/scene.iv
SEE ALSO
SoVolumeRenderingQuality
SCREENSHOT: