|
|
Overlapping media containers behave v. differently if the container pigment is
rgbft 1.
rgbf 1 and rgbt 1 behave identically as far as I can see.
The following scene demonstrates this (image posted to images).
The top two spheres have just rgbf 1, the middle two have rgbt 1, but the bottom
two have rgbft 1.
#version 3.5;
global_settings{
assumed_gamma 1.0
}
camera { location <0,0,-7> look_at 0}
sphere{
0,1
pigment{rgbf 1}
interior {
media {
emission rgb<0.7, 0.0, 0.0>
method 3
density {
spherical
}
}
}
hollow
scale 1.001
translate x*-0.5
translate y*2
}
sphere{
0,1
pigment {rgbf 1}
interior {
media {
emission rgb<0.0, 0.0, 0.7>
method 3
density {
spherical
}
}
}
hollow
translate y*2
}
sphere{
0,1
pigment{rgbt 1}
interior {
media {
emission rgb<0.7, 0.0, 0.0>
method 3
density {
spherical
}
}
}
hollow
scale 1.001
translate x*-0.5
}
sphere{
0,1
pigment {rgbt 1}
interior {
media {
emission rgb<0.0, 0.0, 0.7>
method 3
density {
spherical
}
}
}
hollow
}
sphere{
0,1
pigment{rgbft 1}
interior {
media {
emission rgb<0.7, 0.0, 0.0>
method 3
density {
spherical
}
}
}
hollow
scale 1.001
translate x*-0.5
translate y*-2
}
sphere{
0,1
pigment {rgbft 1}
interior {
media {
emission rgb<0.0, 0.0, 0.7>
method 3
density {
spherical
}
}
}
hollow
translate y*-2
}
--
#macro A(V,B,C,R)#while(B-256)#if(V-128/B>=0)sphere{0,.5translate<C-4R-1,9>
pigment{rgb<1-C/8R/2C/8>}}#local V=V-128/B;#end#local B=B*2;#local C=C+1;#
end#end A(234,1,0,2)A(85,1,0,1)A(81,1,0,0)light_source{-5 1}//Tom Melly
Post a reply to this message
|
|