POV-Ray : Newsgroups : povray.newusers : problem with splines and sphere_sweep : Re: problem with splines and sphere_sweep Server Time
30 Jul 2024 00:24:35 EDT (-0400)
  Re: problem with splines and sphere_sweep  
From: Neil Kolban
Date: 21 Dec 2004 20:38:18
Message: <41c8d00a$1@news.povray.org>
Ed,
I am a newbie here too but my understanding is that with the b_spline, there
are points before and after the ones that you want "visible" that direct the
shapes entry and exit from the scene.

Have a look at the following web page:
http://www.cse.unsw.edu.au/~lambert/splines/Bspline.html

You will notice that points '0' and '3' don't "show" in the curve but have a
strong effect on how the curve starts and ends.

Neil

"Ed Mann" <nomail@nomail> wrote in message
news:web.41c8cdaaa10ca6393028a1b20@news.povray.org...
> I've got the following problem: when i create a sphere sweep like this
>
> sphere_sweep {
>     linear_spline
>     4,
>     <0, height, 0>, 0.05,
>     <0, height+1, 0>, 0.05,
>     <0, height+2, 0>, 0.05,
>     <0, height+3, 0>, 0.05
> }
>
> the produced body looks as it should be. But when i use b_spline (or
> cubic_spline) it is cut off in y-direction, so that effectively it looks
> like:
>
> sphere_sweep {
>     linear_spline
>     4,
>     <0, height+2, 0>, 0.05,
>     <0, height+2, 0>, 0.05,
>     <0, height+2, 0>, 0.05,
>     <0, height+3, 0>, 0.05
> }
>
>
>
>


Post a reply to this message

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