|
![](/i/fill.gif) |
The following scene demonstrates several bugs in UVPov 6.1
As is, only 7 photons are shot while rendering the image, and none are
stored. If you add the line "falloff 1" to the cylinder light and increase
the
radius of the media sphere to 50, only 7 photons are shot, and none are
stored. If you increase the radius of the media-containing sphere to 50,
so that it encloses both the camera and the light source, plenty of photons
are shot, but no photons are stored in the scattering media, even though
I specified that UVPov should do so. Removing the ground plane causes
photons to be stored in the media.
Mark
/////////////////////////////////////////////////////////
plane{y, 0 pigment{ checker color rgb 1, color rgb .5} }
camera{location 11 look_at 0}
#declare phd = 1;
global_settings{
max_trace_level 20
photons{
gather 20, 100
radius .1*phd, 2, .1*phd
autostop 0
jitter .2
expand_thresholds 0.2, 40
max_trace_level 20
max_media_steps 100
}
}
light_source{
x*50 rgb <1,0,0>
cylinder
radius .1
point_at <0,0,0>
}
box{<-2,0,-.1>,<2,1,0>
pigment{rgb 1}
finish{ambient 0 diffuse 0 reflection 1}
rotate y*-45
photons{
separation 0.005*phd
refraction off
reflection on
}
}
difference{
cylinder{0, y*2, 10}
cylinder{y*-.1, y*2.1, 9.9}
box{<10.01, -.001, -1>,<9.5, 2.02, 1>}
pigment{rgb 1}
finish{
ambient .1
diffuse 1
}
}
sphere{ //Media to scatter light
0, 11
pigment{rgbt 1}
finish{ambient 0 diffuse 0}
hollow
interior{
ior 1
media{
scattering{ 1, 1 extinction 0}
method 3
intervals 1
samples 1, 10
}
}
}
Post a reply to this message
|
![](/i/fill.gif) |