Mick Hazelgrove nous apporta ses lumieres ainsi en ce 2004/05/16 14:52... :
>In this case an isosurface - is there a way of transforming an isosurface so>thet the top is made thinner than the bottom?>>Mick>>> >
Yes by using an inverted gradient y to modulate the horizontal size.
With a maximum value at the bottom reatching zero at the top, you
multiply the x and z sizes by the gradient value. You can also use some
function that depend on the vertical position if you want a non-linear
tapering.
Alain
Wasn't it Mick Hazelgrove who wrote:
>In this case an isosurface - is there a way of transforming an isosurface so>thet the top is made thinner than the bottom?
Here's a non-linear taper:
#declare F to be your original function(x,y,z) then use
isosurface {
function{F(x*(1.5+y/2),y,z*(1.5+y/2))}
This tapers from the initial width at y=-1 to half the width at y=1
--
Mike Williams
Gentleman of Leisure