POV-Ray : Newsgroups : povray.general : Continue trace... Insight please Server Time
15 Oct 2026 01:57:45 EDT (-0400)
  Continue trace... Insight please (Message 1 to 17 of 17)  
From: Tim Nikias
Subject: Continue trace... Insight please
Date: 1 May 2002 07:48:53
Message: <3CCFD5F5.EE9B7695@gmx.de>
I was wondering:
How does POV-Ray know where to continue a trace?
I've looked through the rerun INIs and the pvengine.ini,
but to no avail. Does POV-Ray just look at the image
already traced, or what?

I'm just wondering because I have a major trace going
on, and wanted to use a second instance of POV to
work on some other stuff. But if I cannot get POV
to afterwords continue the major trace (cause I
reboot every now and then to clean the RAM and
SWAP-File) for sure, the risk is to high.

I'm not sure, Thorsten, Christoph? Anybody know
how to make sure it will work (like copying a bunch
of files, which I later replace), or does POV save the
Data somewhere only when the trace is being ended?

Ah, just a bunch of questions. I'll just hope that someone
can give me a working example, I don't want to ruin
anything, because the major trace is under time-pressure...

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Continue trace... Insight please
Date: 1 May 2002 07:57:14
Message: <3ccfd81a@news.povray.org>
In article <3CCFD5F5.EE9B7695@gmx.de> , Tim Nikias <tim### [at] gmxde>  wrote:

> How does POV-Ray know where to continue a trace?
> I've looked through the rerun INIs and the pvengine.ini,
> but to no avail. Does POV-Ray just look at the image
> already traced, or what?

Yes, it looks at the image file.  How exactly it is done depends to some
extend on the image format used.  Also note that continue trace is not
supported for all image formats as noted in the docs somewhere.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Tim Nikias
Subject: Re: Continue trace... Insight please
Date: 1 May 2002 09:31:32
Message: <3CCFEE01.ED9DD119@gmx.de>
Hm. So, is it for BMP? I couldn't find that,
just this:
"Some image formats (namely TGA and PNG) also
store information about where the file started..."

The image is already tracing a couple a days, and it looks
like another one to go, but I'm getting impatient on other
projects... I didn't use the Create_Ini option, so
I guess that's too late now, right?

Another thing: The render-menu has this rerun-entry.
I can select which files to rerun, and if I want to
continue the latest file.
If I use a second instance of POV, I gather that
POV will overwrite the "last scene traced" info.
Any way to restore POV to think that another file
needs to be continued? Continue did work for
BMP until now, so I guess the problem is just
to have POV think which file to continue.

Thanks for your help!

Thorsten Froehlich wrote:

> Yes, it looks at the image file.  How exactly it is done depends to some
> extend on the image format used.  Also note that continue trace is not
> supported for all image formats as noted in the docs somewhere.

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde


Post a reply to this message

From: Y Tanabe
Subject: Re: Continue trace... Insight please
Date: 1 May 2002 10:01:47
Message: <3CCFF54F.3802D455@kh.rim.or.jp>
Dear

You must check a povray.c.

Y.Tanabe
Kobe,Japan

***********************************************
 #ifdef df3OuputPatch
   // disable continue trace if df3 output selected
   if(opts.OutputFormat == 'd' || opts.OutputFormat == 'D')
   {
     if(opts.Options & CONTINUE_TRACE)
     {
        Warning(0.0,"Disabling continue-trace");
        opts.Options &= ~CONTINUE_TRACE;
     }
   }
 #endif
***********************************************
   if((opts.Options & DISKWRITE) && (opts.Options & CONTINUE_TRACE))
   {
     Read_Rendered_Part(Actual_Output_Name);

     if(opts.Last_Line > Frame.Screen_Height)
        opts.Last_Line = Frame.Screen_Height;

     if(opts.Last_Column > Frame.Screen_Width)
        opts.Last_Column = Frame.Screen_Width;
   }
