<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-size: 10pt'>
<p>@Troy:&nbsp;Care to spare some links ?</p>
<p>And your math is almost the same: (A || B) &lt;= 1 ? screen : lighten; The only thing is that values above one will get the max value of A or B, depending on which is the greatest.&nbsp;</p>
<p>Also here I'm not dealing with 32-bit floats, I'm trying to find a better way to handle Hue, Sat, Val and Col blend operations to not use RGB &lt;-&gt; HSV conversions which are flawed by design and produce artfacts.</p>
<p>&nbsp;</p>
<p>Le 2014-06-08 00:56, Troy Sobotka a &eacute;crit&nbsp;:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<p dir="ltr"><br /> On Jun 7, 2014 3:20 AM, "Bartek Skorupa (priv)" &lt;<a href="mailto:bartekskorupa@bartekskorupa.com">bartekskorupa@bartekskorupa.com</a>&gt; wrote:<br /> &gt;<br /> &gt; The way I see it:<br /> &gt; Math is the same, but color spaces are different, so we come up with different results.</p>
<p dir="ltr">The math is frequently different.</p>
<p dir="ltr">Screen for example in scene referred models is typically:<br /> A or B &lt;= 1.0 A+B-AB ? max(A,B)</p>
<p dir="ltr">max() is often used in place of display referred 1.0 contexts. IIRC, there are a few HDR tools that use whatever the chosen white point value in scene referred is.</p>
<p dir="ltr">There is a good amount of forum chatter on this subject at some of the Nuke and other such forums.</p>
<p dir="ltr">With respect,<br /> TJS</p>
<br />
<pre>_______________________________________________
Bf-compositor mailing list
<a href="mailto:Bf-compositor@blender.org">Bf-compositor@blender.org</a>
<a href="http://lists.blender.org/mailman/listinfo/bf-compositor">http://lists.blender.org/mailman/listinfo/bf-compositor</a>
</pre>
</blockquote>
<p>&nbsp;</p>
<div>&nbsp;</div>
</body></html>