POV-Ray : Newsgroups : povray.advanced-users : Stop rendering using a break statement : Re: Stop rendering using a break statement Server Time
16 May 2024 10:34:46 EDT (-0400)
  Re: Stop rendering using a break statement  
From: Mike Horvath
Date: 8 Feb 2015 15:32:10
Message: <54d7c7ca$1@news.povray.org>
On 2/8/2015 3:20 PM, clipka wrote:
> Am 08.02.2015 um 20:26 schrieb Mike Horvath:
>> Is there a easy way to stop rendering based on a condition, sort of like
>> a break statement in a loop? I know I can wrap my entire scene in a
>> condition, but I am hoping there is something simpler. Thanks.
>
> POV-Ray is quite a fascinating thing: It provides ways to do plenty
> different things, sometimes in more than one fashion.
>
> Therefore, rather than ask about a very specific mechanism, it is often
> a more promising approach to ask about the goal you ultimately want to
> achieve; the mechanism you have in mind for it might be unavailable, but
> there might be other ways around it.
>

One thing I want to do is stop parsing when frame_number equals some 
number. I've created an animation with duplicates that I don't need. But 
I can think of other instances where this could be handy.


Post a reply to this message

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