|
![](/i/fill.gif) |
> Could you post your source code so we can all play with the scales and
> settings?
Sure:
#version 3.7;
global_settings{ assumed_gamma 1.0 }
#declare Photons = off;
#declare Dispersion = off;
#declare Radiosity = off;
global_settings {
max_trace_level 50
#if(Photons)
photons {
//count 4000000
spacing 0.002
autostop 0
jitter 1.0
}
#end
#if(Radiosity)
radiosity {
pretrace_start 0.128 // start pretrace at this size
pretrace_end 0.002 // end pretrace at this size
count 1600 // higher -> higher quality (1..1600) [35]
nearest_count 20 // higher -> higher quality (1..10) [5]
error_bound 0.5 // higher -> smoother, less accurate [1.8]
recursion_limit 5 // how much interreflections are calculated
(1..5+) [3]
low_error_factor 1.0 // reduce error_bound during last pretrace
step
gray_threshold 0.0 // increase for weakening colors (0..1) [0]
minimum_reuse 0.005 // reuse of old radiosity samples [0.015]
maximum_reuse 0.1
brightness 1 // brightness of radiosity effects (0..1)
[1]
adc_bailout 0.005
}
#end
}
camera {
location <0, 5, -10.001>
look_at <0, 1, 0>
up y
}
plane {
y, 0
pigment { color rgb 1 }
finish { ambient 0 diffuse 1 }
}
sphere {
<-2, 1, 0>, 1
pigment { color rgb <1, 0, 0> }
finish { ambient 0 diffuse 1 }
}
sphere {
<2, 1, 0>, 1
pigment { color rgbf <1, 1, 1, 0.9> }
finish { ambient 0 diffuse 0.9 reflection 0.1 }
interior {
ior 1.3
#if(Dispersion)
dispersion 1.007
dispersion_samples 28
#end
#if(!Photons)
caustics 0.5
#end
}
#if(Photons)
photons {
target
reflection on
refraction on
}
#end
}
light_source {
<0, 1, 0>
color rgb 1
}
Post a reply to this message
|
![](/i/fill.gif) |