summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-06-17 13:57:11 -0600
committerTavian Barnes <tavianator@gmail.com>2011-06-17 13:57:11 -0600
commitc04e1953131c312a9666d1b5b1ba11c62491c046 (patch)
tree11045288346f50552a6a21af165fa945b0fa4c67
parent9f0b74d5174c53e38392abeae913ccf25f3f967e (diff)
downloaddimension-c04e1953131c312a9666d1b5b1ba11c62491c046.tar.xz
Use a default diffuse amount of 0.7.
POV-Ray's default of 0.6 was added to a 0.1 ambient. But when you do the sRGB correctly, 0.6 + 0.1 ~= 0.6.
-rw-r--r--dimension/dimension.in2
-rwxr-xr-xlibdimension-python/tests/demo.py2
-rw-r--r--libdimension/tests/render.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/dimension/dimension.in b/dimension/dimension.in
index b5736cf..90abdb7 100644
--- a/dimension/dimension.in
+++ b/dimension/dimension.in
@@ -105,7 +105,7 @@ die_on_warnings(_args.strict)
objects = []
lights = []
camera = PerspectiveCamera()
-default_texture = Texture(finish = Ambient(0.1) + Diffuse(0.6))
+default_texture = Texture(finish = Ambient(0.1) + Diffuse(0.7))
default_interior = Interior()
background = Black
sky_sphere = None
diff --git a/libdimension-python/tests/demo.py b/libdimension-python/tests/demo.py
index 700fd8b..7a9a361 100755
--- a/libdimension-python/tests/demo.py
+++ b/libdimension-python/tests/demo.py
@@ -153,7 +153,7 @@ scene = Scene(canvas = canvas,
objects = objects,
lights = lights,
camera = camera)
-scene.default_texture = Texture(finish = Ambient(0.1) + Diffuse(0.6))
+scene.default_texture = Texture(finish = Ambient(0.1) + Diffuse(0.7))
scene.background = Clear
scene.sky_sphere = sky_sphere
scene.adc_bailout = 1/255
diff --git a/libdimension/tests/render.c b/libdimension/tests/render.c
index 13a4b2c..a67980b 100644
--- a/libdimension/tests/render.c
+++ b/libdimension/tests/render.c
@@ -39,7 +39,7 @@ dmnsn_new_test_scene(void)
);
default_finish->diffuse = dmnsn_new_lambertian(
dmnsn_color_intensity(
- dmnsn_color_from_sRGB(dmnsn_color_mul(0.6, dmnsn_white))
+ dmnsn_color_from_sRGB(dmnsn_color_mul(0.7, dmnsn_white))
)
);