Overview 概要
The Search Paths group of attributes specifies the search paths 3Delight will use when looking for various resources.
Search Pathsアトリビュートは3Delightが様々なリソースを使用する際に参照するパスを指定します。
Search Paths グループ
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.
shaders, textures, procedural や archiveの各パスを明示的に検索するために、‘@’を記述するとデフォルトのパスが検索されます。
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.
- ‘@’はデフォルトのパスを指定します。デフォルトのパスではコンフィグファイルやシステム環境変数で指定しているパス(詳細は3Delight User’s Manualを参照して下さい。)を参照します。システム環境変数はコンフィグファイルで指定しているパスよりも優先されます。
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.
パスが‘$’で始まり大文字のみで記述している場合(例. $HOME) 、システムの同変数としてみなされ、レンダリング時に変更されます。The ‘~’ symbol, when placed at the beginning of a path, is equivalent to $HOME. For example, the following would specify a valid search path for textures
‘~’はパスの最初に記述していると、$HOMEと同義の意味になります。例えば下記の記述は検索するtextureパスを指定したものです。@:$HOME/textures:$PROJECT/textures
Directories can be separated with ‘/’ or ‘\’ on Windows but only by ‘/’ on other platforms.