### 3.8.13 Global Settings

Specify various settings that apply to the entire scene
GLOBAL_SETTINGS:
  Jump to SDL
  `global_settings { GLOBAL_SETTING_ITEMS }`
GLOBAL_SETTING_ITEMS:
  `[adc_bailout FLOAT] & [ambient_light COLOR] & [assumed_gamma FLOAT] & [hf_gray_16 [BOOL]] & [irid_wavelength COLOR] & [charset GLOBAL_CHARSET] & [max_intersections INT] & [max_trace_level INT] & [number_of_waves INT] & [noise_generator NG_TYPE] & [RADIOSITY] & [PHOTONS]`
GLOBAL_CHARSET:
  `ascii | utf8 | sys`
NG_TYPE:
  `1 | 2 | 3`

Quick Reference Contents

#### 3.8.13.1 Radiosity

Enable radiosity to compute diffuse inter-reflection of light:
RADIOSITY:
  Jump to SDL
  `radiosity { [RADIOSITY_ITEMS] }`
RADIOSITY_ITEMS:
  `[adc_bailout FLOAT] & [always_sample BOOL] & [brightness FLOAT] & [count INT] & [error_bound FLOAT] & [gray_threshold FLOAT] & [load_file FILE_NAME] & [low_error_factor FLOAT] & [max_sample FLOAT] & [media BOOL] & [minimum_reuse FLOAT] & [nearest_count INT] & [normal BOOL] & [pretrace_end FLOAT] & [pretrace_start FLOAT] & [recursion_limit INT] & [save_file FILE_NAME]`

Quick Reference Contents

#### 3.8.13.2 Photons

Enable photon mapping to render reflective and refractive caustics:
PHOTONS:
  Jump to SDL
  `photons { PHOTON_QUANTITY [PHOTON_ITEMS] }`
PHOTON_QUANTITY:
  `spacing FLOAT | count INT`
PHOTON_ITEMS:
  `[gather I_MIN, I_MAX] & [media I_MAX_STEPS [, F_FACTOR]] & [jitter FLOAT] & [max_trace_level INT] & [adc_bailout FLOAT] & [save_file FILE_NAME] & [load_file FILE_NAME] & [autostop FLOAT] & [expand_thresholds F_INCREASE, F_MIN] & [radius [FLOAT, FLOAT, FLOAT, FLOAT]]`

Quick Reference Contents

More about "Jump to SDL"

- 3.3.3 Global Settings in 3.3 Scene Settings
- 2.3.10.4 Global settings in 2.3.10 SDL tutorial: A raytracer