Houdini 11 HScript commands

Manipulates the internal texture cache.

Usages

  1. texcache [-v] [-s] [-l] [-c] [-n] [-a on|off] [-r xres yres] [-m nimages] [-M megabytes] [ -f 0|1 texture ]

Options

-s

Print the current settings.

-l

Print the contents of the texture cache.

-v

(Verbose) print extra information.

-c

Clear the cache.

-n

Clear the cache only if newer files exist on disk.

-a on|off

Auto-flushing of maps on/off. Leaving maps in the cache (-a off) improves performance at the cost of extra memory.

-r xres yres

Maximum resolution of images to store in the cache. Textures with resolution higher than this will not be cached. This does not include maps stored in COPs.

-m nimages

Maximum number of images to store in the cache.

-M megabytes

Maximum megabytes of data to store in the cache.

-f 0|1 file

Turn off|on the monitoring of given texture(s). If there is any change to the file(s) on the disk, the texture(s) will be automatically reloaded. This option will not be saved. Only available on Linux

Examples

hscript-> texcache -r 512 512 -M 32 -a on
Sets the maximum resolution of images in the cache to 512×512 pixels, the maximum memory to 32 Mb and turns auto-flushing on.

On this page

Replaced by

Related topics