Creates a renderer that renders a volume where the voxel alpha is based on the difference between
the voxel color and the voxel color of its predecessor frame. The difference metrics are:
- YDIF: absolute luminance difference
- YMSE: squared luminance difference
- UVDIF: color difference (angle between UV vectors)
Namespace: VideoDVRAssembly: VideoDVR (in VideoDVR.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public static DVRRenderer RenderDifferenceToPredecessor( Texture volume, DVRRenderer..::..DifferenceMetric diffMetric ) |
Visual Basic |
---|
Public Shared Function RenderDifferenceToPredecessor ( _ volume As Texture, _ diffMetric As DVRRenderer..::..DifferenceMetric _ ) As DVRRenderer |
Visual C++ |
---|
public: static DVRRenderer^ RenderDifferenceToPredecessor( Texture^ volume, DVRRenderer..::..DifferenceMetric diffMetric ) |
Parameters
- volume
- Type: Texture
A 3D texture representing the volume. Must not be null.
- diffMetric
- Type: VideoDVR..::..DVRRenderer..::..DifferenceMetric
The difference metric to use.