Path Mapping

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

How Arnold handles paths

  1. Replace backslashes

    When Arnold loads an ass file, Arnold replaces all backslashes ( \ ) with forward slashes ( / )

  2. Expand environment variables

    Expand all environment variables, which look like this: [MY_TEXTURE_PATH]

  3. Map paths

    Apply path-mapping rules specified the Arnold pathmap file.

Setting up path mapping

You can automatically remap paths at render time using a pathmap file. 

The pathmap file is a json file. For example:

 

Path mapping uses regular expressions. The general format of an entry is this:

For example, this pathmap replaces all drive mappings like E:/ and S:/ with //SERVER/

Arnold converts backslashes ( \ ) to forward slashes ( / ) when it loads the ASS file.

Path mapping happens after that, so pathmaps never have to deal with backslashes.

 

There can be multiple mappings for each OS:

  • No labels