diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2021-02-09 21:00:33 +0100 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2021-02-09 21:00:33 +0100 |
| commit | 3a43bab624f271588401daca46c512a1f85593f6 (patch) | |
| tree | 541f8680689a46d5ee38eb7f8df5b30bbf8130a2 /src/utils.cpp | |
| parent | 6d156207ae26eb2398df87192a9cbf872cc166c8 (diff) | |
Extend API, fix api image creation, attempt at accumulation
Add blit_full function to the API
Fix the create_image function
Change the frame record to use an accumulation image
Diffstat (limited to 'src/utils.cpp')
| -rw-r--r-- | src/utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.cpp b/src/utils.cpp index 3416714..00745dc 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -93,8 +93,8 @@ struct input_data create_inputs(uint32_t width, uint32_t height) { // Image dimensions const float aspect_ratio = (float)width / (float) height; - const uint32_t samples_per_pixel = 1; - const uint32_t max_depth = 2; + const uint32_t samples_per_pixel = 10; + const uint32_t max_depth = 5; const vec3 camera_position{ 13.0, 2.0, 3.0 }; const vec3 camera_target{ 0.0, 0.0, 0.0 }; |
