POV-Ray : Newsgroups : povray.beta-test : Spline inconsistencies : Re: Spline inconsistencies Server Time
30 Jul 2024 06:25:43 EDT (-0400)
  Re: Spline inconsistencies  
From: Warp
Date: 23 Feb 2002 14:05:03
Message: <3c77e7df@news.povray.org>
Rune <run### [at] mobilixnetdk> wrote:
> If you do want evenly distributed values, use a macro that takes an array as
> input and fills in the time values for you.

  That's what I am doing right now. I'm using Colefax's spline macros.

> There you go, an easy solution
> both with and without evenly distributed values. Tell me again how you do
> that without the spline feature?

  You didn't get my point: I was complaining about *forcing* each time value
to be specifically written.
  My suggestion was that time values were *optional*, and if a time value
for a certain point is not given, it's calculated automatically by
interpolation/extrapolation.
  This would make splines a lot nicer to use.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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