POV-Ray : Newsgroups : povray.advanced-users : Animating spline vertices in a sphere sweep? : Animating spline vertices in a sphere sweep? Server Time
28 Jul 2024 10:26:09 EDT (-0400)
  Animating spline vertices in a sphere sweep?  
From: Mike
Date: 21 Mar 2006 20:35:00
Message: <web.4420a93d2893096649a12b420@news.povray.org>
Has anyone ever tried to do the following?

sphere_sweep {
        cubic_spline
             4 , // Num_of_spheres
             #if (clock > 0.25) < 50 , 50 , 50 >, 8 #end
             #if (clock > 0.5) < 50 , 60 , 50 >, 8 #end
             #if (clock > 0.75) < 50 , 50 , 90 >, 8 #end
             #if (clock > 0.9) < 50 , 40 , 50 >, 8 #end
             texture {
               pigment { color Red }
               }
        }

I keep getting an error where povray expects a number expression and finds
the texture { instead. I think its related to the number of spheres
changing dynamically with the clock? Any suggestions? I would really prefer
to use a sphere sweep.

As always, much thanks!

-mike


Post a reply to this message

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