

Le 20220817 à 10:37, Aj a écrit :
> Hello everyone,
>
> I am pretty new to povray and I have the following code, where I get the x,y,
> and z coordinates of 6 different points from a simulation and then create a
> sphere sweep through these points. But the problem is the length of this object
> changes with time i.e. as the points move, the sphere sweep object appears to
> change size. If you look at the picture attached then the white and green
> objects appear to be of different lengths.
>
> Any suggestion will be really helpful.
>
They appear to be of different length because they ARE of different length.
You should try the inverse kynetic neck (ot IKN) macro that was
published in one of the news groups. It takes two end points, a
stiffness parameter at both ends, a twist value at each end, and a total
length as input. It returns a spline of the correct length connecting
the end points, or an error message if the end points are to far apart.
Post a reply to this message

