|
![](/i/fill.gif) |
clipka <ano### [at] anonymous org> 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
|
![](/i/fill.gif) |