<div dir="ltr">I did a quick B-H implementation based on Lux&#39;s code a while back. I&#39;ll post here if I can find the file.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 6, 2015 at 1:06 PM, Mohamed Sakr <span dir="ltr">&lt;<a href="mailto:3dsakr@gmail.com" target="_blank">3dsakr@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I will add the Blackman-Harris soon once I have a free 2 days.</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 6, 2015 at 6:33 PM, Brecht Van Lommel <span dir="ltr">&lt;<a href="mailto:brechtvanlommel@pandora.be" target="_blank">brechtvanlommel@pandora.be</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I strongly suggest to not add any pixel filters with negative weights<br>
to Cycles, like Catmull-rom, Sincor Lanczos. In my opinion they only<br>
add problems and I would not suggest anyone to use them in practice.<br>
Blackman–Harris could be good to add, since that&#39;s a filter with<br>
positive weights that supposedly has less ringing than Gaussian. But<br>
it&#39;s the only one I can think of.<br>
<br>
With a path tracer like Cycles there&#39;s enough AA samples that you<br>
don&#39;t need to artificially sharpen the image, and deal with problems<br>
like ringing or clamping negative values. I think it&#39;s a legacy<br>
feature that is no longer needed. The large filter collections offered<br>
by renderers was never useful in my opinion, it&#39;s just needless UI<br>
complexity, most of the filters are just not good.<br>
<br>
Also note that denoising algorithms work best with filter importance<br>
sampling since all the pixels are then decorrelated. So if a denoiser<br>
is implemented at some point it would be simplest if it just worked<br>
with all filters.<br>
<div><div><br>
<br>
On Thu, Aug 6, 2015 at 5:12 PM, Nathan Vegdahl &lt;<a href="mailto:cessen@cessen.com" target="_blank">cessen@cessen.com</a>&gt; wrote:<br>
&gt; Yes, I am talking about pixel/sample/AA filters.  Look up the paper &quot;Filter<br>
&gt; Importance Sampling&quot; for more information.<br>
&gt;<br>
&gt; As for texture filtering, I&#39;m sure there&#39;s more flexibility there, as I&#39;m<br>
&gt; pretty sure it uses more standard techniques.<br>
&gt;<br>
&gt; --Nathan<br>
&gt;<br>
&gt; On Aug 6, 2015 8:08 AM, &quot;Yury Baranov&quot; &lt;<a href="mailto:cucumberer@gmail.com" target="_blank">cucumberer@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt; I was talking about other filters (maybe they called AA filters). There<br>
&gt;&gt; are two of them ATM: Box and Gaussian. And Bitmap filters are Smart, Cubic,<br>
&gt;&gt; Closest and Linear.<br>
&gt;&gt;<br>
&gt;&gt; 2015-08-06 18:01 GMT+03:00 Nathan Vegdahl &lt;<a href="mailto:cessen@cessen.com" target="_blank">cessen@cessen.com</a>&gt;:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; IIRC Cycles uses &quot;filter importance sampling&quot; to do its sample filtering.<br>
&gt;&gt;&gt; This has some advantages, but one of its disadvantages is that it doesn&#39;t<br>
&gt;&gt;&gt; work well with filters that have negative lobes (the resulting renders are<br>
&gt;&gt;&gt; very noisy).<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; All the filters you mention have negative lobes, so although they<br>
&gt;&gt;&gt; technically could be implemented, my guess is that they won&#39;t be.  It would<br>
&gt;&gt;&gt; be very unexpected behavior to a user if they switched filters and suddenly<br>
&gt;&gt;&gt; their image was twice as noisey.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --Nathan<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Aug 6, 2015 7:38 AM, &quot;Yury Baranov&quot; &lt;<a href="mailto:cucumberer@gmail.com" target="_blank">cucumberer@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Hi. Is it planned to make more sample filtering options like<br>
&gt;&gt;&gt;&gt; catmull-rom, sinc, lanczos etc.? Maybe more filtering options for bitmaps<br>
&gt;&gt;&gt;&gt; will be good, too.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; Bf-cycles mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:Bf-cycles@blender.org" target="_blank">Bf-cycles@blender.org</a><br>
&gt;&gt;&gt;&gt; <a href="http://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Bf-cycles mailing list<br>
&gt;&gt;&gt; <a href="mailto:Bf-cycles@blender.org" target="_blank">Bf-cycles@blender.org</a><br>
&gt;&gt;&gt; <a href="http://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Bf-cycles mailing list<br>
&gt;&gt; <a href="mailto:Bf-cycles@blender.org" target="_blank">Bf-cycles@blender.org</a><br>
&gt;&gt; <a href="http://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Bf-cycles mailing list<br>
&gt; <a href="mailto:Bf-cycles@blender.org" target="_blank">Bf-cycles@blender.org</a><br>
&gt; <a href="http://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
&gt;<br>
_______________________________________________<br>
Bf-cycles mailing list<br>
<a href="mailto:Bf-cycles@blender.org" target="_blank">Bf-cycles@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Bf-cycles mailing list<br>
<a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
<br></blockquote></div><br></div>