|
|
What about a change of cordinate befor calling the isosurfuce function.
I suppose that your suface is using the x,y, z coordinate
#declare Trunk = isosurface { function { F(x,y,z) ....}...}
let's have X = x *F1x(y) + F2x(y);
and Z = z *F1z(y) + F2z(y);
/*
for example F1x(y) = F1z(y) = 1 + (R1-R0)*y/(R0*Y1) // Diametre of trunk =
R0 for y=0 and R1 for y = Y1
F2z(y) = Scale*bozo(AnyX,y*Freq,AnyZ), same for F2x with other value for
Scale, AnyX, AnyZ and Freq
*/
to describe size reduction and the displacement of the trunk along the Y
coordinate and then
#declare Trunk = isosurface { function { F(X,y,Z) ....}...}
I think that you will get what what you want.
Chaps.
"Gena Obukhov" <obu### [at] mailcom> wrote in message
news:3DA10D20.A10F06A6@mail.com...
> The attempt to use spline for trunk.
> See the source in p.b.s.f.
> Unfortunately, the bark doesn't follow the spline.
> I'm not sure that it's possible to fix that in isosurface.
> If you have any idea how to do that please let me know.
>
> Gena.
>
>
----------------------------------------------------------------------------
----
Post a reply to this message
|
|