projet de path tracing en ocaml.
to make it work, write the path of the .vox file in the variable 'path' in the beginging of the stript, then, recompile the all thing.
-
mouse click on the image to set the focus on the point of the object clicked.
-
push space bar to toggle denoising
-
changing the size of the window can be done before but not during rendering
-
the function 'main' start the rendering process
-
to use adaptive sampling, set adaptive_sampling to true in the beginnig of the program
push space bar to toggle denoising (update in the beginning of the next frame if toggle durring post processing period)
example, raw vs denoised:
-monu7 (light: one sample per pixel; denoising: depth 4)
-GI (light: 8 sample per pixel; denoising: depth 4, sigma_rt 40.0)
to use adaptive sampling, set the const 'adaptive_sampling' to true in the beginnig of the program
the idea of adaptive sampling is that somme places are more noisy and need more rays so the renderer only shoot rays where needed,
this is an example of performance with adaptive sampling on 'metal2.vox':