POV-Ray : Newsgroups : povray.general : recovering from a power outage : Re: recovering from a power outage Server Time
3 May 2024 23:48:42 EDT (-0400)
  Re: recovering from a power outage  
From: clipka
Date: 1 Jun 2017 03:40:01
Message: <web.592fc459f571564d1c5977890@news.povray.org>
"peyrol" <nomail@nomail> wrote:
> I could not find a command line switch for, nor any mention of, periodically
> saving the image to a file while rendering it. Is this done automatically? I'm
> not talking about animation. I'm talking about rendering a single very high
> resolution image.
>
> I see how to initiate a controlled abort, and how to resume where you left off
> later. What I'm not sure about is how to resume from a power outage, which would
> effectively be an uncontrolled abort. If POVray provides no way to periodically
> and automatically save what has been rendered so far to a file, that does not
> bode well. Please tell me I am wrong about this. Thanks for any clue.

The procedure is the same as for an intentional abort: Unless you specify the
`-CC` command-line switch, POV-Ray automatically saves all the Rendering
Progress in the infamous "state file", allowing it to pick up on it later with
the `+C` abort-continue command-line switch.

Progress is saved not at specific time intervals, but each time a render block
is completed.

If the power outage strikes at a time where POV-Ray is just updating the state
file, there might be a possibility that the state file gets corrupted; I've
never had a look how robust POV-Ray's abort-continue mechanism would be with
respect to a truncated state file.


Post a reply to this message

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