...
Texture extensions: All texture file extensions so the texture manage knows which files can be marked as already converted.
Txmake Configuration
The texture manager uses a set of rules to choose the best conversion optimal txmake parameters based on:
- The type of node using the texture:
pattern
,light
,light filter
orimageplane
. - A set of base parameters for that type of node
- one or more rules to modify the base parameters when considering the file's name, the bit depth, etc.
These settings are defined in a $RMANTREE/etc/txmanager_rules.json
.
JSON structure
Here is a very basic example. See $RMANTREE/etc/txmanager_rules.json
for the real rules.
Code Block | ||
---|---|---|
| ||
{
"pattern": {
"args": {
"texture_type": "regular",
"smode": "periodic",
"tmode": "periodic",
"texture_format": "pixar",
"texture_filter": "catmull-rom",
"resize": "up-",
"data_type": null,
"compression": "lossless",
"compression_level": null
},
"rules": {
"'_i8t' in '%(img_name)s'": {
"args": {
"texture_format": "tiff",
"data_type": "byte"
}
}
}
}
} |