POV-Ray : Newsgroups : povray.advanced-users : Stop rendering using a break statement : Re: Stop rendering using a break statement Server Time
16 May 2024 02:48:44 EDT (-0400)
  Re: Stop rendering using a break statement  
From: Mike Horvath
Date: 8 Feb 2015 19:31:02
Message: <54d7ffc6$1@news.povray.org>
On 2/8/2015 4:18 PM, Le_Forgeron wrote:
> Le 08/02/2015 21:32, Mike Horvath a écrit :
>> 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.
>
> You just want the +EF option ( end-frame, followed by the number of the
> frame after which to stop the rendering of the range.)
>
> Look also at SF (start frame) to start after the first one.
>


No. For example I may want frames 1-3 and 5-6 parsed and rendered, but 
not frame 4. Your suggestion doesn't work in this case.


Post a reply to this message

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