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

Compare with Current View Page History

Version 1 Next »

Some of the default options are settable through the 3delight.ini initilization file. The renderer looks for it in four different locations, in 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, 3Delight tries to load `3delight.ini' in the current directory.       ← Do we need this ???

If 3Delight encounters the file in more than one location, it uses the latest keys and values it finds. This enables the user to have a site specific initialization file in the $DELIGHT or $DELIGHT_CONF directories and user specific settings in their home directory.

Each line in the configuration file is of the form "key value1 [value2 ... value_n]". The key being a recognized 3Delight configuration options as listed in the table below.


KeyDescription

networkcache.directory

specifies the directory for 3Delight's network caching

networkcache.size

specifies the size of 3Delight's network cache.



The following text is the default 3delight.ini file content.

#
# This 3Delight file allows you to set some global configuration options.  The
# format of this file is simple: each line is a key/value pair linking a given
# configiration option to a specific value. Lines starting with a "#" charachter
# are comment lines. Example:
#
#   networkcache.directory /var/tmp/3DelightCache
#
# Recognized keys are listed below:
#
#   networkcache.directory
#       Specifies the location of 3Delight's texture cache.
#
#   networkcache.size
#       Specifies the size, in GB, of the texture cache.
#
  • No labels