*******************************************************

    if(opts.Options & CONTINUE_TRACE)
    {
      Stage = STAGE_CONTINUING;

     
if(Open_File(Output_File_Handle,Actual_Output_Name,&Frame.Screen_Width,&Frame.Screen_Height,Buffer_Size,READ_MODE)
!= 1)
      {
        Close_File(Output_File_Handle);

        Warning(0,"\nError opening continue trace output file.\n");
        Warning(0,"Opening new output file %s.\n",Actual_Output_Name);

        /* Turn off continue trace */

        opts.Options &= ~CONTINUE_TRACE;

       
if(Open_File(Output_File_Handle,Actual_Output_Name,&Frame.Screen_Width,&Frame.Screen_Height,Buffer_Size,WRITE_MODE)
!= 1)
        {
          Error("Error opening output file.");
        }
       // CHANGEFILETYPE
      }
    }
    else
    {
     
if(Open_File(Output_File_Handle,Actual_Output_Name,&Frame.Screen_Width,&Frame.Screen_Height,Buffer_Size,WRITE_MODE)
!= 1)
      {
        Error("Error opening output file.");
      }
      //CHANGEFILETYPE
    }
**********************************************************


Tim Nikias wrote:

> Hm. So, is it for BMP? I couldn't find that,
> just this:
> "Some image formats (namely TGA and PNG) also
> store information about where the file started..."
>
> The image is already tracing a couple a days, and it looks
> like another one to go, but I'm getting impatient on other
> projects... I didn't use the Create_Ini option, so
> I guess that's too late now, right?
>
> Another thing: The render-menu has this rerun-entry.
> I can select which files to rerun, and if I want to
> continue the latest file.
> If I use a second instance of POV, I gather that
> POV will overwrite the "last scene traced" info.
> Any way to restore POV to think that another file
> needs to be continued? Continue did work for
> BMP until now, so I guess the problem is just
> to have POV think which file to continue.
>
> Thanks for your help!
>
> Thorsten Froehlich wrote:
>
> > Yes, it looks at the image file.  How exactly it is done depends to some
> > extend on the image format used.  Also note that continue trace is not
> > supported for all image formats as noted in the docs somewhere.
>
> --
> Tim Nikias
> Homepage: http://www.digitaltwilight.de/no_lights/index.html
> Email: Tim### [at] gmxde


Post a reply to this message

From: Tim Nikias
Subject: Re: Continue trace... Insight please
Date: 1 May 2002 10:36:58
Message: <3CCFFD59.6FD0403E@gmx.de>
Hm. povray.c?

You're talking about source-code there.
Though its nice of you to comment on that,
but I was merely asking where POV-Ray
saves its knowledge which file it has
traced recently, so that I can overwrite
newer data to use an other image to
check for continue-trace.

But someone will probably learn something
from that, though its not me! ;-)

"Y.Tanabe" wrote:

> Dear
>
> You must check a povray.c.
>
> Y.Tanabe
> Kobe,Japan
>
> ***********************************************
>  #ifdef df3OuputPatch
>    // disable continue trace if df3 output selected
>    if(opts.OutputFormat == 'd' || opts.OutputFormat == 'D')
>    {
>      if(opts.Options & CONTINUE_TRACE)
>      {
>         Warning(0.0,"Disabling continue-trace");
>         opts.Options &= ~CONTINUE_TRACE;
>      }
>    }
>  #endif
> ***********************************************
>    if((opts.Options & DISKWRITE) && (opts.Options & CONTINUE_TRACE))
>    {
>      Read_Rendered_Part(Actual_Output_Name);
>
>      if(opts.Last_Line > Frame.Screen_Height)
>         opts.Last_Line = Frame.Screen_Height;
>
>      if(opts.Last_Column > Frame.Screen_Width)
>         opts.Last_Column = Frame.Screen_Width;
>    }
> *******************************************************
>
>     if(opts.Options & CONTINUE_TRACE)
>     {
>       Stage = STAGE_CONTINUING;
>
>      
if(Open_File(Output_File_Handle,Actual_Output_Name,&Frame.Screen_Width,&Frame.Screen_Height,Buffer_Size,READ_MODE)
!= 1)
>       {
>         Close_File(Output_File_Handle);
>
>         Warning(0,"\nError opening continue trace output file.\n");
>         Warning(0,"Opening new output file %s.\n",Actual_Output_Name);
>
>         /* Turn off continue trace */
>
>         opts.Options &= ~CONTINUE_TRACE;
>
>        
if(Open_File(Output_File_Handle,Actual_Output_Name,&Frame.Screen_Width,&Frame.Screen_Height,Buffer_Size,WRITE_MODE)
!= 1)
>         {
>           Error("Error opening output file.");
>         }
>        // CHANGEFILETYPE
>       }
>     }
>     else
>     {
>      
if(Open_File(Output_File_Handle,Actual_Output_Name,&Frame.Screen_Width,&Frame.Screen_Height,Buffer_Size,WRITE_MODE)
!= 1)
>       {
>         Error("Error opening output file.");
>       }
>       //CHANGEFILETYPE
>     }
> **********************************************************
>

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Continue trace... Insight please
Date: 1 May 2002 11:08:06
Message: <3cd004d6@news.povray.org>
In article <3CCFFD59.6FD0403E@gmx.de> , Tim Nikias <tim### [at] gmxde>  wrote:

