POV-Ray : Newsgroups : povray.advanced-users : Smooth, continuous Bezier splines (again) : Re: Smooth, continuous Bezier splines (again) Server Time
5 Feb 2025 14:58:59 EST (-0500)
  Re: Smooth, continuous Bezier splines (again)  
From: Bald Eagle
Date: 30 Jan 2025 09:10:00
Message: <web.679b880396675d9f25b4de9225979125@news.povray.org>
"ingo" <nomail@nomail> wrote:
> William F Pokorny <ano### [at] anonymousorg> wrote:

> > The question too is whether some of this 'spline stuff' better fits in
> > spline{} like SDL feature -


> interpolate{} always seemed a more fitting keyword to me, even dough I didn't
> use it in my curves.inc ( https://ingoogni.nl/download/Curve.zip )


Well - I'm of two minds on this.
1. Yes, I suppose that formally, all of this would conceptually best be grouped
into the spline {} portions of the code.

however:

2. Using a spline in a user-defined SDL function would kill speed, would it not?
(I can also envision that if <x, y, z> were able to be plugged into splines at
render time, someone, somewhere would come up with some amazing thing to do with
that.)

However gets it done faster, or at all, is fine with me.

(This topic also suggests that looking into making array elements available to
functions might be something to look at as well.  After all, if splines can be
used in functions, why can't arrays be used - assuming that the element is of a
type able to be processed by a function {} )


Post a reply to this message

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