From c04e1953131c312a9666d1b5b1ba11c62491c046 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 17 Jun 2011 13:57:11 -0600 Subject: 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. --- dimension/dimension.in | 2 +- libdimension-python/tests/demo.py | 2 +- libdimension/tests/render.c | 2 +- 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)) ) ); -- cgit v1.2.3