Class SoVolumeRenderingPhysicalQuality

All Implemented Interfaces:
SafeDisposable

@Deprecated(since="2025.1.0.0") public class SoVolumeRenderingPhysicalQuality extends SoNode
Deprecated.
As of Open Inventor 2025.1.0.0. Use SoPhysicalMaterial, SoEnvironmentMap, SoCamera.exposureMode and SoCamera.blur instead.
Volume rendering physical quality property node. This node is intended to be used when one wants to achieve "out of the box" high quality volume rendering. It works the same way as a SoVolumeRenderingQuality node, in the sense that it causes subsequent SoVolumeRender nodes to be drawn with different rendering effects and/or levels of quality, the difference being that the SoVolumeRenderingQuality fields are not exposed in this node and are internally pre-selected to provide the highest possible quality:

The SoVolumeRenderingQuality fields that are internally activated are:

The presence of this node in the scene graph also forces subsequent SoVolumeRender nodes to be drawn with SoVolumeRender.samplingAlignment set to SoVolumeRender.BOUNDARY_ALIGNED.

Note that, unlike SoVolumeRenderingQuality, this node does not support customization of VolumeViz shaders.

The fields exposed in this node provide control over effects that are not present in the SoVolumeRenderingQuality node. These effects include:

  • Physically Based Lighting
  • Ray-Traced Shadows
  • Depth of Field

# Physically Based Lighting

The Physically Based Lighting effect provides lighting using an advanced BRDF model. It can be seen as an enhanced version of the regular deferred lighting. In particular, it shows the same behavior regarding the current SoPhysicalMaterial or SoMaterial on the state and has the same limitations. See SoVolumeRenderingQuality.deferredLighting for a detailed list of limitations. In addition to regular deferred lighting, this effect supports HDR environment mapping and several cubemap textures are provided (see environmentMap). The field toneMapping is provided to select the Tone Mapping algorithm used to remap HDR values to low range values. A predefined material that will be applied to the shape can also be selected using the field predefinedMaterial. Any material (SoPhysicalMaterial or SoMaterial) set between this node and the SoVolumeRender node in the scenegraph will override this predefined material. Note that, just like with regular deferred lighting, the material properties will affect the lighting, and the base color will be mixed with the voxel colors using a component-wise multiplication. Finally, the field shadingStyle allows to switch between this type of lighting and regular deferred lighting.

# Ray-Traced Shadows The Ray-Traced Shadows effect computes shadows inside the volume using a ray-marching based algorithm. This effect is activated and parameterized just like regular shadows using the SoShadowGroup node. The SoShadowGroup fields taken into account for this effect are SoShadowGroup.isActive, SoShadowGroup.intensity and SoShadowGroup.quality. This type of shadows supports SoROI clipping, but does not support SoClipPlane, SoVolumeClippingGroup, SoUniformGridClipping or SoUniformGridProjectionClipping. Note that this effect has a huge impact on performance. The field shadowsStyle allows to switch between this type of shadows and regular shadows.

# Depth of Field Depth Of Field is a "cinematic" effect that adds blur on regions far from the focal point of the camera. The focal point is typically the center of the scene bounding box, causing regions close to the camera and far from the camera to be blurred. The focal point is specified by the field SoCamera.focalDistance of the current camera. Only SoVolumeRender nodes are affected by the blurring. The field enableDepthOfField is used to switch it on and off, while the blurFactor field controls the amount of blur induced by this effect.

File format/default:

VolumeRenderingPhysicalQuality {

}

Since:
Open Inventor 9.8

See Also:
  • Field Details

  • Constructor Details

    • SoVolumeRenderingPhysicalQuality

      public SoVolumeRenderingPhysicalQuality()
      Deprecated.