|
![](/i/fill.gif) |
Kil### [at] sohcahtoa net news:402288b0@news.povray.org
> I actually tried to make it, but again, I can't quite figure out
> media, so it never worked.
It's actualy very easy,
just add
interior { media { emission .6 } }
in my image full texture is:
#declare Mat2 = material {
#if (QQ_MEDIA=0) texture { pigment { color <.6,.8,.97> filter .5 } finish { ambient
.5 } }
#else
texture { pigment { rgbf 1 } finish { ambient 0 diffuse 0 } }
interior {
media {
#local C=<.3,.72,.99>;
density { cylindrical color_map {[0 rgb 0*C][.5 rgb .3*C][.8 rgb .7*C][1 rgb
1*C]} }
emission .6
}
}
#end
}
and full .pov file is in .scene-files
--
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M
Post a reply to this message
|
![](/i/fill.gif) |