SoPathTracerVolumeInstance¶
- InventorModule¶
author
package
dll
definition
inherits from
Purpose¶
The SoPathTracerVolumeInstance module allows for rendering a volume provided by a SoPathTracerVolume as an instance of that volume without requiring a copy of the volume data on the GPU.
The instance can feature a different LUT, tag volume, mask volume, clipping behavior, subvolume, transformation, and shading type. This enables the creation of various effects, such as applying a different LUT to different subvolumes or transforming subvolumes.
Have a look at the example network to see how it can be utilized.
The instance has a Source Volume Name that specifies which volume it should render. It also includes a Volume Name that designates the name of the instanced volume. This enables other modules, such as SoPathTracerIsoSurface and SoPathTracerSlice, to operate on instances as well.
In this rendering, three volume instances of the same dataset are utilized, each employing a different transformation, LUT, and material.
Windows¶
Default Panel¶
Input Fields¶
inMaterial¶
- name: inMaterial, type: SoNode¶
inLUT¶
- name: inLUT, type: MLBase, deprecated name: inDiffuseLUT¶
Output Fields¶
self¶
- name: self, type: SoNode¶
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Visible Fields¶
Enable Volume Rendering¶
- name: enableVolumeRendering, type: Bool, default: TRUE¶
Volume Name¶
- name: volumeName, type: String, default: instance¶
Mask Volume Name¶
- name: maskVolumeName, type: String, default: mask¶
Tag Volume Name¶
- name: tagVolumeName, type: String, default: tags¶
Time Point¶
- name: timePoint, type: Integer, default: 0¶
Mask Color0¶
- name: maskColor0, type: Color, default: 1 0 0¶
Mask Color1¶
- name: maskColor1, type: Color, default: 1 1 1¶
Mask Alpha0¶
- name: maskAlpha0, type: Float, default: 0, minimum: 0, maximum: 1¶
Mask Alpha1¶
- name: maskAlpha1, type: Float, default: 1, minimum: 0, maximum: 1¶
Mask Tag0¶
- name: maskTag0, type: Integer, default: 0, minimum: 0, maximum: 1¶
Mask Tag1¶
- name: maskTag1, type: Integer, default: 0, minimum: 0, maximum: 1¶
Step Size Factor¶
- name: stepSizeFactor, type: Float, default: 3, minimum: 1, maximum: 10¶
Step Size Factor Shadow¶
- name: stepSizeFactorShadow, type: Float, default: 3, minimum: 1, maximum: 10¶
Self Shadowing Offset¶
- name: selfShadowingOffset, type: Float, default: 1, minimum: 0, maximum: 10¶
Transpose matrix¶
- name: transposeAdditionalMatrix, type: Bool, default: TRUE¶
Matrix¶
- name: additionalMatrix, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1¶
Enable Clipping¶
- name: enableClipping, type: Bool, default: TRUE¶
Flip Clipping¶
- name: flipClipping, type: Bool, default: FALSE¶
X (subVolumeStartX)¶
- name: subVolumeStartX, type: Integer, default: 0¶
Y (subVolumeStartY)¶
- name: subVolumeStartY, type: Integer, default: 0¶
Z (subVolumeStartZ)¶
- name: subVolumeStartZ, type: Integer, default: 0¶
X (subVolumeEndX)¶
- name: subVolumeEndX, type: Integer, default: 999999¶
Y (subVolumeEndY)¶
- name: subVolumeEndY, type: Integer, default: 999999¶
Z (subVolumeEndZ)¶
- name: subVolumeEndZ, type: Integer, default: 999999¶
Use world positions¶
- name: subVolumeUseWorldPositions, type: Bool, default: FALSE¶
World Start Position¶
- name: subVolumeWorldStart, type: Vector3, default: 0 0 0¶
World End Position¶
- name: subVolumeWorldEnd, type: Vector3, default: 0 0 0¶
Tracing Method¶
- name: tracingMethod, type: Enum, default: Tracing_RayMarching¶
Shader Type¶
- name: shaderType, type: Enum, default: Shader_Hybrid¶
Gradient Factor¶
- name: gradientFactor, type: Float, default: 3, minimum: 0, maximum: 20¶
Source Volume Name¶
- name: sourceVolumeName, type: String, default: main, deprecated name: sourceVolume¶
Sets the name of the source volume to use.
The
SoPathTracerwill search for aSoPathTracerVolumewith the specified name.