![]() |
![]() |
![]() |
![]() |
volume_render
Synopsis
Input Port
Parameters
Output Port
Description
volume_render directly renders a uniform, 3D, 3-space, scalar, byte volume using either the BTF or Ray-tracer volume rendering modes. The Ray-tracer volume mode, which is configured as the default, is available only in the software renderer. The BTF volume mode is available only in the software renderer. In both cases, when the volume modes are available, mixed rendering of volumes and geometries is supported.
This module is provided as a convenient way to access user interface controls via the Module Panel user interface container for the Graphics Display kit surface and volume modes and the datamap's alpha component. These controls provide quick access to the most commonly used attributes that control the volume_render module.
The volume_render module is also configured with an alternate object whose visibility is disabled. When any object in the view's hierarchy is directly manipulated, the volume will not be rendered.
Input
The input field. The input field should be 3D, 3-space, uniform, with byte or short node data in order for it to be volume rendered.
Parameters
UIoptionMenu. This parameter controls the lighting and interpolation performed by the volume rendering technique that has been chosen.
Inherit means that the surface rendering mode is inherited from a parent Graphics Display Kit object. None means that no volume rendering is done.
When the volume mode selected is Ray-tracer, No lighting means that no lighting and no interpolation are done. Flat means that lighting is done but no interpolation is done. Gouraud means that lighting and interpolation are done. These options produce progressively higher quality renderings. The higher quality modes also take longer to render.
When the volume mode selected is BTF, lighting is never applied. No lighting and flat cause point sampling to be done. Gouraud causes bi-linear interpolation to be done.
Inherit means that the volume rendering mode is inherited from a parent Graphics Display Kit object. None means that no volume rendering is done. BTF means that a back-to-front volume rendering technique is used. This technique is available only in the OpenGL renderer. Ray-tracer means that a ray-tracing volume rendering technique is used. This technique is available only in the software renderer.
UIoptionMenu. The parameter controls the volume rendering interpolation method; that is, how voxel values are mapped to rays or pixels.
Values are linearly interpolated fro the two nearest voxels in each of the 3 principal directions.
UIoptionMenu. The parameter controls how data or spatial values are mapped to the ray and how the ray values are mapped to the final color for the pixel.
The parameter controls how the ray ranges are normalized when the ray algorithm is Distance to Max:
This parameter enables a super-sampling method that traces a single ray through a 4x4 block of pixels. The resulting image is faster to render, but of lower resolution.
This parameter controls the emmittance of fluorescence radiation in the direction of the observer when the ray algorithm is SFP.
UIslider. These parameters control the minimum and maximum data range of the entire current datamap. In most datamaps the minimum and maximum data range is automatically set taken from the minimum and maximum of the input fields's node data. In Volume rendering datamaps however, the minimum and maximum are set according to the input data type.
UIslider. This parameter allows the midpoint of the two ranges to be altered. By default, the first range in the datamap spans from the minimum data value to the midpoint. The second range in the datamap spans from the midpoint to the maximum data value. When the Range Alpha toggle is set, this parameter allows you to move the midpoint.
UIslider. The parameter selects the range in the datamap whose alpha component is to be edited. The volume render module has a datamap with two ranges by default.
UIoptionMenu. This parameter controls the type of alpha range model for the current data range. Valid range models are linear and step. When linear is selected, the alpha component is interpolated between the minimum and maximum values specified for the current data range. When step is selected, the minimum alpha value is used for the filrst half of the data range and the macimum alpha value is used for the second half of the data range.
UIslider. These parameters allow you to control the minimum and maximum alpha values for the current data range.
Output Port
Graphics Display Kit DefaultObject. This is a renderable object that can be connected directly to one of the Graphics Display Kit's viewers.
Example
Libraries.Examples.Visualization.VolumeRendSurface
Shows the default settings of the volume_render macro. The default settings emphasize the surface finding abilities of the
AVS/Express raycasting volume renderer. The first datamap range has an alpha of 0.0 (completely transparent), while the second datamap range has
an alpha of 1.0 (completely opaque). Thus the visualization shows the surface found at the transistion ("control point") between the
two ranges. The net effect is similar to a surface-oriented visualization technique such as isosurface.
Libraries.Examples.Visualization.VolumeRendHiQual
Similar to VolumeRendSurface, but with the fat ray parameter turned off. Gives higher quaility results at the expense of more computation
Libraries.Examples.Visualization.VolumeRendTransparent
The dataset is the same as with the examples that show surface finding, but the datamap alpha values are set to produce a volume-oriented
visualization. Most of the dataset's data values are mapped to a partially transparent color value, enabling you to "see through" the
object. Note that the turning off fat ray is not as important for visual quaility when you are not trying to precisely locate a surface.
Libraries.Examples.Visualization.VolumeRendSFP
Shows the use of the Simulated Fluorescence Process algorithm. The sample uses a single-range grey-scale datamap. Note that the
alpha settings are not used by the SFP algorithm.
File
See also related modules
![]() |
![]() |
![]() |
![]() |