POV-Ray : Newsgroups : povray.newusers : Length of spline object changes during animation : Re: Length of spline object changes during animation Server Time
30 Nov 2022 22:08:18 EST (-0500)
  Re: Length of spline object changes during animation  
From: ingo
Date: 19 Sep 2022 09:15:00
Message: <web.63286b0870f1e1be17bac71e8ffb8ce3@news.povray.org>
"Aj" <nomail@nomail> wrote:

> So basically the < x, y, z > coordinates are coming from a numerically simulated
> soft robot and the entire shape of the robot changes over time. So I was trying
> to create a spline through these points that move in the 3d space. I agree that
> the splines will be of different lengths depending on the location of control
> points but this is what I am trying to fix. As the spline represents a soft
> robot that is capable of only changing its shape keeping the length constant.
> I hope this clears some of your doubts.

A possible way is to "resample" your found spline with n pieces of cylinder with
the same length. Think of a "swan neck" sphere-cylinder-sphere-cylinder-sphere
etc. All depends on the smoothness you strive for.


Post a reply to this message

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