From 50b020ed96e598efcdbc7ea1f31d8bac2887ad7f Mon Sep 17 00:00:00 2001 From: Yoz Grahame <yoz@yoz.com> Date: Wed, 28 Nov 2012 16:28:14 -0800 Subject: [PATCH 1/2] Go fullscreen on startup --- main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main.cpp b/main.cpp index 256a550058..4cbd6d7281 100644 --- a/main.cpp +++ b/main.cpp @@ -242,6 +242,7 @@ void initDisplay(void) glEnable(GL_DEPTH_TEST); load_png_as_texture(texture_filename); + glutFullScreen(); } void init(void) From 725d9f60a0047ef389de94e219247e8c4fd122ed Mon Sep 17 00:00:00 2001 From: Yoz Grahame <yoz@yoz.com> Date: Fri, 30 Nov 2012 09:59:33 -0800 Subject: [PATCH 2/2] Increase colour value gamut --- cloud.cpp | 2 +- field.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cloud.cpp b/cloud.cpp index 329b840ab5..f80953cb50 100644 --- a/cloud.cpp +++ b/cloud.cpp @@ -10,7 +10,7 @@ #include "cloud.h" #include "util.h" -#define COLOR_MIN 0.3f // minimum R/G/B value at 0,0,0 - also needs setting in field.cpp +#define COLOR_MIN 0.2f // minimum R/G/B value at 0,0,0 - also needs setting in field.cpp Cloud::Cloud(int num, glm::vec3 box, diff --git a/field.cpp b/field.cpp index 011fb6515f..de5bd2cc06 100644 --- a/field.cpp +++ b/field.cpp @@ -10,7 +10,7 @@ #include "glm/glm.hpp" #define FIELD_SCALE 0.00050 #define COLOR_DRIFT_RATE 0.001f // per-frame drift of particle color towards field element color -#define COLOR_MIN 0.3f // minimum R/G/B value at 0,0,0 - also needs setting in cloud.cpp +#define COLOR_MIN 0.2f // minimum R/G/B value at 0,0,0 - also needs setting in cloud.cpp // A vector-valued field over an array of elements arranged as a 3D lattice