|
![](/i/fill.gif) |
"David El Tom" <dav### [at] t-online de> wrote in message
news:43bc13bb$1@news.povray.org...
> Zeger Knaepen wrote:
>
> >>2. declare functions based on object-patterns using the formerly
> >>declared blobs like this:
> >
> > this step is a problem: object-patterns are binary, either a point
is inside the object or it's on the outside, which makes them not
suitable for isosurfaces :-/
> >
> > cu!
>
> ah, ok I'see the point
>
> ... have to think about if it's possible to transform a blob which
> elements have a spherical pattern into a single pigment.
> This, I think, could solve the binary problem. Have to go into docs
> again ...
MegaPOV used to have a blob-pattern, but for some reason the latest
version doesn't have it anymore :(
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) |