POV-Ray : Newsgroups : povray.binaries.images : Two Blobs (14 KB) : Re: Two Blobs (14 KB) Server Time
5 May 2024 01:28:32 EDT (-0400)
  Re: Two Blobs (14 KB)  
From: Tor Olav Kristensen
Date: 27 Jun 2000 17:06:35
Message: <395916CA.D8746C63@online.no>
Chris Huff wrote:

> In article <39590943.6E32D6BD@online.no>, Tor Olav Kristensen
> <tto### [at] onlineno> wrote:
>
> > > You could probably use the blob pattern patch with eval_pattern() or
> > > eval_pigment() to do the same thing...it would probably render faster.
> >
> > I don't understand. Please explain this. And what is blob pattern patch ?
>
> The first two are new functions: eval_pattern() takes a point and a
> pattern, and returns the value of the pattern at that point, while
> eval_pigment() takes a point and a pigment, and returns the rgb color of
> the pigment at that point.
> The blob pattern...
> Well, blobs are defined as the surface formed by all points where the
> total "field strength" of several field emitting components is equal to
> a certain threshold, I think you already understand this quite well
> because it seems to be part of what your macro does. The blob pattern
> returns this field strength value, it basically lets you use blob
> components to control a pattern. I originally designed it to be mainly a
> media density pattern, but when used in a pigment function for an
> isosurface, it allows you to make blobs in the isosurface.
> The blob pigment is similar, but each component has a pigment and the
> pigment colors are blended together instead of the component fields.

This sounds like a lot of useful functions to me.
And the blob pattern sounds really cool !


> > Please, please include a torus component !
> > (I love torii and therefore I've been missing a torus component
> > for a long time.)
> > And maybe a cone component !
>
> I do plan on adding torus and cone components. :-)

Good.
Any chance of a torus segment component as well ?
(E.g.: Give a normal vector for the torus and a point in the "ring",
the angle it covers and the minor radius.)

Maybe im going to far now, but how about making it possible to
cut in the strength field of a component with primitive shapes ?
(I.e.: "CSG-light" for blobs)


> > The "blob" type component I don't understand.
>
> It just adds the contribution of the blob into the rest of the pattern.
> I added it so you don't have to translate/duplicate a blob object into
> the blob pattern.

Smart.
So then one can make nested blobs (or even recursive ones) ?

Thank you very much for explaining.


Tor Olav
--
mailto:tor### [at] hotmailcom
http://www.crosswinds.net/~tok/tokrays.html


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.