|
|
"Norbert Kern" <nor### [at] t-onlinede> wrote in message
news:web.44a5389df94cf7555504269e0@news.povray.org...
> I have a problem. I want to generate discs with overlaping textures.
But all
> what I get are discrete discs despite trying many settings for
transmit or
> filter. The disc definition is as follows -
>
> //__________________________________
>
> disc {
> 0,y,1
> texture {
> pigment {
> cylindrical
> color_map {
> [0.0 rgb 0.5 transmit 0 filter 0]
> [0.3 rgb 1.0 transmit 0 filter 0]
> [0.9 rgb 0.0 transmit 0 filter 0]
> [1.0 rgb 0.0 transmit 0 filter 0]
> }
> }
> finish {ambient 1 diffuse 0}
> }
> }
>
> //___________________________________
how do you expect to have transparency with a transmit-value of 0 ? :-/
try:
disc {
0,y,1
texture {
pigment {
cylindrical
color_map {
[0.0 rgb 0.5 transmit 1]
[0.3 rgb 1.0 transmit 0]
[0.9 rgb 0.0 transmit 0]
[1.0 rgb 0.0 transmit 0]
}
}
finish {ambient 1 diffuse 0}
}
}
cu!
--
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x) // ZK http://www.povplace.com
Post a reply to this message
|
|