Overview

The Search Paths group of attributes specifies the search paths 3Delight will use when looking for various resources.

 

The Search Paths Group


Shader Path
Texture Path
Procedural Path
Archive Path

Specifies search paths for shaders, textures, procedurals and archives, respectively. By default, all these attributes are set to ‘@’, which is the default path specified by the DL_*_PATH variables. 

Search Path Syntax

A search path is a colon or semi-colon separated list of paths.

Each path can include some special symbols:

  • The ‘@’ symbol specifies the default path. Default paths for each resource are settable through the configuration file or through environment variables (refer to 3Delight User’s Manual for more information about both configuration file and default environment variables). Environment variables override any value set in the configuration file.

  • The ‘&’ symbol specifies the previous path list.

  • A word starting with a ‘$’ and followed by uppercase letters (e.g. $HOME) is considered as an environment variable and is replaced by its value at render time.

  • The ‘~’ symbol, when placed at the beginning of a path, is equivalent to $HOMEFor example, the following would specify a valid search path for textures

    @:$HOME/textures:$PROJECT/textures 

Directories can be separated with ‘/’ or ‘\’ on Windows but only by ‘/’ on other platforms.

  • No labels