UniVidX • Decode (Intrinsic):
The UniVidXDecodeIntrinsic node is designed to process and decompose a UNIVIDX_RESULT into four distinct image outputs: rgb, albedo, irradiance, and normal. This node is particularly useful in scenarios where you are working with intrinsic properties of images, such as lighting and surface characteristics, which are crucial for realistic rendering and image synthesis. The node ensures that even if certain modalities are used as conditions rather than targets, they are represented as black placeholder images to maintain the integrity of downstream processes. This functionality is essential for maintaining workflow stability and preventing errors in subsequent nodes that expect specific image inputs. The node is specifically tailored for intrinsic-family modes and will raise an error if used with alpha-family modes, directing users to the UniVidXDecodeAlpha node instead.
UniVidX • Decode (Intrinsic) Input Parameters:
result
The result parameter is a tuple containing a UNIVIDX_RESULT and a mode identifier. This input is crucial as it provides the data structure that the node will decompose into its constituent image components. The UNIVIDX_RESULT is expected to contain keys corresponding to the intrinsic properties being decoded. The mode identifier helps the node determine whether the input is compatible with intrinsic-family processing. There are no specific minimum, maximum, or default values for this parameter, but it must be a valid UNIVIDX_RESULT tuple for the node to function correctly.
UniVidX • Decode (Intrinsic) Output Parameters:
rgb
The rgb output represents the standard color image extracted from the UNIVIDX_RESULT. It is a crucial component for visualizing the final rendered image and serves as a base for further image processing or analysis.
albedo
The albedo output provides the intrinsic color of surfaces without any lighting effects. This output is essential for understanding the true color properties of objects in the scene, independent of shadows or highlights.
irradiance
The irradiance output captures the lighting information in the scene, representing how light interacts with surfaces. This output is vital for tasks involving lighting adjustments or simulations.
normal
The normal output contains the surface normals of the scene, which are vectors perpendicular to the surface. This information is crucial for rendering techniques that require knowledge of surface orientation, such as shading and reflection calculations.
UniVidX • Decode (Intrinsic) Usage Tips:
- Ensure that the
resultinput is derived from an intrinsic-family mode to avoid errors and ensure accurate decomposition into the four image outputs. - Use the
rgb,albedo,irradiance, andnormaloutputs in combination to achieve realistic rendering effects, as they provide comprehensive information about the scene's visual and physical properties.
UniVidX • Decode (Intrinsic) Common Errors and Solutions:
ValueError: Mode <mode> is not intrinsic. Use UniVidXDecodeAlpha instead.
- Explanation: This error occurs when the mode provided in the
resultinput is not compatible with the intrinsic-family processing expected by the node. - Solution: Verify that the mode associated with your
UNIVIDX_RESULTis indeed an intrinsic-family mode. If you are working with an alpha-family mode, switch to using theUniVidXDecodeAlphanode for appropriate processing.
