From 3bfd2d67e1c2d7e2d77c431f54dd68356c94d787 Mon Sep 17 00:00:00 2001 From: ladevieq Date: Sun, 25 Jul 2021 16:52:28 +0200 Subject: Slowly rendering sponza --- include/scene.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'include/scene.hpp') 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 spheres; - // std::vector triangles; + // std::vector spheres; + std::vector triangles; std::vector nodes; }; -- cgit v1.3