POV-Ray : Newsgroups : povray.general : spline.inc : Re: spline.inc Server Time
12 Aug 2024 19:28:48 EDT (-0400)
  Re: spline.inc  
From: Thomas Willhalm
Date: 20 Jan 1999 08:06:16
Message: <qqmzp7e5c1l.fsf@goldach.fmi.uni-konstanz.de>
"Chris Field" <fun### [at] hotmailcom> writes:

> 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"
> 
[ splines snipped ]

It it possible to use several splines at a time. We used up to 65 splines
in a project last year. We did however not use "ShowSpl.inc". The way we
used the splines was:

  #declare spline_clock = value1
  #include "node00.spl"
  #declare node00 = spline_pos

  #declare spline_clock = value2
  #include "node01.spl"
  #declare node01 = spline_pos


I hope this helps.

Thomas


-- 
http://www.fmi.uni-konstanz.de/~willhalm


Post a reply to this message

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