<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Ah, great idea! We could even set one up with RGB, one on each channel, and save it as a nodegroup.<div>Thanks! So obvious, don't know why we didn't think of this. :)</div><div><br></div><div>I'm going to set one up today.</div><div><br></div><div>sean<br><br><div>&gt; From: dnicolas@gmail.com<br>&gt; Date: Fri, 23 May 2014 19:07:28 -0300<br>&gt; To: bf-compositor@blender.org<br>&gt; Subject: Re: [Bf-compositor] Clamping (Mix, Math, RGB Curves)<br>&gt; <br>&gt; Hi all, I don't know how Blender's handles colors internally but<br>&gt; wouldn't this work?<br>&gt; http://www.pasteall.org/pic/show.php?id=71736<br>&gt; (or are the V values already mapped to 0-1 from the separate node?)<br>&gt; <br>&gt; Cheers,<br>&gt; <br>&gt; 2014-05-23 18:46 GMT-03:00 Sean Kennedy &lt;mack_dadd2@hotmail.com&gt;:<br>&gt; &gt; Could we set the value of the clamp? It could come in as defaults of 1.0 and<br>&gt; &gt; 0.0, but we could alter it to whatever we wanted. At R&amp;H, most of the time<br>&gt; &gt; we clamped brights around 14-16. We'd only turn it down under that if we got<br>&gt; &gt; bad pixels when rendering.<br>&gt; &gt;<br>&gt; &gt; If you had a superbright red, like R 12, G 3, B 4, and you put a clamp of 1<br>&gt; &gt; on it, obviously it's going to set each value to 1, so what was red now<br>&gt; &gt; reads as white. But it would still be useful.<br>&gt; &gt;<br>&gt; &gt; After Effects clamp tool<br>&gt; &gt; http://cdn.aescripts.com/media/catalog/product/cache/1/image/800x600/040ec09b1e35df139433887a97daa66f/f/t/ft-clamp-ui_1.png<br>&gt; &gt;<br>&gt; &gt; Nuke clamp is in the color grade node<br>&gt; &gt; http://docs.thefoundry.co.uk/nuke/63/pythondevguide/_images/getMinMax_01.png<br>&gt; &gt;<br>&gt; &gt; I'm not posting the images to say "this is how we should do it", but rather,<br>&gt; &gt; to say it is useful and professional compositors would indeed use it often.<br>&gt; &gt;<br>&gt; &gt; In fact, I was working on a shot this week that could have used it. I was<br>&gt; &gt; given stock footage from a client, and I have no idea how much they'll color<br>&gt; &gt; correct it in post once I deliver the final vfx shot. SO I have to make sure<br>&gt; &gt; all my blacks are in line with what is in the plate. I put a gamma on the<br>&gt; &gt; plate just to view the black levels and see how they match up when pushed<br>&gt; &gt; really far.<br>&gt; &gt; https://dl.dropboxusercontent.com/u/10553822/clamp_blacks_01.jpg<br>&gt; &gt;<br>&gt; &gt; Since we don't have a clamp, I ended up putting a mix node right after the<br>&gt; &gt; stock footage node, setting it to Lighten, and making the color over it<br>&gt; &gt; black. then I slowly raised it while watching until the blacks all came in<br>&gt; &gt; line. Would have been much easier to sample the value of the darkest dark I<br>&gt; &gt; wanted in the shot, throw a clamp node on with the black clamp set to those<br>&gt; &gt; values.<br>&gt; &gt;<br>&gt; &gt; In fact, at R&amp;H, the Black Clamp node let you set an individual value for R,<br>&gt; &gt; G, and B. And it had a color picker so you could just sample the image and<br>&gt; &gt; the values would fill in automatically.<br>&gt; &gt;<br>&gt; &gt; Anyway, just throwing out my $0.02. Obviously I've found a workaround and<br>&gt; &gt; can live with it, but it would sure be great to someday see a clamp node.<br>&gt; &gt;<br>&gt; &gt; ________________________________<br>&gt; &gt; Date: Fri, 23 May 2014 14:21:40 -0700<br>&gt; &gt;<br>&gt; &gt; From: troy.sobotka@gmail.com<br>&gt; &gt; To: bf-compositor@blender.org<br>&gt; &gt; Subject: Re: [Bf-compositor] Clamping (Mix, Math, RGB Curves)<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; On May 23, 2014 1:56 PM, "Bartek Skorupa (priv)"<br>&gt; &gt; &lt;bartekskorupa@bartekskorupa.com&gt; wrote:<br>&gt; &gt;<br>&gt; &gt;&gt; When I say: "clamp blacks" I always mean: set every value below 0.0 to<br>&gt; &gt;&gt; 0.0.<br>&gt; &gt;&gt; When I say: "clamp whites" I always mean: set every value above 1.0 to<br>&gt; &gt;&gt; 1.0.<br>&gt; &gt;&gt; Every compositing artist will know what I mean.<br>&gt; &gt;<br>&gt; &gt; If we can generate a clamp / scale node, I am all for it.<br>&gt; &gt;<br>&gt; &gt; I am saying there is no concept of white in a scene referred model, and as<br>&gt; &gt; such, you have to be careful as to not write nodes that break the system.<br>&gt; &gt;<br>&gt; &gt; It is that simple. No white. No brighter than white. So sorry, “Every<br>&gt; &gt; artist...” is actually “Every artist unfamiliar with HDR work.”<br>&gt; &gt;<br>&gt; &gt; So a clamp node _must_ not make the erroneous assumption that 1.0 means<br>&gt; &gt; anything special, and rather provide for an arbitrary value range.<br>&gt; &gt;<br>&gt; &gt; If this all seems like speaking an alien language, it is precisely why I<br>&gt; &gt; chimed in and said “Whoa.”<br>&gt; &gt;<br>&gt; &gt; There are already nodes that are broken because of erroneous assumptions. It<br>&gt; &gt; would be a shame to make more.<br>&gt; &gt;<br>&gt; &gt; With respect,<br>&gt; &gt; TJS<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; _______________________________________________ Bf-compositor mailing list<br>&gt; &gt; Bf-compositor@blender.org<br>&gt; &gt; http://lists.blender.org/mailman/listinfo/bf-compositor<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; Bf-compositor mailing list<br>&gt; &gt; Bf-compositor@blender.org<br>&gt; &gt; http://lists.blender.org/mailman/listinfo/bf-compositor<br>&gt; &gt;<br>&gt; _______________________________________________<br>&gt; Bf-compositor mailing list<br>&gt; Bf-compositor@blender.org<br>&gt; http://lists.blender.org/mailman/listinfo/bf-compositor<br></div></div>                                               </div></body>
</html>