|
![](/i/fill.gif) |
On 21-11-2011 8:50, clipka wrote:
> Is that your complete scene? Because when I render it I don't see
> anything brownish where the two gels overlap.
>
>
> Try giving the blue gel a slightly green-ish hue, say rgbf <0,0.2,1,.9>,
> otherwise the combination of the two filters will let no light through
> at all (<0,0,1>*<1,1,0> = <0,0,0>).
The boxes should be *hollow* in order for the media to show. Also, if
you want the media to show the gel's colour, do this, and switch off the
photons and the absorbtion for the time being. I think the brownish
colour comes from the way the light is treated in RL and in POV-Ray:
additive versus substractive?
#declare Blue_gel =
box {<0, 0,0 > <1, 1, -.01 > hollow
texture {pigment {rgbt 1}}
interior {
media {
//absorption Blue
scattering {1, <0,0,1>*1000}
}
}
/*photons{
target
reflection on
refraction on
}*/
}
#declare Yellow_gel =
box {<0, 0,0 > <1, 1,-.01 > hollow
texture {pigment{rgbt 1}}
interior {
media {
//absorption Yellow
scattering {1, <1,1,0>*1000}
}
}
/*photons{
target
reflection on
refraction on
}*/
translate <.5,.5, -.5>}
Blue_gel
Yellow_gel
Thomas
Post a reply to this message
|
![](/i/fill.gif) |