POV-Ray : Newsgroups : povray.advanced-users : Smooth, continuous Bezier splines (again) : Re: Smooth, continuous Bezier splines (again) Server Time
5 Feb 2025 15:10:23 EST (-0500)
  Re: Smooth, continuous Bezier splines (again)  
From: Bald Eagle
Date: 28 Jan 2025 14:20:00
Message: <web.67992cb396675d9f327467e125979125@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:

> There are still "bumps", so I think I still need to somehow account for the
> varying curvature along the splines.

So, I guess what I'm going to have to do is work out the first and second
derivatives of the Bernstein polynomials and calculate the curvature K (okay, I
already know how to do this, and have done it, and have code)

K = (x' y'' - x'' y') / (x' x' + y' y') ^ (3/2)

but then I need to figure out how to solve for sets of control point coordinates
that give me matching curvatures.

The task of fairing these curves to match "smoothly" is a conceptually
straightforward thing - hammering out the details of how to do that appears to
be a bit more mathematically involved than most would first imagine.

- BW


Post a reply to this message

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