These represent various semantic intepretations of the underlying layer data. A 3-tuple may represent things other than RGB.
Values ¶
hou.imageLayerTypeInfo.Color
The data is to be interpeted as RGB.
hou.imageLayerTypeInfo.Height
The data is to be interpeted as a height map. These are usually Mono.
hou.imageLayerTypeInfo.ID
The data is to be interpeted as an ID map. These are usually ID.
hou.imageLayerTypeInfo.Mask
The data is to be interpeted as 0-1 mask. These are usually Mono.
hou.imageLayerTypeInfo.Normal
The data is to be interpeted as signed normal. These are usually RGB. The data is usually -1 to 1 and normalized.
hou.imageLayerTypeInfo.OffsetNormal
The data is to be interpreted as an offset normal. These are usually RGB. The data is usually 0 to 1 and normalized around 0.5.
hou.imageLayerTypeInfo.Position
The data is to be interpreted as an XYZ location. For 3-tuples this is a location in space, for 2-tuples it usually implies it is in Image space. These are usually UV or RGB.
hou.imageLayerTypeInfo.Raw
The data is not to be interpreted, no specific type hint is present.
hou.imageLayerTypeInfo.SDF
The data stores the signed distance to a curve. These are usually Mono.
hou.imageLayerTypeInfo.Texture
The data is to be interpreted as an UV location. For 2-tuples it usually implies it is in Texture space. These are usually UV.
hou.imageLayerTypeInfo.Vector
The data is to be interpreted as a direction whose length is the magnitude or stretngth. These are usually UV or RGB.