POV-Ray : Newsgroups : povray.animations : Camera moving with different splines : Re: Camera moving with different splines Server Time
24 Apr 2024 15:14:20 EDT (-0400)
  Re: Camera moving with different splines  
From: Roman Reiner
Date: 2 Jul 2011 06:20:01
Message: <web.4e0eef9de9570ddefc603fe0@news.povray.org>
"bone_bone" <bon### [at] webde> wrote:
> so i try to do with "while":

You're misusing #while. A while-loop repeatedly executes the code inside it
while (hence the name) the condition is true. What you are looking for is
#if/#else e.g.

#if(clock<6)
  // <6
#else
  #if (clock>9)
    // >9
  #else
    // >6 and <9
  #end
#end


Post a reply to this message

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