POV-Ray : Newsgroups : povray.general : Spline question : Re: Spline question Server Time
8 Aug 2024 14:23:22 EDT (-0400)
  Re: Spline question  
From: Matt Giwer
Date: 4 Dec 2000 16:39:49
Message: <3A2C0F24.ACB368E2@ij.net>
Rune wrote:
> 
> I use a cubic spline, and I want a curve something like this:
> (ASCII art, use monospace font)
> 
>                         o
>                       _-
>                    __-
> o-------o-------o--
> 
> But instead I get something like this:
> 
>                         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.
> Using a different spline type is not an option.
> 
> Maybe a can insert an extra control point or two, but where is it most
> effective to put it?
> Any "tricks"?

	That is the way it is supposed to work. It has to go down to smooth 2,
3 and 4. You should see the line between 1 and 2 going up a little. 

	Move your third point from the left control point further along the
curve.

-- 
Any law passed for political reasons is the creation
of a political crime.
	-- The Iron Webmaster, 21


Post a reply to this message

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