POV-Ray : Newsgroups : povray.pov4.discussion.general : Suggest v4.0 f_bezier_2d_...() functions. (yuqk R19 v0.6.13.0) : Re: Suggest v4.0 f_bezier_2d_...() functions. (yuqk R19 v0.6.13.0) Server Time
14 Mar 2025 07:12:42 EDT (-0400)
  Re: Suggest v4.0 f_bezier_2d_...() functions. (yuqk R19 v0.6.13.0)  
From: Tor Olav Kristensen
Date: 1 Mar 2025 11:30:00
Message: <web.67c334a86d1e536f43a63f5189db30a9@news.povray.org>
William F Pokorny <ano### [at] anonymousorg> wrote:
> Adding the inbuilt functions: f_bezier_2d_linear()
> f_bezier_2d_quadratic() f_bezier_2d_cubic() f_bezier_2d_quartic() and
> f_bezier_2d_quintic() to the next yuqk release (R19).
>
> The functions take and return single float packed 2d vectors in a
> double's space for control points and return values. Calculations are at
> double float accuracy internal to each functions code. The t parameter
> is passed as a double.
>
> The calculation and return mode settings:
>    0=<u,v> at t.
>    1=<u',v'> at t.             (Tangent normalized)
>    2=<normal u,normal v> at t. ((1) rotated for normal)
>    3=<u',v'> at t.             (Tangent / velocity)
>    4=<u'',v''> at t.           (Acceleration / change in tangent)
>    5=<u''',v'''> at t.         (Jerk / change in acceleration)
>
> Attaching images showing all six calculation and return modes for
> f_bezier_2d_cubic() f_bezier_2d_quartic() and f_bezier_2d_quintic().
>...

Hi Bill

That is Interesting.

But I can't figure out how to interpret the two bottom graphs in the
attached images.

--
Tor Olav
http://subcube.com
https://github.com/t-o-k


Post a reply to this message

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