<?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: Scripting shaders</title>
	<atom:link href="http://www.softimageblog.com/archives/245/feed" rel="self" type="application/rss+xml" />
	<link>http://www.softimageblog.com/archives/245</link>
	<description>People and thoughts behind Softimage in production...</description>
	<lastBuildDate>Sat, 04 Feb 2012 05:37:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Bernard Lebel</title>
		<link>http://www.softimageblog.com/archives/245/comment-page-1#comment-15618</link>
		<dc:creator>Bernard Lebel</dc:creator>
		<pubDate>Tue, 14 Aug 2007 23:19:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/archives/245#comment-15618</guid>
		<description>Btw, something I forget to say in the article: you can get classid of objects using the SDK explorer, in the advanced tab.

With shaders it&#039;s more tedious, as you might have to dig deep into the Explorer to find the shader. The method I described with editing the spdl is probably faster than the SDK Explorer with shaders.</description>
		<content:encoded><![CDATA[<p>Btw, something I forget to say in the article: you can get classid of objects using the SDK explorer, in the advanced tab.</p>
<p>With shaders it&#8217;s more tedious, as you might have to dig deep into the Explorer to find the shader. The method I described with editing the spdl is probably faster than the SDK Explorer with shaders.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.softimageblog.com/archives/245/comment-page-1#comment-15616</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 14 Aug 2007 07:22:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/archives/245#comment-15616</guid>
		<description>Thanks, I was refering to the 5th code block (it&#039;s locate under the &quot;simplest way to prevent...&quot; sentence). I thought there would be some kind of shader.checkDiffuseSlot() which would return NULL or Cell/Image/... (that was is connected to this slot). I will try and use the recursive traverse to check this.</description>
		<content:encoded><![CDATA[<p>Thanks, I was refering to the 5th code block (it&#8217;s locate under the &#8220;simplest way to prevent&#8230;&#8221; sentence). I thought there would be some kind of shader.checkDiffuseSlot() which would return NULL or Cell/Image/&#8230; (that was is connected to this slot). I will try and use the recursive traverse to check this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bernard Lebel</title>
		<link>http://www.softimageblog.com/archives/245/comment-page-1#comment-15615</link>
		<dc:creator>Bernard Lebel</dc:creator>
		<pubDate>Tue, 14 Aug 2007 01:34:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/archives/245#comment-15615</guid>
		<description>Michael &gt;&gt;&gt; Is there an easy way to find out in which slot the Cell Node is connected in the &quot;The simplest way to prevent...&quot; example. A linux way please :)

I&#039;m not sure what you mean by &quot;simplest way to prevent....&quot;

I don&#039;t know any simple of doing what you&#039;re after. This is what I refer to in &quot;&quot;Getting the &quot;root&quot; shader from a shader&quot;&quot;. It&#039;s super easy to walk down the render tree (going from output to inputs, or from root to branches) but it&#039;s hard to walk up (from branches to root). I&#039;ve never found a SDK entry that discusses output-input relationship between shaders.

My best advice, unfortunately, would be to either loop the shaders after a FindShaders(), or recursively traverse the render tree, until you find parameters that have a cell shader connected into them.</description>
		<content:encoded><![CDATA[<p>Michael &gt;&gt;&gt; Is there an easy way to find out in which slot the Cell Node is connected in the &#8220;The simplest way to prevent&#8230;&#8221; example. A linux way please :)</p>
<p>I&#8217;m not sure what you mean by &#8220;simplest way to prevent&#8230;.&#8221;</p>
<p>I don&#8217;t know any simple of doing what you&#8217;re after. This is what I refer to in &#8220;&#8221;Getting the &#8220;root&#8221; shader from a shader&#8221;". It&#8217;s super easy to walk down the render tree (going from output to inputs, or from root to branches) but it&#8217;s hard to walk up (from branches to root). I&#8217;ve never found a SDK entry that discusses output-input relationship between shaders.</p>
<p>My best advice, unfortunately, would be to either loop the shaders after a FindShaders(), or recursively traverse the render tree, until you find parameters that have a cell shader connected into them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jentzen Mooney</title>
		<link>http://www.softimageblog.com/archives/245/comment-page-1#comment-15614</link>
		<dc:creator>Jentzen Mooney</dc:creator>
		<pubDate>Mon, 13 Aug 2007 18:35:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/archives/245#comment-15614</guid>
		<description>Bernard, Thank you for taking the time and share.. I look forward to reviewing in full during the week.
I love XSI-Blog keep it going guys!</description>
		<content:encoded><![CDATA[<p>Bernard, Thank you for taking the time and share.. I look forward to reviewing in full during the week.<br />
I love XSI-Blog keep it going guys!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.softimageblog.com/archives/245/comment-page-1#comment-15613</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Mon, 13 Aug 2007 16:02:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/archives/245#comment-15613</guid>
		<description>Is there an easy way to find out in which slot the Cell Node is connected in the &quot;The simplest way to prevent...&quot; example. A linux way please :)</description>
		<content:encoded><![CDATA[<p>Is there an easy way to find out in which slot the Cell Node is connected in the &#8220;The simplest way to prevent&#8230;&#8221; example. A linux way please :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michal</title>
		<link>http://www.softimageblog.com/archives/245/comment-page-1#comment-15612</link>
		<dc:creator>Michal</dc:creator>
		<pubDate>Sun, 12 Aug 2007 23:00:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/archives/245#comment-15612</guid>
		<description>Thank you Bernard, very informative and useful.</description>
		<content:encoded><![CDATA[<p>Thank you Bernard, very informative and useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Nicholas</title>
		<link>http://www.softimageblog.com/archives/245/comment-page-1#comment-15610</link>
		<dc:creator>Andy Nicholas</dc:creator>
		<pubDate>Sat, 11 Aug 2007 11:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.xsi-blog.com/archives/245#comment-15610</guid>
		<description>Woah! Another mammoth post! Thanks for taking the time to share your material scripting experiences.</description>
		<content:encoded><![CDATA[<p>Woah! Another mammoth post! Thanks for taking the time to share your material scripting experiences.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

