POV-Ray : Newsgroups : povray.binaries.images : Two Blobs (14 KB) : Re: Two Blobs (14 KB) Server Time
5 May 2024 01:10:46 EDT (-0400)
  Re: Two Blobs (14 KB)  
From: Chris Huff
Date: 27 Jun 2000 16:36:50
Message: <chrishuff-E7903A.15365127062000@news.povray.org>
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.


> 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. :-)


> 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.

-- 
Christopher James Huff - Personal e-mail: chr### [at] maccom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://homepage.mac.com/chrishuff/
TAG Web page: http://tag.povray.org/


Post a reply to this message

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