POV-Ray : Newsgroups : povray.advanced-users : Stop rendering using a break statement : Re: Stop rendering using a break statement Server Time
16 May 2024 16:57:35 EDT (-0400)
  Re: Stop rendering using a break statement  
From: Le Forgeron
Date: 8 Feb 2015 16:18:38
Message: <54d7d2ae@news.povray.org>
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.


Post a reply to this message

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