[Bf-committers] Bokeh error?

j.bakker at atmind.nl j.bakker at atmind.nl
Mon Jul 11 09:47:57 CEST 2011


Bokeh error?

I was looking at the bokeh blur, and think I found a glitch. If you take a
single pixel and use bokeh blur, you get a donut in stead of a circle.

see http://www.pasteall.org/pic/show.php?id=14809

this is due the formula CMP_blur:
390: *dgauss= RE_filter_value(nbd->filtertype, 2.0f*dist - 1.0f);

I think it should just be 
390: *dgauss= RE_filter_value(nbd->filtertype, dist);

to reflect the non bokeh blur formula.

Is this a bug?

Jeroen Bakker.

--------------------------------------------------------------------
mail2web.com – What can On Demand Business Solutions do for you?
http://link.mail2web.com/Business/SharePoint




More information about the Bf-committers mailing list