SoPathTracerVolume¶
-
InventorModule
¶ author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoPathTracer
definition SoPathTracer.def inherits from SoPathTracerVolumeBase
keywords volume
,rendering
,ray
,casting
,woodcock
Purpose¶
The SoPathTracerVolume
module allows to load and render a volume in a SoPathTracer
scene.
The volume can render itself when Enable Volume Rendering
is enabled, or it can be rendered/used by other modules like SoPathTracerVolumeInstance
, SoPathTracerIsoSurface
or SoPathTracerSlice
.
The same volume can be rendered with different LUTs, transformation, clipping, masking, tagging and subvolume settings using
multiple SoPathTracerVolumeInstance
.
For additional material/volume shader settings, you can add a SoPathTracerMaterial
to the inMaterial
.
Via the material it is also possible to do boundary enhancement and silhouette rendering.
The SoPathTracer
supports an unlimited (except for GPU limits) number of volumes and allows arbitrary affine transformations of the volumes. All volumes and geometry cast shadows on each other and are correctly integrated.
Volume transformations can be done either via the Inventor scene or via the Matrix
.
You need to use SoTransformSeparator
or SoResetTransform
when transforming a volume via the scene, so that the model transformation at the SoPathTracer
is identity (I hope we will fix that in the future).
Restriction: In the current implementation, translucent overlapping volumes are not combined physically correct, but the current implementation works fine for surface-like volumes/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
¶ Allows to load a
SoPathTracerGradientVolume
with the given name.
Step Size Factor Shadow¶
-
name:
stepSizeFactorShadow
, type:
Float
, default:
1
, minimum:
0.25
, maximum:
10
¶