|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |