|
|
I'd like to have a complex object becoming more and more transparent
over time in order to reveal the interior. Is it possible in povray to
"apply" transparency to a compound object (where individual components
have already their textures applied)?
Eg. given:
object {
union {
box{<0,0,0>,<1,1,1> texture{pigment{Red}}}
box{<0,0,0>,<1,1,1> texture{pigment{Yellow}}}
}
...
}
is there anything I can put in place of the '...' in order to get a
cube with a redish transparent tint and one with a yellowish tint?
Thanks a lot,
Maurizio
Post a reply to this message
|
|
|
|
> I'd like to have a complex object becoming more and more transparent
> over time in order to reveal the interior. Is it possible in povray to
> "apply" transparency to a compound object (where individual components
> have already their textures applied)?
Nope, not possible. The best thing you can do is something like that
#local TRANSMIT = 0.5;
#local FILTER = 0;
#local Tex1 = texture {
pigment { Red filter FILTER transmit TRANSMIT }
}
#local Tex2 = texture {
pigment { Green transmit TRANSMIT/2 }
}
etc.
HTH,
Florian
--
camera{look_at-y*10location<8,-3,-8>*10}#local a=0;#while(a<999)sphere{
#local _=.01*a-4.99;#local p=a*.01-5;#local c=.01*a-4.995;<sin(p*pi)*5p
*10pow(p,5)*.01>sin(c*c*c*.1)+1pigment{rgb 3}}#local a=a+1;#end
/******** http://www.torfbold.com ******** http://www.imp.org ********/
Post a reply to this message
|
|