|
The second type, the initialization file, is new to POV-Ray 3. Initialization files normally have .ini extensions and are referred to in this help file as INI files.
povray.ini
in /usr/local/share/povray35
on most systems.
Any other INI file you can passing the INI file name on the command line.
One of the options you can set in the INI file is the name of an input file. You can specify the name of a POV file here. This way you can customize POV-Ray settings for any individual scene file.
For instance, if you have a file called scene.pov, you can create a file scene.ini to contain
settings specific for scene.pov. If you include the option 'Input_File_Name=scene.pov' in
scene.ini, and then run povray scene.ini
, POV-Ray will process scene.pov with the
options specified in scene.ini.
Remember, though, that any options set at the command line when you
activate an INI file override any corresponding options in the INI file (see
Understanding POV-Ray Options.
Also, any options you do not set in the INI file
will be taken as last set by any other INI file or as originally determined in povray.ini
.
You can instruct POV-Ray to generate an INI file containing all the options active at the time of rendering. This way, you can pass a POV file and its associated INI file on to another person and be confident that they will be able to generate the scene exactly the same way you did. See the section titled Using INI Files for more information about INI files.
; RES.INI ; This sample INI file is used to set resolution. +W120 +H100 ; This section has no label. ; Select it with "RES" [Low] +W80 +H60 ; This section has a label. ; Select it with "RES[Low]" [Med] +W320 +H200 ; This section has a label. ; Select it with "RES[Med]" [High] +W640 +H480 ; Labels are not case sensitive. ; "RES[high]" works [Really High] +W800 +H600 ; Labels may contain blanksIf you select this INI file, the default resolution setting will be 120 x 100. As soon as you select the [High] section, however, the resolution becomes 640 x 480.
For more information on POV-Ray options and INI files consult the section on POV-Ray Options.
|