POV-Ray : Newsgroups : povray.binaries.images : Re: spline macro help need. - explain.jpg (1/1) : Re: spline macro help need. + progress.jpg 36Ko - in_progress.jpg (1/1) Server Time
11 Aug 2024 19:38:43 EDT (-0400)
  Re: spline macro help need. + progress.jpg 36Ko - in_progress.jpg (1/1)  
From: Mike Williams
Date: 7 Feb 2004 13:52:18
Message: <ideQLCAcOTJAFwHO@econym.demon.co.uk>
Wasn't it Kurts who wrote:
>thanks you. i follow yours advices. some progress but still one problem.

There's a typo in your spline co-ordinates. 
Cubic splines don't like it if you have repeat control points. 
You typed:

#declare MySplinePoints[1] =< 0, 2, 0>;
#declare MySplinePoints[2] =< 0, 2, 0>;

Instead of

#declare MySplinePoints[1] =< 0, 2, 0>;
#declare MySplinePoints[2] =< 2, 2, 0>;

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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