|  |  | 
|  |  |  |  | 
|  |  | 
|  |  | 
|  |  |  |  | 
|  |  | 
|  |  | 
|  |  | I'm rendering a series of test images as an animation and would like to omit the
pictures that did not result in any pixel data (they are actually totally black)
is there a way to detect this right after the rendering process in povray or do
I have to weed the pictures out after the animation is rendered?
Thanks,
Andi
 Post a reply to this message
 |  | 
|  |  | 
|  |  | 
|  |  |  |  | 
|  |  | 
|  |  | 
|  |  | "CAD-Andi" <nomail@nomail> wrote:
> I'm rendering a series of test images as an animation and would like to omit the
> pictures that did not result in any pixel data (they are actually totally black)
> is there a way to detect this right after the rendering process in povray or do
> I have to weed the pictures out after the animation is rendered?
>
> Thanks,
>
> Andi
Hmm, I guess this question was a little too lame. I found my solution though.
After the animation is rendered I simply check for the picture with the least
bytes, and then get rid of all images that have the same byte amount. Seems to
be working great. ...
I guess there is no way to detect that within povray to speed up things.
Andi
 Post a reply to this message
 |  | 
|  |  | 
|  |  | 
|  |  | 
| From: Christian Froeschlin Subject: Re: detect totally black output
 Date: 27 Sep 2010 18:16:28
 Message: <4ca117bc@news.povray.org>
 
 |  |  | 
|  |  | 
|  |  | 
|  |  | CAD-Andi wrote:
> Hmm, I guess this question was a little too lame. I found my solution though.
> After the animation is rendered I simply check for the picture with the least
> bytes, and then get rid of all images that have the same byte amount. Seems to
> be working great. ...
Unless you render a scene in which no frame is totally black ;)
I don't think there is a faster way within povray. You could,
of course, when rendering frame n, load the image (n-1) as an
image_map and test all of its pixels using eval_pigment ;)
 Post a reply to this message
 |  | 
|  |  | 
|  |  | 
|  |  |  |  | 
|  |  | 
|  |  | 
|  |  | Christian Froeschlin <chr### [at] chrfr de> wrote:
> CAD-Andi wrote:
>
> > Hmm, I guess this question was a little too lame. I found my solution though.
> > After the animation is rendered I simply check for the picture with the least
> > bytes, and then get rid of all images that have the same byte amount. Seems to
> > be working great. ...
>
> Unless you render a scene in which no frame is totally black ;)
>
> I don't think there is a faster way within povray. You could,
> of course, when rendering frame n, load the image (n-1) as an
> image_map and test all of its pixels using eval_pigment ;)
Hmmm ... eval_pigment ... interesting, will look into it. Thanks! Post a reply to this message
 |  | 
|  |  | 
|  |  | 
|  |  |  |  | 
|  |  |