From e6d64e349030ce82ba3916a37a7244ac66f0862a Mon Sep 17 00:00:00 2001 From: mattmcw Date: Sun, 25 Jul 2021 20:40:24 -0400 Subject: [PATCH] Improve lighting and texture --- bounce.pov | 48 ++++++++++++++++-------------------------------- 1 file changed, 16 insertions(+), 32 deletions(-) diff --git a/bounce.pov b/bounce.pov index d0cd36e..a28517d 100644 --- a/bounce.pov +++ b/bounce.pov @@ -27,10 +27,8 @@ #declare plastic = texture{ pigment { rgb color1 } finish { - ambient .01 + ambient 0 diffuse .06 - phong .025 - phong_size 15 } } @@ -45,33 +43,20 @@ global_settings { #declare useDOF=false; -#ifdef(useDOF) - #if (useDOF) - #debug "Using DOF rendering" - camera { - //orthographic - sky <0,0,1> - location <0, 0, CAM_Z> - look_at <0, 0, 0> - angle 50 - right -x*(image_width/image_height) - aperture 2.4 - blur_samples 200 - variance 1/10000 - focal_point <0, 0, 0> - } - #else - #debug "Not using DOF rendering" - camera { - //orthographic - sky <0,0,1> - location <0, 0, CAM_Z> - look_at <0, 0, 0> - angle 50 - right -x*(image_width/image_height) - focal_point <0, 0, 0> - } - #end +#if (useDOF) + #debug "Using DOF rendering" + camera { + //orthographic + sky <0,0,1> + location <0, 0, CAM_Z> + look_at <0, 0, 0> + angle 50 + right -x*(image_width/image_height) + aperture 2.4 + blur_samples 200 + variance 1/10000 + focal_point <0, 0, 0> + } #else #debug "Not using DOF rendering" camera { @@ -85,10 +70,9 @@ global_settings { } #end - light_source { <0, -60-Y, -100> - rgb <0.2, 0.2, 0.2> + rgb <0.1, 0.1, 0.1> area_light x,y,6,6 area_illumination off }