|
|
Usually I used my own blob (AKA metaball) function:
field=sum(d/(pow(x-a,2)+pow(y-b,2)+pow(z-c,2)+0.001))
a,b,c are center coordinates and d is strength. And while playing with this formula I
discovered funny thing: if we use power other than 2, for example, 4 or even 8, we
get blobs, shaped as
rounded cubes, looking very similar to superellipsoids. I know, superellipsoids have a
little bit more complex formula, but this one's divider
(pow(x-a,2)+pow(y-b,2)+pow(z-c,2)) represents
a particular case, when e=n=1 (look in POV documentation, superellipsoid article).
Image attached.
If anybody interested in scene source, I can post it into p.b.s.-f.
Sincerely Yours, Alex Kluchikov.
Post a reply to this message
Attachments:
Download 'meta.jpg' (58 KB)
Preview of image 'meta.jpg'
|
|
|
|
On Tue, 26 Aug 2003 22:45:56 GMT, Alex Kluchikov <akl### [at] mailru>
typed the following:
> If anybody interested in scene source, I can post it into
> p.b.s.-f.
I would like the source please. Not just for the shape but also
for the colors you used!
-Kedar
Post a reply to this message
|
|