POV-Ray : Newsgroups : povray.general : pov 3.7: getting in-progress render preview? Server Time
26 Nov 2024 07:50:45 EST (-0500)
  pov 3.7: getting in-progress render preview? (Message 1 to 5 of 5)  
From: mont29
Subject: pov 3.7: getting in-progress render preview?
Date: 24 Apr 2011 18:15:00
Message: <web.4db49fcc69ad9535b98d3ceb0@news.povray.org>
Hi everybody




and its pov render script) to get partial rendered pictures, to give the user


For example, would it be possible for pov ray to periodically write what has
already been rendered in the output file, instead of only creating and writing


Cheers,
Bastien


Post a reply to this message

From: Le Forgeron
Subject: Re: pov 3.7: getting in-progress render preview?
Date: 25 Apr 2011 02:36:28
Message: <4db5166c$1@news.povray.org>
Le 25/04/2011 00:11, mont29 nous fit lire :
> 
> Hi everybody
> 
> (I hope I’m in the good thread…)
> 
> So, I’d like to know if there is a way for an external program (here, Blender
> and its pov render script) to get partial rendered pictures, to give the user
> something else than a black screen during whole render ?
> 
> For example, would it be possible for pov ray to periodically write what has
> already been rendered in the output file, instead of only creating and writing
> this one once render is completed ?

The image format (whatever could it be with +F...) in 3.7 is generated
only at the very end of the rendering process.

Nevertheless, if you use the intermediate file storage (which slow down
the render process if it is quick), which is used for big resolution (as
it is triggered by default for 128 MB of raw buffer)
( see http://wiki.povray.org/content/Documentation:Reference_Section_1
+MI option), you could get some data. I guess I would have to document
that file (fixing it forever... )

You could instead use a +D switch to open a preview window. That's
assume of course that the DISPLAY setting of X11 has been set for the
relevant systems (unix-like).


Post a reply to this message

From: mont29
Subject: Re: pov 3.7: getting in-progress render preview?
Date: 25 Apr 2011 04:30:00
Message: <web.4db52ecc1f1eca7cb98d3ceb0@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:
> Le 25/04/2011 00:11, mont29 nous fit lire :

> > and its pov render script) to get partial rendered pictures, to give the user
> > something else than a black screen during whole render ?
> >
> > For example, would it be possible for pov ray to periodically write what has
> > already been rendered in the output file, instead of only creating and writing
> > this one once render is completed ?
>
> The image format (whatever could it be with +F...) in 3.7 is generated
> only at the very end of the rendering process.



> Nevertheless, if you use the intermediate file storage (which slow down
> the render process if it is quick), which is used for big resolution (as
> it is triggered by default for 128 MB of raw buffer)
> ( see http://wiki.povray.org/content/Documentation:Reference_Section_1
> +MI option), you could get some data. I guess I would have to document
> that file (fixing it forever... )



format (like png, tga, etc.)? Anyway, a 800*600 is about 1.5Mb (or 2Mb with


> You could instead use a +D switch to open a preview window. That's
> assume of course that the DISPLAY setting of X11 has been set for the
> relevant systems (unix-like).





Anyway, thanks very much for your answers :)


Post a reply to this message

From: Le Forgeron
Subject: Re: pov 3.7: getting in-progress render preview?
Date: 25 Apr 2011 05:45:22
Message: <4db542b2$1@news.povray.org>
Le 25/04/2011 10:20, mont29 nous fit lire :
> 
> Le_Forgeron <jgr### [at] freefr> wrote:
>> Le 25/04/2011 00:11, mont29 nous fit lire :
>>> So, I’d like to know if there is a way for an external program (here, Blender
>>> and its pov render script) to get partial rendered pictures, to give the user
>>> something else than a black screen during whole render ?
>>>
>>> For example, would it be possible for pov ray to periodically write what has
>>> already been rendered in the output file, instead of only creating and writing
>>> this one once render is completed ?
>>
>> The image format (whatever could it be with +F...) in 3.7 is generated
>> only at the very end of the rendering process.
> 
> Thanks for confirming that…
> 
>> Nevertheless, if you use the intermediate file storage (which slow down
>> the render process if it is quick), which is used for big resolution (as
>> it is triggered by default for 128 MB of raw buffer)
>> ( see http://wiki.povray.org/content/Documentation:Reference_Section_1
>> +MI option), you could get some data. I guess I would have to document
>> that file (fixing it forever... )
> 
> I have seen this option, and tried to use it, but I couldn’t figure out where
> that intermediary file is stored… And I suppose it does not use a standard
> format (like png, tga, etc.)? Anyway, a 800*600 is about 1.5Mb (or 2Mb with
> alpha), and the minimum buffer size is 1Mb, so it wouldn’t be that much useful.
> 

800 x 600 is about 9 megabytes of storage in raw.
(5 COLC (== float) per pixel, with 32 bits per float, usually)

At the very end of the file there is 3 extra size_type, which hold : the
size of the pixel_type, the width of the picture, the height of the
picture (in that order).

Once created, the file keep its size.

Position in the file of pixel (x,y) is (y * witdth + x)*size_of_pixel_type

A gap can exist between the last pixel and the 3 size_type at the end.

pixel_type is an array of 5 COLC.
(order is Red, Green, Blue, Filter, Transmit)

The file is a temporary file, usually in the local directory unless you
tuned it otherwise. (on unix : it's /tmp/pov$$ with $$ the process id)


Post a reply to this message

From: mont29
Subject: Re: pov 3.7: getting in-progress render preview?
Date: 25 Apr 2011 11:40:00
Message: <web.4db594e91f1eca7c7843e3c10@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:
> 800 x 600 is about 9 megabytes of storage in raw.
> (5 COLC (== float) per pixel, with 32 bits per float, usually)
>
> At the very end of the file there is 3 extra size_type, which hold : the
> size of the pixel_type, the width of the picture, the height of the
> picture (in that order).
>
> Once created, the file keep its size.
>
> Position in the file of pixel (x,y) is (y * witdth + x)*size_of_pixel_type
>
> A gap can exist between the last pixel and the 3 size_type at the end.
>
> pixel_type is an array of 5 COLC.
> (order is Red, Green, Blue, Filter, Transmit)
>
> The file is a temporary file, usually in the local directory unless you
> tuned it otherwise. (on unix : it's /tmp/pov$$ with $$ the process id)



Post a reply to this message

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