|
![](/i/fill.gif) |
"uekstrom" <uekstrom at gmail dot com> wrote in message
news:web.49425fa548f3798df1d58de20@news.povray.org...
> Hi all. I am trying to make a texture for producing images that look a bit
> like
> x-ray pictures (see for example
> http://cebas.com/products/feature.php?UD=10-7888-33-788&PID=45&FID=401 for
> what
> I mean). For doing this I think I need a transparent or filter value that
> depends on the surface normal. The surface should be transparent when
> facing
> the camera and opaque when viewed from the side. Is it possible to specify
> this
> in some simple way?
not, afaik, in the official POV-Ray, very easily so in MegaPOV (aoi-pattern)
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
|
![](/i/fill.gif) |