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
6 Aug 2024 17:01:32 EDT (-0400)
  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.