// 2-pass rendering: // first pass with PASS=1, half resolution, no antialiasing // second pass with everything switched on, good antialiasing, etc. #declare PASS = 1; // Radiosity Settings #declare AMB = 0; #declare DIF = 1; global_settings { assumed_gamma 1 ambient_light 0 max_trace_level 25 radiosity { pretrace_start 0.08 pretrace_end 0.01 count 150 error_bound 0.1 nearest_count 7 recursion_limit 1 low_error_factor 0.7 gray_threshold 0 minimum_reuse 0.01 brightness 1.0 adc_bailout 0.01/2 normal on media off #if (PASS=1) // first pass, save radiosity values save_file "2556.rad" #else // second pass, load radiosity values pretrace_start 1 pretrace_end 1 load_file "2556.rad" always_sample off #end } } sky_sphere { pigment { gradient -y //weird sky vector... color_map { //[0.5 rgb <.9,.95,1>] [0.5 rgb 1.25] //[1 rgb <0.85,0.92,0.98>] [1 rgb <.5,.7,1>*1.1] } } } #declare FIN = finish { ambient 0 diffuse 1 brilliance 1.2 #if (PASS = 2) reflection { 0.025,.5 falloff 4 } #end specular 1 } #include "lugnetcolors.inc"