...
Rules with a null value are disabled.
texture_type | "regular" for generic textures or "envlatl" for environment light textures |
---|---|
texture_format | The file format of the texture: "pixar", "tiff", "openexr" |
resize | Resize image to a power of 2 using given mode: "none", "up", "up-", "down", "down-", "round", "round-". |
texture_filter | Filter used for resize: "point", "box", "triangle", "sinc", "gaussian", "gaussian-soft", "catmull-rom", "mitchell", "cubic", "lanczos", "bessel", "blackman-harris" |
smode | Repeat mode in s direction: "black", "clamp", "periodic" |
tmode | Repeat mode in t direction: "black", "clamp", "periodic" |
data_type | "float" (float 32), "half" (float 16), "byte" (int 8), "short" (int 16) |
compression | Compression used on texture tiles to save disk space. Texture fomat dependend: see txmake help. |
compression_level | Compression level for compressors supporting that parameter: see txmake help. |
ociocolorspace | The destination colorspace, that is the colorspace of the texture |
ocioconvert | The source colorspace, that is the colorspace of the image |
ociodither | Optionaly dither pixel values when outputing to a non-float texture format. Not recommended. |
bumprough | A dict containing the bump to roughness conversion values: "factor", "normalmap", "invert", "invertU", "invertV", "refit" |
mipfilter | The resizing filter used to create MIP levels. Same as texture_filter. |
rules
Rules are Python strings that should evaluate to True or False. They can the following contain substitution tokens:
node_type | PxrTexture, PxrDomeLight, etc |
---|---|
classification | bxdf, pattern, light, lightfilter, etc |
img_name | The image name without its extension |
img_ext | The image's extension |
img_atlas | True if a texture atlas |
img_type | 'int' or 'float' |
img_depth | 8, 16 or 32 |
img_nchan | the number of channels in the image |
ocioconfig | full path of OCIO config |
ocioconfig_name | name of OCIO config: 'basic', 'ACES-1.2', etc |