diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2021-07-25 16:52:28 +0200 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2021-07-25 16:52:28 +0200 |
| commit | 3bfd2d67e1c2d7e2d77c431f54dd68356c94d787 (patch) | |
| tree | c3fbd47d8d273c08c64c363342fff35c04f780d0 /include/scene.hpp | |
| parent | 3dd870b001bef62aaa501257352d968d1346c7f2 (diff) | |
Slowly rendering sponza
Diffstat (limited to 'include/scene.hpp')
| -rw-r--r-- | include/scene.hpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/scene.hpp b/include/scene.hpp index 364e3a7..2a9ebf2 100644 --- a/include/scene.hpp +++ b/include/scene.hpp @@ -15,7 +15,8 @@ class scene { camera cam;
- uint32_t max_bounce = 50;
+ // uint32_t max_bounce = 50;
+ uint32_t max_bounce = 1;
// Output image resolution
uint32_t width;
@@ -23,9 +24,9 @@ class scene { uint32_t sample_index = 0;
- uint32_t spheres_count = 0;
- // uint32_t triangles_count = 0;
- uint32_t enable_dof = true;
+ // uint32_t spheres_count = 0;
+ uint32_t triangles_count = 0;
+ uint32_t enable_dof = false;
uint32_t debug_bvh = false;
uint32_t padding;
@@ -40,10 +41,9 @@ public: metadata meta;
-
// Geometry & BVH
- std::vector<sphere> spheres;
- // std::vector<triangle> triangles;
+ // std::vector<sphere> spheres;
+ std::vector<triangle> triangles;
std::vector<bvh_node> nodes;
};
|
