|
|
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
|
|