POV-Ray : Newsgroups : povray.advanced-users : Curve calculation : Re: Curve calculation Server Time
2 Nov 2024 15:23:25 EDT (-0400)
  Re: Curve calculation  
From: Ph Gibone
Date: 23 May 1999 10:43:45
Message: <37480611.0@news.povray.org>
Hi Lewis

Give a look to B-spline, Beziers, TorePatch etc.
It is very easy to find a curve going from A to C, smoothly through B, the
point is there are to many such curves so you have to give more informations
about the curve you want (tangent at the starting point degree of the
smoothness (continuous function (not smooth), function with a continuous
derivative (usually smooth enough) or even more..)

If you have Moray you can try the trans and rotat primitives and play with
the spline type!

HTH
Philippe


>I'm starting to work on a nice little macro project (you'll see when
>it's done). I need to be able to calculate a path using only several
>points on it. For example, I get the coordinates of points A, B and C. I
>want to calculate a position on a path that goes through A, B and C,
>that is SMOOTH. That is, the path bends smoothly from A to C, going
>through B, without sudden turns. I should be able to specify what level
>of "bendness" I want, that is how smooth the path will be. It isn't as
>easy as I thought in the beggining.
>
>This can be very useful for the macro I'm going to write (it's just a
>part), and will be totally cool if possible.
>
>Any ideas?


Post a reply to this message

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