POV-Ray : Newsgroups : povray.general : recovering from a power outage : Re: recovering from a power outage Server Time
3 May 2024 16:16:35 EDT (-0400)
  Re: recovering from a power outage  
From: omniverse
Date: 1 Jun 2017 18:25:00
Message: <web.59309311f571564d9c5d6c810@news.povray.org>
"clipka" <nomail@nomail> wrote:
>
> 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.

Curious about this and I couldn't cause power loss with my notebook computer
because the battery isn't accessible without dismantling it. So I only tried End
Task from Windows 10 and the file remains usable.

However, I thought maybe I could remove the last portion of the state file and
still be able to continue a render that way. Idea being that if all it does is
append each render block info, and the last one was incomplete or corrupt, maybe
deleting back to the last complete good block would let it be usable again.

Well, no good. At least if simply editing in Notepad. Yet it is obvious, or so I
believe, where the blocks seem to begin and end. This is something like the end
of a good state file:




So removing everything from file end to next similar part was what I thought
might work okay. I'm thinking there must be something else other than just a
file append happening, or I didn't edit properly.
When I made the attempt to use +C with the edited state file the render only
restarts fresh again.

Bob


Post a reply to this message

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