POV-Ray : Newsgroups : povray.general : how do I make a closed spline? : Re: To ABX and Ingo (was: how do I make a closed spline?) Server Time
19 Nov 2024 15:34:27 EST (-0500)
  Re: To ABX and Ingo (was: how do I make a closed spline?)  
From: Jaime Vives Piqueres
Date: 17 Feb 2002 11:14:52
Message: <3c6fd6fc@news.povray.org>
#declare Spline =
spline {
   cubic_spline
   -5, < 0,0,0>, // P3
   -4, < 1,0,0>, // P4
   -3, < 2,0,2>, // P5
   -2, <-2,0,2>, // P1 
   -1, <-1,0,0>, // P2
    0, < 0,0,0>, // P3 red joining point
    1, < 1,0,0>, // P4
    2, < 2,0,2>, // P5
    8, <-2,0,2>, // P1
    9, <-1,0,0>, // P2
   10, < 0,0,0>, // P3 red joining point
   11, < 1,0,0>, // P4
   12, < 2,0,2>, // P5 
   13, <-2,0,2>, // P1
   14, <-1,0,0>, // P2
   15, < 0,0,0>, // P3
}

-- 
Jaime Vives Piqueres

La Persistencia de la Ignorancia
http://www.ignorancia.org


Post a reply to this message

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