-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparameters.yaml
24 lines (21 loc) · 1.39 KB
/
parameters.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# WARNING: Some of these parameters need the shaders parameters to be tweaked accordingly.
# Please update the appropriate parameters in src/shaders/util/parameters.comp
# General parameters
scene_file: "scenes/cornell.yaml" # file from which the scene will be loaded
shader_dir: "build/shaders" # directory containing compiled shaders
tile_size: 8 # size of tiles used for rendering.
# Vulkan parameters
use_llvmpipe: false # forces the rendering to happen on the CPU
use_validation_layers: false # enables vulkan validation layers
validation_layers: # list of enabled validation layers
- "VK_LAYER_KHRONOS_validation" # - standard error checking
# - "VK_LAYER_LUNARG_api_dump" # - dump in stdout API calls
# BVH parameters
max_bvh_depth: 64 # maximum depth of the tree
bvh_split_attempts: 8 # amount of splits performed to find the optimal BVH
# set to -1 to attempt all possible splits
# Output parameters
offscreen_rendering: false # enable to render on headless devices
dump_file: "./dump.raw" # file where the final framebuffer will be dumped
frame_count: -1 # number frames to render before dumping the output
# set to -1 to let render indefinitely