summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hitlist.h5
-rw-r--r--main_simple_scanner.cpp2
2 files changed, 0 insertions, 7 deletions
diff --git a/hitlist.h b/hitlist.h
index 8073587..3b853de 100644
--- a/hitlist.h
+++ b/hitlist.h
@@ -22,11 +22,6 @@
//#define T_NORM_VISUAL
#define T_DIFFUSE
-// Select which diffuse method to use
-//#define DIFFUSE_SIMPLE // Diffuse with a random vector whose length is in [0, 1]
-#define DIFFUSE_LR // Diffuse with (possibly wrong) Lambertian Reflection, i.e. using a random unit vector
-//#define DIFFUSE_HEMI // Diffuse with hemispherical scattering, i.e. using a normalized random vector within the hemisphere
-
// A world, T is color depth
class hitlist {
std::vector<std::shared_ptr<object>> objects;
diff --git a/main_simple_scanner.cpp b/main_simple_scanner.cpp
index f0a2099..264bf4e 100644
--- a/main_simple_scanner.cpp
+++ b/main_simple_scanner.cpp
@@ -16,8 +16,6 @@
#include "aa.h"
#include "material.h"
-#define DEMO_BALL
-
// T: intermediate color depth
template<typename T>
void generate_image(uint16_t image_width, uint16_t image_height, double viewport_width, double focal_length,