|
![](/i/fill.gif) |
Okay, I tried this with a HORIZONTAL mirror, but the reflection is
incorrect, not reflected by the horizontal mirror, and seems reflected by a
vertical ones. And another question, why the light turns stranger even
though I put the extinction to 0.5.
global_settings {
assumed_gamma 1
max_trace_level 5
photons {
count 150000
max_trace_level 9
media 100, 2
}
}
background { color <0.000,0.000,0.000> }
camera {
location <0,3,-10>
angle 120
up 1*y
right 1.333*x
look_at <0,3,0>
translate <0,0,0>
}
light_source { // Spotlight Spotlight001
<20.0, 10, 0.0>
color rgb <1.000, 0.000, 0.000>*20
cylinder
point_at <-20, -10, 0.000>
falloff 0.268 // outer radius (in deg)
radius 0.238 // inner radius
tightness 0.000
media_attenuation on
photons {refraction on reflection on}
}
light_source { // Light001
<0.0, 0.0, 0.0>
color rgb <1.000, 1.000, 1.000>
media_interaction off
}
background { color <0,0,0> }
//
// ******** OBJECTS *******
//
box { // Cube001
<-1, -1, -1>, <1, 1, 1>
pigment {
color rgbft <0, 0, 0, 1, 1>
}
interior {
media {
method 3
intervals 1
ratio 1
scattering {
1, rgb <1, 1, 1>
extinction 0.5
}
}
}
scale 20
hollow
}
plane {
y,2
finish {
reflection {1.0}
ambient 0
diffuse 0
}
photons {
target
refraction on
reflection on
collect off
}
}
Post a reply to this message
|
![](/i/fill.gif) |