Configuration File - PearCoding/PearRay GitHub Wiki

The configuration file is a plain ini file containing arguments, which also can be specified as a commandline argument.

Options

Threading options [Threads]

INI CLI Input Description Default
count --threads INT Amount of threads used for processing. Set 0 for automatic detection. 0
tile_x --rtx INT Amount of horizontal tiles used in threading. 8
tile_y --rty INT Amount of vertical tiles used in threading. 8

Scene options [Scene]

INI CLI Input Description Default
name TODO String Override name of the scene with this one.
camera TODO String Override the camera of the scene with this one.
width --width INT Override the x resolution of the scene with this one.
height --height INT Override the y resolution of the scene with this one.
crop --crop INT INT INT INT Override the crop settings with this one.
tile_x --itx INT Amount of horizontal tiles used in image tiling. 8
tile_y --ity INT Amount of vertical tiles used in image tiling. 8

Renderer options [Renderer]

INI CLI Input Description Default
incremental --inc Render incremental.
integrator --integrator di, bidi, ppm Integrator. bidi
debug --debug none, depth, norm_b, norm_p, norm_n, norm_s, tang_b, tang_p, tang_n, tang_s, bino_b, bino_p, bino_n, bino_s, uv, pdf, emission, validity Debug Mode. none
max --depth INT Maximum ray depth for all types of rays. 8

** TODO **

Example

[renderer]
integrator=bidi
debug=none
incremental=1
max=2
[threads]
count=0
tile_x=64
tile_y=64
[pixelsampler]
mode=halton
max=8
[globalillumination]
diffuse_bounces=0
light_samples=1
[ppm]
count=100000
passes=50
radius=0.100000
max=500
gathering_mode=sphere
squeeze=0.000000

See also