POV-Ray : Newsgroups : povray.animations : detect totally black output : Re: detect totally black output Server Time
19 Apr 2024 17:58:52 EDT (-0400)
  Re: detect totally black output  
From: CAD-Andi
Date: 26 Oct 2010 17:40:01
Message: <web.4cc74a78948af9acbf952ed30@news.povray.org>
Christian Froeschlin <chr### [at] chrfrde> 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

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