<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Colorspaces in XSI</title>
	<atom:link href="http://www.softimageblog.com/archives/133/feed" rel="self" type="application/rss+xml" />
	<link>http://www.softimageblog.com/archives/133#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=colorspaces-in-xsi</link>
	<description>People and thoughts behind Softimage in production...</description>
	<lastBuildDate>Fri, 23 Jul 2010 12:23:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Digital Photography For Dummies &#124; Gary Zimm&#39;s Photo</title>
		<link>http://www.softimageblog.com/archives/133/comment-page-1#comment-17537</link>
		<dc:creator>Digital Photography For Dummies &#124; Gary Zimm&#39;s Photo</dc:creator>
		<pubDate>Fri, 30 Apr 2010 01:54:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/?p=133#comment-17537</guid>
		<description>[...] Softimage Blog » Blog Archive » Colorspaces in XSI [...]</description>
		<content:encoded><![CDATA[<p>[...] Softimage Blog » Blog Archive » Colorspaces in XSI [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harry Bardak</title>
		<link>http://www.softimageblog.com/archives/133/comment-page-1#comment-17397</link>
		<dc:creator>Harry Bardak</dc:creator>
		<pubDate>Sun, 09 Aug 2009 10:18:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/?p=133#comment-17397</guid>
		<description>it s all fixed now</description>
		<content:encoded><![CDATA[<p>it s all fixed now</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Rowell</title>
		<link>http://www.softimageblog.com/archives/133/comment-page-1#comment-17396</link>
		<dc:creator>James Rowell</dc:creator>
		<pubDate>Sat, 08 Aug 2009 06:20:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/?p=133#comment-17396</guid>
		<description>Ok - fourth time is a charm?  Corrected shake nodes as per Jeromee&#039;s points above.

linRGB_to_sRGB_1 = ColorX(0,
    r&lt;=0.0031308 ? r*12.92 : (1.055 * pow(r, 1.0/2.4)) - 0.055, 
    g&lt;=0.0031308 ? g*12.92 : (1.055 * pow(g, 1.0/2.4)) - 0.055, 
    b&lt;=0.0031308 ? b*12.92 : (1.055 * pow(b, 1.0/2.4)) - 0.055, 
    a, z);
sRGB_to_linRGB_1 = ColorX(0,
    r&lt;=0.04045? r/12.92 : pow((r+0.055)/1.055, 2.4), 
    g&lt;=0.04045? g/12.92 : pow((g+0.055)/1.055, 2.4),
    b&lt;=0.04045? b/12.92 : pow((b+0.055)/1.055, 2.4), 
    a, z);</description>
		<content:encoded><![CDATA[<p>Ok &#8211; fourth time is a charm?  Corrected shake nodes as per Jeromee&#8217;s points above.</p>
<p>linRGB_to_sRGB_1 = ColorX(0,<br />
    r&lt;=0.0031308 ? r*12.92 : (1.055 * pow(r, 1.0/2.4)) &#8211; 0.055,<br />
    g&lt;=0.0031308 ? g*12.92 : (1.055 * pow(g, 1.0/2.4)) &#8211; 0.055,<br />
    b&lt;=0.0031308 ? b*12.92 : (1.055 * pow(b, 1.0/2.4)) &#8211; 0.055,<br />
    a, z);<br />
sRGB_to_linRGB_1 = ColorX(0,<br />
    r&lt;=0.04045? r/12.92 : pow((r+0.055)/1.055, 2.4),<br />
    g&lt;=0.04045? g/12.92 : pow((g+0.055)/1.055, 2.4),<br />
    b&lt;=0.04045? b/12.92 : pow((b+0.055)/1.055, 2.4),<br />
    a, z);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Rowell</title>
		<link>http://www.softimageblog.com/archives/133/comment-page-1#comment-17395</link>
		<dc:creator>James Rowell</dc:creator>
		<pubDate>Fri, 07 Aug 2009 21:26:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/?p=133#comment-17395</guid>
		<description>Another mistake in my little post - when posting a comment here the blog translates the ascii double quote character into something a little fancier.  When you paste the code above into shake - it breaks the &quot;resize&quot; node.  Just be sure to select &quot;filter&quot; type &quot;impulse&quot; to see what I&#039;m talking about.  Thanks - and sorry for the multiple posts in a row.</description>
		<content:encoded><![CDATA[<p>Another mistake in my little post &#8211; when posting a comment here the blog translates the ascii double quote character into something a little fancier.  When you paste the code above into shake &#8211; it breaks the &#8220;resize&#8221; node.  Just be sure to select &#8220;filter&#8221; type &#8220;impulse&#8221; to see what I&#8217;m talking about.  Thanks &#8211; and sorry for the multiple posts in a row.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Rowell</title>
		<link>http://www.softimageblog.com/archives/133/comment-page-1#comment-17394</link>
		<dc:creator>James Rowell</dc:creator>
		<pubDate>Fri, 07 Aug 2009 20:05:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/?p=133#comment-17394</guid>
		<description>ooops - that&#039;s an old copy of my sRGB_to_linRGB, and visa-versa, nodes.  If anyone is thinking of using my code there (for use elsewhere), please change the colorx alpha channel to just be &quot;a&quot;, i.e.; NO correction on alpha.  Sorry! :-)</description>
		<content:encoded><![CDATA[<p>ooops &#8211; that&#8217;s an old copy of my sRGB_to_linRGB, and visa-versa, nodes.  If anyone is thinking of using my code there (for use elsewhere), please change the colorx alpha channel to just be &#8220;a&#8221;, i.e.; NO correction on alpha.  Sorry! :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Rowell</title>
		<link>http://www.softimageblog.com/archives/133/comment-page-1#comment-17393</link>
		<dc:creator>James Rowell</dc:creator>
		<pubDate>Fri, 07 Aug 2009 19:59:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/?p=133#comment-17393</guid>
		<description>Adrian - I was just jumping on this site to make a comment about the same thing.  I think Harry has it wrong in the &quot;sRGB Example: Gray Gradient&quot; section.  There are a few confusing red-herrings across the web regarding linear colorspace workflow, and this was one that took me a while to straighten out for myself as I was trying to learn this stuff.  Since so many people link to this site, it&#039;s worth fixing.

So Harry - if one is looking at a zero to one ramp in shake, with NO LUT on the viewer AND assuming that you are using a gamma 2.2 monitor, THEN the ramp on the left should look correct to your eye.  You are wrong to think that your example on the left is too bright.  Here&#039;s how you can convince yourself - cut and paste the following nodes into shake.

Ramp1 = Ramp(21, 486, 1, 1, 0.5, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0);
Bytes1 = Bytes(Ramp1, 4);
Resize1 = Resize(Bytes1, 720, height, &quot;impulse&quot;, 0);
linRGB_to_sRGB_1 = ColorX(Resize1, r&lt;=0.0031308 ? r*12.92 : pow(r*1.055, 1.0/2.4) - 0.055, 
    g&lt;=0.0031308 ? g*12.92 : pow(g*1.055, 1.0/2.4) - 0.055, b&lt;=0.0031308 ? b*12.92 : pow(b*1.055, 1.0/2.4) - 0.055, 
    a&lt;=0.0031308 ? a*12.92 : pow(a*1.055, 1.0/2.4) - 0.055, z);
sRGB_to_linRGB_1 = ColorX(Resize1, r&lt;=0.04045? r/12.92 : pow((r+0.055)/1.055, 2.4), 
    g&lt;=0.04045? g/12.92 : pow((g+0.055)/1.055, 2.4), b&lt;=0.04045? b/12.92 : pow((b+0.055)/1.055, 2.4), 
    a&lt;=0.04045? a/12.92 : pow((a+0.055)/1.055, 2.4), z);

So - if you examine the output of my &quot;resize&quot; node - the ramp looks perfect on a shake viewer with NO LUT on a gamma 2.2 monitor.  That is part of the whole point of gamma monitors - that equal steps in value look like equal steps up in value to our eye.  If you look at the sRGB_to_linRGB node output, it&#039;s FAR too dark in the blacks, i.e.; the steps do NOT look like equal steps up the scale.  (Clearly previwing the linRGB_to_sRGB is way off.)

Hope you can fix your post Harry - it&#039;s a little confusing to the newly indoctrinated to sort this out.  I hope my commnt helps!  Feel free to use my shake snippet if it helps you rework the writeup.

Thanks for posting this though - it is very helpful.</description>
		<content:encoded><![CDATA[<p>Adrian &#8211; I was just jumping on this site to make a comment about the same thing.  I think Harry has it wrong in the &#8220;sRGB Example: Gray Gradient&#8221; section.  There are a few confusing red-herrings across the web regarding linear colorspace workflow, and this was one that took me a while to straighten out for myself as I was trying to learn this stuff.  Since so many people link to this site, it&#8217;s worth fixing.</p>
<p>So Harry &#8211; if one is looking at a zero to one ramp in shake, with NO LUT on the viewer AND assuming that you are using a gamma 2.2 monitor, THEN the ramp on the left should look correct to your eye.  You are wrong to think that your example on the left is too bright.  Here&#8217;s how you can convince yourself &#8211; cut and paste the following nodes into shake.</p>
<p>Ramp1 = Ramp(21, 486, 1, 1, 0.5, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0);<br />
Bytes1 = Bytes(Ramp1, 4);<br />
Resize1 = Resize(Bytes1, 720, height, &#8220;impulse&#8221;, 0);<br />
linRGB_to_sRGB_1 = ColorX(Resize1, r&lt;=0.0031308 ? r*12.92 : pow(r*1.055, 1.0/2.4) &#8211; 0.055,<br />
    g&lt;=0.0031308 ? g*12.92 : pow(g*1.055, 1.0/2.4) &#8211; 0.055, b&lt;=0.0031308 ? b*12.92 : pow(b*1.055, 1.0/2.4) &#8211; 0.055,<br />
    a&lt;=0.0031308 ? a*12.92 : pow(a*1.055, 1.0/2.4) &#8211; 0.055, z);<br />
sRGB_to_linRGB_1 = ColorX(Resize1, r&lt;=0.04045? r/12.92 : pow((r+0.055)/1.055, 2.4),<br />
    g&lt;=0.04045? g/12.92 : pow((g+0.055)/1.055, 2.4), b&lt;=0.04045? b/12.92 : pow((b+0.055)/1.055, 2.4),<br />
    a&lt;=0.04045? a/12.92 : pow((a+0.055)/1.055, 2.4), z);</p>
<p>So &#8211; if you examine the output of my &#8220;resize&#8221; node &#8211; the ramp looks perfect on a shake viewer with NO LUT on a gamma 2.2 monitor.  That is part of the whole point of gamma monitors &#8211; that equal steps in value look like equal steps up in value to our eye.  If you look at the sRGB_to_linRGB node output, it&#8217;s FAR too dark in the blacks, i.e.; the steps do NOT look like equal steps up the scale.  (Clearly previwing the linRGB_to_sRGB is way off.)</p>
<p>Hope you can fix your post Harry &#8211; it&#8217;s a little confusing to the newly indoctrinated to sort this out.  I hope my commnt helps!  Feel free to use my shake snippet if it helps you rework the writeup.</p>
<p>Thanks for posting this though &#8211; it is very helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian P</title>
		<link>http://www.softimageblog.com/archives/133/comment-page-1#comment-17378</link>
		<dc:creator>Adrian P</dc:creator>
		<pubDate>Mon, 20 Apr 2009 15:34:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/?p=133#comment-17378</guid>
		<description>I don&#039;t think your images in &quot;sRGB Example: Gray gradient&quot; are correct.

If you take the linear-light ramp image on the left and pass it through the linear-light to sRGB function, the image should appear lighter, not darker like the image on the right.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think your images in &#8220;sRGB Example: Gray gradient&#8221; are correct.</p>
<p>If you take the linear-light ramp image on the left and pass it through the linear-light to sRGB function, the image should appear lighter, not darker like the image on the right.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mako</title>
		<link>http://www.softimageblog.com/archives/133/comment-page-1#comment-17353</link>
		<dc:creator>Mako</dc:creator>
		<pubDate>Thu, 27 Nov 2008 16:19:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/?p=133#comment-17353</guid>
		<description>Hey Harry,

We just had lunch earlier today and I just realize now that I had read your explanations while I was doing my tests using the spheron camera.

Well done. I&#039;d be happy to discuss even longer about all this with you one day.</description>
		<content:encoded><![CDATA[<p>Hey Harry,</p>
<p>We just had lunch earlier today and I just realize now that I had read your explanations while I was doing my tests using the spheron camera.</p>
<p>Well done. I&#8217;d be happy to discuss even longer about all this with you one day.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harry Bardak</title>
		<link>http://www.softimageblog.com/archives/133/comment-page-1#comment-17314</link>
		<dc:creator>Harry Bardak</dc:creator>
		<pubDate>Wed, 30 Jul 2008 16:27:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/?p=133#comment-17314</guid>
		<description>Obviously with XSI 7 you don&#039;t need to bother with theses shaders. But the concept stay the same.</description>
		<content:encoded><![CDATA[<p>Obviously with XSI 7 you don&#8217;t need to bother with theses shaders. But the concept stay the same.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: harry bardak</title>
		<link>http://www.softimageblog.com/archives/133/comment-page-1#comment-17295</link>
		<dc:creator>harry bardak</dc:creator>
		<pubDate>Sat, 21 Jun 2008 10:06:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/?p=133#comment-17295</guid>
		<description>Use a gamma 1/2.2 node instead and the simple_tone_mapping shader. 
That would do the trick. 

There is no point to change that now.</description>
		<content:encoded><![CDATA[<p>Use a gamma 1/2.2 node instead and the simple_tone_mapping shader.<br />
That would do the trick. </p>
<p>There is no point to change that now.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
