SoPathTracerVolume¶
-
InventorModule
¶ author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoPathTracer
definition SoPathTracer.def keywords volume
,rendering
,ray
,casting
,woodcock
Purpose¶
The SoPathTracerVolume
module facilitates loading and rendering a volume in a SoPathTracer
scene. The volume can render itself if Enable Volume Rendering
is enabled, or it can be rendered or utilized by other modules, such as SoPathTracerVolumeInstance
, SoPathTracerIsoSurface
, or :module:SoPathTracerSlice.
The same volume can be rendered with different LUTs, transformations, clipping, masking, tagging, and subvolume settings using multiple SoPathTracerVolumeInstance
instances.
For additional material and volume shader settings, you can add a SoPathTracerMaterial
to the inMaterial
. Through the material, it is also possible to perform boundary enhancement and silhouette rendering.
The SoPathTracer
supports an unlimited number of volumes (subject to GPU limits) and allows for arbitrary affine transformations of the volumes. All volumes and geometries cast shadows on each other and are correctly integrated.
Volume transformations can be performed either via the Open Inventor scene or through the Matrix
. You must use SoTransformSeparator
or SoResetTransform
when transforming a volume via the scene to ensure that the model transformation at the SoPathTracer
is identity.
Restriction: In the current implementation, translucent overlapping volumes are not combined physically correctly; however, the implementation functions well for surface-like volumes and LUTs without large, highly transparent regions.
Input Fields¶
Parameter Fields¶
Field Index¶
Cast Shadow : Bool |
Mask Tag1 : Integer |
Transpose matrix : Bool |
Enable Clipping : Bool |
Mask Volume Name : String |
Use world positions : Bool |
Enable Volume Rendering : Bool |
Matrix : Matrix |
Volume Name : String |
Enabled : Bool |
precomputeGradients : Bool |
World End Position : Vector3 |
Flip Clipping : Bool |
Receive Shadow : Bool |
World Start Position : Vector3 |
Gradient Factor : Float |
Self Shadowing Offset : Float |
X (subVolumeStartX) : Integer |
Gradient Volume Name : String |
Shader Type : Enum |
X (subVolumeEndX) : Integer |
Mask Alpha0 : Float |
Step Size Factor : Float |
Y (subVolumeStartY) : Integer |
Mask Alpha1 : Float |
Step Size Factor Shadow : Float |
Y (subVolumeEndY) : Integer |
Mask Color0 : Color |
Tag Volume Name : String |
Z (subVolumeStartZ) : Integer |
Mask Color1 : Color |
Time Point : Integer |
Z (subVolumeEndZ) : Integer |
Mask Tag0 : Integer |
Tracing Method : Enum |
Visible Fields¶
Gradient Volume Name¶
-
name:
gradientVolumeName
, type:
String
, default:
gradients
¶ Sets a name that enables loading a volume with :module:SoPathTracerGradientVolume.
Step Size Factor Shadow¶
-
name:
stepSizeFactorShadow
, type:
Float
, default:
1
, minimum:
0.25
, maximum:
10
¶