POV-Ray : Newsgroups : povray.beta-test : v3.7.1 beta.6 : Re: v3.7.1 beta.6 Server Time
3 May 2024 17:23:58 EDT (-0400)
  Re: v3.7.1 beta.6  
From: Thorsten Froehlich
Date: 9 May 2017 13:10:01
Message: <web.5911f780e4817c0b92201a710@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 09.05.2017 um 14:14 schrieb William F Pokorny:
>
> > The great news is Christoph fixed ALL the sphere_sweep auto-bounding
> > issues I have in hand in beta 6! The auto-bounding issue has dogged
> > sphere_sweeps from day one with this object.
>
> In a certain sense I cheated: Rather than trying to come up with a
> formula to compute the minimum and maximum coordinates of a sphere sweep
> based on a Catmull-Rom spline (the thing POV-Ray calls `cubic_spline`),
> I just searched the Internerds for a formula to translate a Catmull-Rom
> spline into a (temporary) equivalent Bezier spline, and then exploiting
> the neat property that a Bezier spline can never "overshoot" its control
> points.

IIIRC that is actually the only solution because afaik one cannot compute the
convex hull of a Catmull-Rom spline.


Post a reply to this message

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