POV-Ray : Newsgroups : povray.unofficial.patches : Splineproblem in MegaPov : Splineproblem in MegaPov Server Time
2 Sep 2024 16:21:00 EDT (-0400)
  Splineproblem in MegaPov  
From: ingo
Date: 10 Dec 1999 17:17:15
Message: <8E98EAC12seed7@204.213.191.228>
The following gives a "bad operand for period operator" error.
If it is SPL(clock).x there is no problem, with .z there is.


#declare SPL= spline{
   cubic_spline
    0  , 1
    0.5, 1.5
    1  , 2
}
sphere { <0,0,0>
   SPL(clock).y
   pigment {rgb 1}
}

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

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