POV-Ray : Newsgroups : povray.animations : Camera moving with different splines : Re: Camera moving with different splines Server Time
20 Apr 2024 00:28:13 EDT (-0400)
  Re: Camera moving with different splines  
From: bone bone
Date: 2 Jul 2011 06:40:02
Message: <web.4e0ef4e3e9570dd950d31950@news.povray.org>
"Roman Reiner" <lim### [at] gmxde> wrote:
> "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


thank you! i haven't seen you message but thats what i have done now, too! ;)


Post a reply to this message

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