<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-size: 10pt'>
<p>Hi people,</p>
<p>&nbsp;</p>
<p>I'm currently writing a patch to rework the state of blending operations inside of Blender. Right now the operations are defined in multiple places around the code base so I thought it could be good to ease out maintenance of that part of the code and to have them all defined in one place. So far, so good.</p>
<p>&nbsp;</p>
<p>By running some speed-tests, out of curiosity, I noticed that (at least in the compositor) the Hue, Saturation, Color and Value modes were the slowest. And that is apparently due to multiple RGB &lt;-&gt; HSV conversions. So I did some searches and found some interesting simple formulas which do not rely on those conversions.</p>
<p>&nbsp;</p>
<p>Now, these modes are a little faster (~10-12%), but they do look a little different than before, especially the Value blend mode(, and that is a little strange).</p>
<p>&nbsp;</p>
<p>So the question is: would the users (especially module members) agree on that change ?</p>
<p>&nbsp;</p>
<p>To have a look at the patch, or to test it, or just to see the difference between the before and after for those above mentioned operations, please head over to &nbsp;http://developer.blender.org/D539 . &nbsp;I have uploaded there a few images demonstrating the changes.</p>
<div>&nbsp;</div>
<div>Sincerely,</div>
<div>&nbsp;</div>
<div>K&eacute;vin Dietrich.</div>
</body></html>