POV-Ray : Newsgroups : povray.binaries.scene-files : Making functions for natural cubic splines Server Time
1 May 2024 02:06:16 EDT (-0400)
  Making functions for natural cubic splines (Message 21 to 23 of 23)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Tor Olav Kristensen
Subject: Re: Making functions for natural cubic splines
Date: 18 Oct 2014 08:40:00
Message: <web.54425e955b2bbe7b7b9c043a0@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
....
> I'm looking to progress along a spline in a linear fashion - regularly spaced
> intervals.
....
> (What I'm trying to do at this point is "draw" between my sphere sweep and
> another sphere sweep or spline to "fill-in" the space between the two.  Maybe
> there's a better way that escapes me at the moment.)

Did you see these two posts ?

Newsgroup: povray.binaries.images
From: Tor Olav Kristensen
Subject: Spacing of points along natural cubic splines
Date: 12th Dec 2010
http://news.povray.org/povray.binaries.images/thread/%3Cweb.4d04e35320256a0cc734aecd0%40news.povray.org%3E/

Newsgroup: povray.text.scene-files
From: Tor Olav Kristensen
Subject: Even spacing of points along natural cubic splines
Date: 12th Dec 2010
http://news.povray.org/povray.text.scene-files/thread/%3Cweb.4d04dadb31d78932c734aecd0%40news.povray.org%3E/

I suggest that you make your own sphere sweeps with these functions (with
"connected" spheres, cylinders and cones if the spheres radii varies).
That way there's no need to "recover" the t-values afterwards.

--
Tor Olav
http://subcube.com


Post a reply to this message

From: Bald Eagle
Subject: Re: Making functions for natural cubic splines
Date: 18 Oct 2014 11:10:00
Message: <web.544281a35b2bbe7b5e7df57c0@news.povray.org>
"Tor Olav Kristensen" <tor### [at] TOBEREMOVEDgmailcom> wrote:

I did not look at those - too many things going on all at the same time, lol.

I did manage to work it out fairly closely - but this ought to help get it
working a lot better without having to plot so many cylinders.
I thought blobbing them all together would help - but I noticed some strange
behaviour.  threshold 0 gave me a web-like fill, and then raising it to 0.1 gave
me a much fuller effect.

I still need to work out a method for the upholstery "tufting", if I decide that
would add enough to be worth the effort.  :)

> I suggest that you make your own sphere sweeps with these functions (with
> "connected" spheres, cylinders and cones if the spheres radii varies).
> That way there's no need to "recover" the t-values afterwards.

So, make a third array with the diameters, and interpolate the intermediate
values...

That could be an interesting thing to experiment with - I suppose there's no
limit to the number of additional arrays - for color, texture, normals, etc.


Post a reply to this message

From: clipka
Subject: Re: Making functions for natural cubic splines
Date: 22 Oct 2014 11:12:24
Message: <5447c958$1@news.povray.org>
Am 18.10.2014 17:05, schrieb Bald Eagle:

> That could be an interesting thing to experiment with - I suppose there's no
> limit to the number of additional arrays - for color, texture, normals, etc.

Whatever fits inside your computer's memory.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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