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

Compare with Current View Page History

« Previous Version 14 Next »

3Delight have a set of options and configurations that can be specified through the 3delight.ini configuration file. The renderer looks for it in four different locations in the following order:

  1. In 3Delight's installation directory, as specified by the $DELIGHT environment variable.
  2. In the directories specified by the $DELIGHT_CONF environment variable (a colon separated list).
  3. In user's home directory, as specified by the $HOME environment variable. It also looks for an .3delight.ini file in the same directory.
  4. Finally, the 3delight.ini in the current directory.       ← Do we need to keep this ???

If 3Delight encounters the file in more than one location, it uses the latest keys and values it finds (later options settings override former ones). This enables to have a site specific configuration file in the $DELIGHT or $DELIGHT_CONF directories and user specific settings in their home directory. The former often done by the system administrator responsible for the software installation.

Each line in the configuration file is of the form "key value1 [value2 ... value_n]". The recognised keys are:

KeyDescription

networkcache.directory

Specifies the directory for 3Delight's network caching. Should point to directory located on a local storage drive (disk or better yet SSD) on each render nodes.

networkcache.size

Specifies the size (in GB) of 3Delight's network cache. The recommended minimum size is 30GB. Large projects (with lots of texture maps) could easily benefit from 100GB or more.


The following is the default 3delight.ini file content (included in the 3Delight's installation directory):



# This 3Delight.ini file allows you to set some configuration options. The format # is simple: each line is a key/value pair linking an option to a specific value. # Lines starting with a "#" charachter are ignored (they serve as comment lines). # Example: # # networkcache.directory /var/tmp/3DelightCache # # Recognized keys are: # # networkcache.directory : Set location of 3Delight's texture cache. # networkcache.size : Set the maximum size of the texture cache (in GB).  

  • No labels