POV-Ray : Newsgroups : povray.general : spline.inc : Re: spline.inc Server Time
12 Aug 2024 19:38:03 EDT (-0400)
  Re: spline.inc  
From: Chris Field
Date: 16 Jan 1999 05:59:06
Message: <36a070fa.0@news.povray.org>
now i know i can get the same effect as using these two splines by using one
and rotating it, but this gives an idea of what i'm talking about.
i certainly hope i've made no stupid mistakes...

heres the code -

--------spline-test.pov---------
camera {location <0, 70, -30> look_at <0, 0, -30> }
#declare spline_smoothness = 300
#declare spline_file = "left.spl" #include "ShowSpl.inc"
#declare spline_file = "right.spl" #include "ShowSpl.inc"

-------left.spl----------
#declare spline_segments = 1
#declare spline_loop = false

#declare point0 = <-100,   0,  -60>
#declare point1 = <-40,   0,  -60>
#declare point2 = <0,   0, 2>
#declare point3 = <0,   0, 10>
#include "Spline.inc"

------right.spl---------

#declare spline_segments = 1
#declare spline_loop = false

#declare point0 = <100,   0,  -60>
#declare point1 = <40,   0,  -60>
#declare point2 = <0,   0, 2>
#declare point3 = <0,   0, 10>
#include "Spline.inc"


Post a reply to this message

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