POV-Ray : Newsgroups : povray.beta-test : Problem with new focal blur noise pattern and animations : Re: Problem with new focal blur noise pattern and animations Server Time
30 Jun 2024 17:45:40 EDT (-0400)
  Re: Problem with new focal blur noise pattern and animations  
From: Tek
Date: 12 Nov 2010 05:40:01
Message: <web.4cdd189351977b7ecaa39c860@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
>
> Not really: Any pattern utilizing high-frequency random noise with an
> overall brightness around 0.5 (in the regions that should be part of the
> bokeh) should do the trick; for instance, randomly-chosen slices of a
> scaled-down "bumps" pattern should do (modulated of course by the
> pattern you really want to achieve).

I tried that first, the problem was that 50% of the samples would work. I want
to generate (at least) 10 unique variations of the sampling pattern, but if I
have a noise pattern that's 50% white and 50% black then there's a 50/50 chance
that any given sample will succeed first time (and a 25% chance it will succeed
2nd time, and so on until we hit the limit of the number of attempts it makes).
So over the frames I want to blur together 50% of the samples will be the
identical 1st attempt, which creates extremely visible noise no matter how
random the remaining 50% are.

Quite simply, I have no way to guarantee, or even to make it likely, that pixels
on the next frame will use a different blur sample to this frame.

All of which can be fixed by a random seed I can set myself.


Post a reply to this message

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