POV-Ray : Newsgroups : povray.beta-test : Filling in T values in splines : Re: Filling in T values in splines Server Time
29 Jul 2024 22:23:58 EDT (-0400)
  Re: Filling in T values in splines  
From: Rune
Date: 24 Feb 2002 07:26:16
Message: <3c78dbe8@news.povray.org>
Hey, it just occurred to me that this syntax could be extended with other
options. Imagine the following:

#declare Spline =
spline {
   Spline_Type(Cubic_Spline)
   Spline_Points(7)
   Spline_Speed(Constant)

   SCP( 0.0, <0,1,2>)
   SCP(   x, <1,5,0>)
   SCP(   x, <4,1,0>)
   SCP(   x, <0,2,1>)
   SCP(   x, <0,0,1>)
   SCP(   x, <6,5,4>)
   SCP( 2.0, <4,3,2>)

   Spline_End()
}

I think this is beginning to be interesting! I hope you agree that the
approach shown here would fit well in the official include files?

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated Feb 16)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

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