POV-Ray : Newsgroups : povray.newusers : Spline as a function : Spline as a function Server Time
29 Jul 2024 22:27:45 EDT (-0400)
  Spline as a function  
From: Oleguer Vilella
Date: 11 Feb 2005 05:30:28
Message: <420c8944@news.povray.org>
Hi all,

I was reading that I can use a spline like a function. Can anyone give me an 
example?
It says: SPECIAL_VECTOR_FUNCTION:
    TRANSFORMATION_BLOCK | SPLINE
How I have to introduce the spline?

I declare a function like this:
======================================
#declare F4 = function { y-(x/3/8)+9-(z/3/8) }
======================================

Why if I do this the program gives me an error:
======================================
#declare F4 = function { y-(x/3/8)+9-(z/3/8) }
#declare F5 = function { y-cos(x/3/5)-3sin(z/3/8)
#declare F6 = F5*F6;
======================================

Thanks in advance,
Oleguer


Post a reply to this message

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