> Though its nice of you to comment on that,
> but I was merely asking where POV-Ray
> saves its knowledge which file it has
> traced recently,

Read about the "Resuming Options" in the documentation.  It has nothing to do
with the information stored by the GUI frontend for your convenience.  You can
always use the direct command line option to continue any file at any time as
long as it is one of the supported formats.  BMP is one of them.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Tim Nikias
Subject: Re: Continue trace... Insight please
Date: 1 May 2002 12:13:45
Message: <3CD01407.72E4782B@gmx.de>
I searched for "continue" (as in continue trace), didn't
think about "resume"...

Thank you very much!

Thorsten Froehlich wrote:

> Read about the "Resuming Options" in the documentation.  It has nothing to do
> with the information stored by the GUI frontend for your convenience.  You can
> always use the direct command line option to continue any file at any time as
> long as it is one of the supported formats.  BMP is one of them.
>
>     Thorsten

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde


Post a reply to this message

From: Chris Cason
Subject: Re: Continue trace... Insight please
Date: 1 May 2002 12:18:41
Message: <3cd01561@news.povray.org>
"Tim Nikias" <tim### [at] gmxde> wrote in message news:3CCFEE01.ED9DD119@gmx.de...
> Hm. So, is it for BMP? I couldn't find that,

Yes. When the BMP is created, a 'magic number' is written to the start of each
line. The continue trace code uses that to determine if the line has been over-
written by the renderer yet.

-- Chris


Post a reply to this message

From: Tim Nikias
Subject: Re: Continue trace... Insight please
Date: 1 May 2002 19:45:41
Message: <3CD07DF5.2A84B88A@gmx.de>
So, if I actually just copy the image, do all kinds of different work,
then let POV-Ray use a given INI-File to check for the
copied image with a given scene-file, it will go on from there?

Coool. Way cool.

Chris Cason wrote:

>
> Yes. When the BMP is created, a 'magic number' is written to the start of each
> line. The continue trace code uses that to determine if the line has been over-
> written by the renderer yet.
>
> -- Chris

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde


Post a reply to this message

From: Chris Cason
Subject: Re: Continue trace... Insight please
Date: 2 May 2002 03:46:36
Message: <3cd0eedc@news.povray.org>
"Tim Nikias" <tim### [at] gmxde> wrote in message news:3CD07DF5.2A84B88A@gmx.de...

> So, if I actually just copy the image, do all kinds of different work,
> then let POV-Ray use a given INI-File to check for the copied image
> with a given scene-file, it will go on from there?

provided you are using the same height and width, yes.

-- Chris


Post a reply to this message

From: Tim Nikias
Subject: Re: Continue trace... Insight please
Date: 2 May 2002 04:02:32
Message: <3CD0F269.2304E316@gmx.de>
Good! Thanks!

Chris Cason wrote:

> > So, if I actually just copy the image, do all kinds of different work,
> > then let POV-Ray use a given INI-File to check for the copied image
> > with a given scene-file, it will go on from there?
>
> provided you are using the same height and width, yes.
>
> -- Chris

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde


Post a reply to this message

From: Ib Rasmussen
Subject: Re: Continue trace... Insight please
Date: 2 May 2002 12:57:21
Message: <3CD17044.3080003@my.email.address>
Chris Cason wrote:

> "Tim Nikias" <tim### [at] gmxde> wrote in message news:3CD07DF5.2A84B88A@gmx.de...
> 
> 
>>So, if I actually just copy the image, do all kinds of different work,
>>then let POV-Ray use a given INI-File to check for the copied image
>>with a given scene-file, it will go on from there?
>>
> 
> provided you are using the same height and width, yes.


...and remember to set the continue flag.

When I stop a slow render, I usually make a copy of the output file, 
just in case I should forget to set the +c option when I restart the 
render. It has happened.

/Ib


Post a reply to this message

From: Tim Nikias
Subject: Re: Continue trace... Insight please
Date: 2 May 2002 16:08:20
Message: <3CD19C84.FB48EE5B@gmx.de>
I've just spotted that about a third of a line
is missing, probably somewhere around the
position of the second or third continue.

