|
|
Hello,
I don't know why my reflector doesn't reflect photons. With scattering and an
extinction value I should be able to see the area inside the cilindrical
reflector slightly brighter than the area outside. Furthermore, the image is the
same despite the value of "reflection" I use.
Another question. Please, could someone explain me what the extinction value
means?. Is it related to the Beer-lambert law, as I have read at the newsgroups
or only a percentage of the scattered light?
The code:
#version 3.7;
global_settings { ambient_light 0
photons {spacing 0.1 max_trace_level 5 media 100,1 radius 0.5 autostop 0}
assumed_gamma 1.0
}
//Container box
box {<-11,-11,-31><11,11,31> hollow
texture {pigment {color rgb 1}}
interior { media { scattering {1, color rgb <0.5,0.5,0.5> extinction 0.1}
method 3 intervals 1 samples 100 collect on} }
photons {pass_through}
}
//camera
camera {orthographic location <0,0,30.5> up <0,0,1> look_at <0,0,0> angle 50}
//Source
light_source { <0,0,0> rgb <1,1,1> fade_distance 1 fade_power 2
photons{reflection on refraction on}
}
//Reflector
cylinder {<0,0,-30> <0,0,30> 10 open clipped_by {box {<-30,-30,-40> <0,30,40>
inverse} }
texture {pigment {color rgb<1,1,1>} finish {emission 0 ambient 0 reflection
1 diffuse 0 } }
photons {target reflection on refraction off collect on}
}
Thanks
Post a reply to this message
|
|