POV-Ray : Newsgroups : povray.programming : [Overly ambitious project] Isoblob update : Re: [Overly ambitious project] Isoblob update Server Time
29 Jul 2024 02:22:50 EDT (-0400)
  Re: [Overly ambitious project] Isoblob update  
From: Bill Young
Date: 4 Jul 1999 22:47:33
Message: <37801CCC.3129@gis.net>
ingo wrote:
> Imagining what an isoblob will look like is a bit a problem for me. If you take,
> for example, the wood pattern as a function and a cylinder as a component. Will
> the resulting object be a number of tubes inside each other? Or will it be like
> a cylinder with a heavy wood normal? Or something completely different?
> (probably)

If you made the object transparent, it probably would look like a series
of layered tubes, yes, depending on the max trace level.
Mostly my idea was to allow things like random noise and more complex
functions to be thrown into a blob.

> Speaking of trees, would it be possible to use a spline as a function for an
> isoblob?

Anything that works for an isosurface ought to do--so I don't think
splines will work unless you do some tinkering to make a rather complex
function to do it.
Incidentally, the if() function code I sent to Ron should allow
piecewise functions. My function code still needs a tad more work in the
int_atan2() function, but everything else works just fine. The if()
function will work something like this:

#declare ifexample=function{if(x+y,1,0.5)}

The value of this function is 1 where x+y>=0, and 0.5 where x+y<0. It's
*very* handy.

Lummox JR


Post a reply to this message

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