It seems that POV screwed it up, but I won't
complain on a 3200x2400 image. Just need to
retrace that missing line when everything is finished.

Just look at the statistics:
3200x2400 = 7.680.000 pixel
So, if 2400/3 = 800, that's a percentage of:

Hm. The calculator screwed up.
Somewhere way below 0.1%

Comparing that to Windows "Standard",
this POV-Ray is just plain futuristic stuff...

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde


Post a reply to this message

From: Brian Elliott
Subject: Re: Continue trace... Insight please
Date: 4 May 2002 04:08:50
Message: <MPG.173e34085576a926989683@news.povray.org>
In article <3CD19C84.FB48EE5B@gmx.de>, tim### [at] gmxde says...
> I've just spotted that about a third of a line
> is missing, probably somewhere around the
> position of the second or third continue.
> 
> It seems that POV screwed it up, but I won't
> complain on a 3200x2400 image. Just need to
> retrace that missing line when everything is finished.
> 
> Just look at the statistics:
> 3200x2400 = 7.680.000 pixel
> So, if 2400/3 = 800, that's a percentage of:
> 
> Hm. The calculator screwed up.
> Somewhere way below 0.1%
> 
> Comparing that to Windows "Standard",
> this POV-Ray is just plain futuristic stuff...
> 
> --
> Tim Nikias
> Homepage: http://www.digitaltwilight.de/no_lights/index.html
> Email: Tim### [at] gmxde
> 
> 
> 
As Ib said, remember to make a safety copy of your partial image before 
starting every continued render.  I'll make his meaning even clearer.

Because if you actually do forget to put in the continue trace option 
when restarting... PoV-Ray will trash your partially-completed work and 
begin again from scratch.  And that is a grief you do not want to 
experience after hours or days of waiting. 

Here's hoping your gerbera survives ... you have designed a really suberb 
work!

Cheers,
    Brian.
-- 
bel### [at] gilcomau


Post a reply to this message

From: Tim Nikias
Subject: Re: Continue trace... Insight please
Date: 5 May 2002 06:18:33
Message: <3CD506CC.EF16BCB8@gmx.de>
Thank you very much!

Yes, the Gerbera did surive, and I did make a lot of copies...
So, let's see... 8x22MB=176 MB. Hm. A lot a space.

Yeah, I know, its stupid keep ALL copies, but I wanted
to be really REALLY sure. I'll be deleting the older ones
soon.

And the print looks magnificient! I think I'll do that more often
to spice up my room a little...

Brian Elliott wrote:

> As Ib said, remember to make a safety copy of your partial image before
> starting every continued render.  I'll make his meaning even clearer.
>
> Because if you actually do forget to put in the continue trace option
> when restarting... PoV-Ray will trash your partially-completed work and
> begin again from scratch.  And that is a grief you do not want to
> experience after hours or days of waiting.
>
> Here's hoping your gerbera survives ... you have designed a really suberb
> work!
>
> Cheers,
>     Brian.
> --
> bel### [at] gilcomau

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde


Post a reply to this message

From: Ib Rasmussen
Subject: Re: Continue trace... Insight please
Date: 6 May 2002 11:41:13
Message: <3CD6A463.4020602@my.email.address>
Tim Nikias wrote:

> And the print looks magnificient! I think I'll do that more often
> to spice up my room a little...


I've just had a couple of my latest traces printed at an online digital 
photo service. The results beats any laser or ink jet prints, I have yet 
seen. I think that would to your hires image justice.

I use a local supermarket, but I think they send it to a german lab: 
http://www.photoprintit.de

It is not even all that expensive: 2 euro for a 20x30 cm print.

/Ib


Post a reply to this message

From: Tim Nikias
Subject: Re: Continue trace... Insight please
Date: 6 May 2002 15:35:15
Message: <3CD6DAC9.3BCB3D1@gmx.de>
Hm! Thanks, I'll have a look at it!

Ib Rasmussen wrote:

> Tim Nikias wrote:
>
> > And the print looks magnificient! I think I'll do that more often
> > to spice up my room a little...
>
> I've just had a couple of my latest traces printed at an online digital
> photo service. The results beats any laser or ink jet prints, I have yet
> seen. I think that would to your hires image justice.
>
> I use a local supermarket, but I think they send it to a german lab:
> http://www.photoprintit.de
>
> It is not even all that expensive: 2 euro for a 20x30 cm print.
>
> /Ib

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde


Post a reply to this message

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