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