POV-Ray : Newsgroups : povray.advanced-users : spline question : Re: spline question Server Time
28 Jul 2024 10:23:14 EDT (-0400)
  Re: spline question  
From: Mike Williams
Date: 6 May 2006 07:17:52
Message: <WfWW4EA5WIXEFwRC@econym.demon.co.uk>
Wasn't it LEO_BOLOGNA who wrote:
>My question is: in povray does splines (linear,quadratic or cubic) permit to
>define only curves or surface also?
>
>and, if it's possible to use splines to define a surface, does its degree
>have to be the same in "u" and "v" directions? or, for example, can I
>define a spline surface that has degree 1 in one direction and degree 2 in
>the other one?!?!

Spline functions themselves are always curves, not surfaces.

You can use splines in an isosurface function to draw surfaces that are
controlled by spline functions. You could use splines of different types
to control the x and z coordinates. In the third example on this page I
could just as well have used the x values from one spline and the z
values from a spline of a different type.

http://www.econym.demon.co.uk/isotut/more.htm

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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