POV-Ray : Newsgroups : povray.general : Spline question : Re: Spline question Server Time
8 Aug 2024 14:22:34 EDT (-0400)
  Re: Spline question  
From: Warp
Date: 3 Dec 2000 12:03:21
Message: <3a2a7cd9@news.povray.org>
Rune <run### [at] inamecom> wrote:
:                         o
:                       _-
:                   __--
: o-------o----___o-

: The curve goes a bit down before it goes up, and I don't want that.
: I know *why* this happens, but I don't know how to avoid it.

  Raise the third point a bit.

  It's just a property of the spline. It's not working "wrong" or anything,
it just works like that.
  As said, raising the third point a bit should help.
  Now, it's an interesting question, how much should it be raise to get a
perfect solution.
  (Btw, you'll probably need to raise the second point a bit as well if
you don't want the curve to go down anywhere.)

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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