<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Keysnclicks</title>
	<atom:link href="http://www.keysnclicks.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.keysnclicks.com</link>
	<description>A Synthesis of Arts &#38; Technology</description>
	<lastBuildDate>Sun, 07 Apr 2013 05:09:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4</generator>
		<item>
		<title>Holi 2013 Animation</title>
		<link>http://www.keysnclicks.com/general/holi-2013-animation/</link>
		<comments>http://www.keysnclicks.com/general/holi-2013-animation/#comments</comments>
		<pubDate>Sat, 06 Apr 2013 22:08:14 +0000</pubDate>
		<dc:creator>keysnclicks</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[After Effects]]></category>
		<category><![CDATA[balloons]]></category>
		<category><![CDATA[cliqueanimation.com]]></category>
		<category><![CDATA[Holi 2013]]></category>
		<category><![CDATA[maya]]></category>
		<category><![CDATA[splash]]></category>
		<category><![CDATA[V-Ray]]></category>

		<guid isPermaLink="false">http://www.keysnclicks.com/?p=1425</guid>
		<description><![CDATA[<p>Hey everyone,</p>
<p>Sharing the latest animation short I worked on.<br />Everything including modeling, rigging, animation was done in Maya and rendered with V-Ray. Compositing is done in After Effects. Rendering was completed in approx 12 hours.</p>
<p>Hope you all like it!</p>]]></description>
			<content:encoded><![CDATA[
<p>Hey everyone,</p>
<p>Sharing the latest animation short I worked on.<br />Everything including modeling, rigging, animation was done in Maya and rendered with V-Ray. Compositing is done in After Effects. Rendering was completed in approx 12 hours.</p>
<p>Hope you all like it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.keysnclicks.com/general/holi-2013-animation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zero G</title>
		<link>http://www.keysnclicks.com/general/zero-g-short-film/</link>
		<comments>http://www.keysnclicks.com/general/zero-g-short-film/#comments</comments>
		<pubDate>Tue, 28 Aug 2012 13:34:18 +0000</pubDate>
		<dc:creator>keysnclicks</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[0g]]></category>
		<category><![CDATA[After Effects]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[maya]]></category>
		<category><![CDATA[VRay]]></category>

		<guid isPermaLink="false">http://www.keysnclicks.com/?p=1414</guid>
		<description><![CDATA[Hey everyone,

Lately I have been working on a lot of projects, mostly at the same time. Here is one of the tests we did to visualize color treatment, animation, render times etc. Hope you like it. Created with Maya, VRay and After Effects.]]></description>
			<content:encoded><![CDATA[Hey everyone,

Lately I have been working on a lot of projects, mostly at the same time. Here is one of the tests we did to visualize color treatment, animation, render times etc. Hope you like it. Created with Maya, VRay and After Effects.]]></content:encoded>
			<wfw:commentRss>http://www.keysnclicks.com/general/zero-g-short-film/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embed Vimeo without being blocked by ISP&#8217;s</title>
		<link>http://www.keysnclicks.com/general/embed-vimeo-without-being-blocked-by-isps/</link>
		<comments>http://www.keysnclicks.com/general/embed-vimeo-without-being-blocked-by-isps/#comments</comments>
		<pubDate>Mon, 11 Jun 2012 07:22:29 +0000</pubDate>
		<dc:creator>keysnclicks</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[banned]]></category>
		<category><![CDATA[blocked]]></category>
		<category><![CDATA[court order]]></category>
		<category><![CDATA[embed]]></category>
		<category><![CDATA[india]]></category>
		<category><![CDATA[ISP]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[Vimeo]]></category>

		<guid isPermaLink="false">http://www.keysnclicks.com/?p=1353</guid>
		<description><![CDATA[<p>This post will show you two ways to embed Vimeo videos without getting them banned by ISP's. Vimeo provides you a couple of options to embed video on your site out of which the latest (as of this writing) is the iframe method.</p>
<p>So you may have a similar code on your website which displays Vimeo video.</p>

[html]

&#60;iframe 
    src=&#34;http://player.vimeo.com/video/xxxxxxxx&#34;
    width=&#34;500&#34; height=&#34;281&#34; 
    frameborder=&#34;0&#34; 
    webkitAllowFullScreen mozallowfullscreen allowFullScreen &#62;
&#60;/iframe&#62;

[/html]

<p>Look at the "src" attribute of the iframe. It reads <strong>http://....</strong> Now if you change this to <strong>https://....</strong> you will get an unblocked video on your website. This also automatically happens if you watch videos on Vimeo.com, after logging into your account, as logged in users get a secure version of Vimeo player.</p>
<p>Another way is to use SWFObject from <a title="SWFObject" href="http://code.google.com/p/swfobject/" target="_blank">http://code.google.com/p/swfobject/</a> to embed "<strong>https://secure-a.vimeocdn.com/p/flash/moogaloop/5.2.26/moogaloop.swf</strong>" version of Vimeo swf player. Rather than how to do this step by step, I am including a zip file with a working example.</p>
<p><a title="Embed Vimeo Unblocked" href="http://www.keysnclicks.com/downloads/embed_vimeo_unblocked.zip" target="_blank">Download zip file</a></p>
<p>Thats it! Happy sharing.</p>]]></description>
			<content:encoded><![CDATA[<p>This post will show you two ways to embed Vimeo videos without getting them banned by ISP&#8217;s. Vimeo provides you a couple of options to embed video on your site out of which the latest (as of this writing) is the iframe method.</p>
<p>So you may have a similar code on your website which displays Vimeo video.</p>

<pre class="brush: xml; title: ; notranslate">

&lt;iframe 
    src=&quot;http://player.vimeo.com/video/xxxxxxxx&quot;
    width=&quot;500&quot; height=&quot;281&quot; 
    frameborder=&quot;0&quot; 
    webkitAllowFullScreen mozallowfullscreen allowFullScreen &gt;
&lt;/iframe&gt;

</pre>

<p>Look at the &#8220;src&#8221; attribute of the iframe. It reads <strong>http://&#8230;.</strong> Now if you change this to <strong>https://&#8230;.</strong> you will get an unblocked video on your website. This also automatically happens if you watch videos on Vimeo.com, after logging into your account, as logged in users get a secure version of Vimeo player.</p>
<p>Another way is to use SWFObject from <a title="SWFObject" href="http://code.google.com/p/swfobject/" target="_blank">http://code.google.com/p/swfobject/</a> to embed &#8220;<strong>https://secure-a.vimeocdn.com/p/flash/moogaloop/5.2.26/moogaloop.swf</strong>&#8221; version of Vimeo swf player. Rather than how to do this step by step, I am including a zip file with a working example.</p>
<p><a title="Embed Vimeo Unblocked" href="http://www.keysnclicks.com/downloads/embed_vimeo_unblocked.zip" target="_blank">Download zip file</a></p>
<p>Thats it! Happy sharing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.keysnclicks.com/general/embed-vimeo-without-being-blocked-by-isps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to watch Vimeo videos in India</title>
		<link>http://www.keysnclicks.com/general/how-to-watch-vimeo-videos-in-india/</link>
		<comments>http://www.keysnclicks.com/general/how-to-watch-vimeo-videos-in-india/#comments</comments>
		<pubDate>Sun, 10 Jun 2012 18:54:58 +0000</pubDate>
		<dc:creator>keysnclicks</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[blocked]]></category>
		<category><![CDATA[india]]></category>
		<category><![CDATA[Vimeo]]></category>
		<category><![CDATA[vimeo video]]></category>

		<guid isPermaLink="false">http://www.keysnclicks.com/?p=1339</guid>
		<description><![CDATA[<p>Hello everyone,</p>
<p>Recently, due to a court order to prevent Piracy, access to Vimeo videos is blocked in India. Now this is frustrating as this is clearly a case of one dirty fish spoiling whole water. Vimeo is a respectable site for sharing works of art and technology from around the world and I hope this ban is removed soon.</p>
<p>Well until then if you want to watch or embed Vimeo videos so that you get past the ban from Indian ISP's, read further for a couple of options available.</p>
<p>As a first option I present you with my Firefox Add-on "Vimeo Unblocker". After installing Vimeo Unblocker, you will be able to view Vimeo videos on Vimeo.com com or any other site with a single click. You can downlaod and read more about the Add-on here: <a title="Vimeo Unblocker" href="http://www.keysnclicks.com/vimeo-unblocker/" target="_blank">http://www.keysnclicks.com/vimeo-unblocker/</a></p>
<p>Secondly yo can go to  <a title="unblock vimeo" href="http://ctrlq.org/vimeo/">http://ctrlq.org/vimeo/</a> and paste the video link in text field provided and the video will play on this site.</p>
<p>And if you're up for some fun and have some HTML &#38; Javascript knowledge read ahead...</p>
<p><!--nextpage--></p>
<p>If you have <a title="Firebug for Firefox" href="http://getfirebug.com/">Firebug</a> for Firefox installed then follow the steps below:</p>
<p>Once you are on a page where there should have been a Vimeo video but now you see this notice "<span style="color: #999999;"><em>This website/URL has been blocked until further notice either pursuant to Court orders or on the Directions issued by the Department of Telecommunications</em></span>",   Right click with your mouse and select "Inspect Element with Firebug". Once Firebug window is up, look for Vimeo video url in the html tab of Firebug.</p>
<p>Notice just above the &#60;body&#62; tag you will find the Vimeo Players link in "src" attribute of &#60;iframe&#62; - http://player.vimeo.com/video/26755.......  Click on the link to edit it and change the <strong>http</strong> to <strong>https</strong> and hit enter. That is it, now you can watch the video playing.</p>
<p><a href="http://www.keysnclicks.com/blog/wp-content/uploads/2012/06/access_vimeo_in_india.jpg"><img class="size-large wp-image-1340" title="watch vimeo videos in india on any site" src="http://www.keysnclicks.com/blog/wp-content/uploads/2012/06/access_vimeo_in_india-1024x143.jpg" alt="access vimeo in india" width="515" height="72" /></a></p>
<p>If you are trying to watch a video on Vimeo.com itself just changing the http to https wont work. You will have to look for &#60;object&#62; element and there you will see "data" attribute containing Vimeo players url something like this - http://a.vimeocdn.com/p/flash/moogaloop/5.2.26/moogaloop.swf?v=1.0.0. Now change the <strong>http</strong> part to <strong>https://secure- </strong>  and then rest of the url.</p>
<p><a href="http://www.keysnclicks.com/blog/wp-content/uploads/2012/06/access_vimeo_in_india_02.jpg" rel="prettyPhoto"><img class="alignnone  wp-image-1346" title="access vimeo videos in india on vimeo.com" src="http://www.keysnclicks.com/blog/wp-content/uploads/2012/06/access_vimeo_in_india_02-1024x143.jpg" alt="access vimeo in india" width="515" height="72" /></a></p>
<p>Same technique can be applied in Chrome and Internet Explorer by pressing F12 and changing http part.</p>
<p>Now if you want everyone to see your Vimeo videos on your website, well you cant expect everyone to do all this crazy stuff.  But you can definately take initiatives on your end and alter the way you currently embed Vimeo videoson your site.</p>
<p>To know more read this post, "<a title="Embed Vimeo videos without being blocked by Indian ISP’s" href="http://www.keysnclicks.com/?p=1353" target="_blank">Embed Vimeo videos without being blocked by Indian ISP's</a>"</p>
<p>Hope this is helpful to someone!</p>
<p>ak</p>]]></description>
			<content:encoded><![CDATA[
<p>Hello everyone,</p>
<p>Recently, due to a court order to prevent Piracy, access to Vimeo videos is blocked in India. Now this is frustrating as this is clearly a case of one dirty fish spoiling whole water. Vimeo is a respectable site for sharing works of art and technology from around the world and I hope this ban is removed soon.</p>
<p>Well until then if you want to watch or embed Vimeo videos so that you get past the ban from Indian ISP&#8217;s, read further for a couple of options available.</p>
<p>As a first option I present you with my Firefox Add-on &#8220;Vimeo Unblocker&#8221;. After installing Vimeo Unblocker, you will be able to view Vimeo videos on Vimeo.com com or any other site with a single click. You can downlaod and read more about the Add-on here: <a title="Vimeo Unblocker" href="http://www.keysnclicks.com/vimeo-unblocker/" target="_blank">http://www.keysnclicks.com/vimeo-unblocker/</a></p>
<p>Secondly yo can go to  <a title="unblock vimeo" href="http://ctrlq.org/vimeo/">http://ctrlq.org/vimeo/</a> and paste the video link in text field provided and the video will play on this site.</p>
<p>And if you&#8217;re up for some fun and have some HTML &amp; Javascript knowledge read ahead&#8230;</p>
<p>]]></content:encoded>
			<wfw:commentRss>http://www.keysnclicks.com/general/how-to-watch-vimeo-videos-in-india/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ford 1930 Model A Instruments</title>
		<link>http://www.keysnclicks.com/portfolio/ford-1930-model-a-instruments/</link>
		<comments>http://www.keysnclicks.com/portfolio/ford-1930-model-a-instruments/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 10:43:53 +0000</pubDate>
		<dc:creator>keysnclicks</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[After Effects]]></category>
		<category><![CDATA[ford 1930 model A]]></category>
		<category><![CDATA[maya]]></category>
		<category><![CDATA[photoshop]]></category>

		<guid isPermaLink="false">http://www.keysnclicks.com/?p=1333</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.keysnclicks.com/portfolio/ford-1930-model-a-instruments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mars Rover</title>
		<link>http://www.keysnclicks.com/portfolio/mars-rover/</link>
		<comments>http://www.keysnclicks.com/portfolio/mars-rover/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 22:24:10 +0000</pubDate>
		<dc:creator>keysnclicks</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[8mm]]></category>
		<category><![CDATA[feature displacement]]></category>
		<category><![CDATA[Mars]]></category>
		<category><![CDATA[maya]]></category>
		<category><![CDATA[old film]]></category>

		<guid isPermaLink="false">http://www.keysnclicks.com/?p=1317</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.keysnclicks.com/portfolio/mars-rover/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maya Feature Displacement</title>
		<link>http://www.keysnclicks.com/tips/maya-feature-displacement/</link>
		<comments>http://www.keysnclicks.com/tips/maya-feature-displacement/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 22:15:51 +0000</pubDate>
		<dc:creator>keysnclicks</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[8mm]]></category>
		<category><![CDATA[feature displacement]]></category>
		<category><![CDATA[Mars]]></category>
		<category><![CDATA[maya]]></category>
		<category><![CDATA[old film]]></category>

		<guid isPermaLink="false">http://www.keysnclicks.com/?p=1308</guid>
		<description><![CDATA[<p>Many of you may be aware of this but for some it may be helpful someday. While working with displacement maps in Maya if at some point in time you need to see the actual displaced geometry in viewport then you can use convert "Displacement to Polygons" command found under Modify &#62; Convert &#62; Displacement to Polygons.</p>
<p>But this is not the purpose to write this post. Purpose is how can you control the details of the converted mesh. If you need to get a highly detailed displaced mesh then "Feature Displacement" feature comes handy.</p>
<p>Feature displacement section is found under shape node tab of the selected mesh in the attribute editor.  To increase the details of the resulting mesh you will set "Initial Sample Rate" to more than 6 which is default.</p>
<p><a href="http://www.keysnclicks.com/blog/wp-content/uploads/2012/02/feature_displacement.jpg" rel="prettyPhoto[marsGal]"><img class="alignnone  wp-image-1311" title="feature_displacement" src="http://www.keysnclicks.com/blog/wp-content/uploads/2012/02/feature_displacement.jpg" alt="" width="515" height="161" /></a></p>
<p><a href="http://www.keysnclicks.com/blog/wp-content/uploads/2012/02/feature_displacement_comparison.jpg" rel="prettyPhoto[marsGal]"><img class="alignnone size-full wp-image-1312" title="feature displacement comparison" src="http://www.keysnclicks.com/blog/wp-content/uploads/2012/02/feature_displacement_comparison.jpg" alt="" width="515" height="244" /></a></p>]]></description>
			<content:encoded><![CDATA[
<p>Many of you may be aware of this but for some it may be helpful someday. While working with displacement maps in Maya if at some point in time you need to see the actual displaced geometry in viewport then you can use convert &#8220;Displacement to Polygons&#8221; command found under Modify &gt; Convert &gt; Displacement to Polygons.</p>
<p>But this is not the purpose to write this post. Purpose is how can you control the details of the converted mesh. If you need to get a highly detailed displaced mesh then &#8220;Feature Displacement&#8221; feature comes handy.</p>
<p>Feature displacement section is found under shape node tab of the selected mesh in the attribute editor.  To increase the details of the resulting mesh you will set &#8220;Initial Sample Rate&#8221; to more than 6 which is default.</p>
<p><a href="http://www.keysnclicks.com/blog/wp-content/uploads/2012/02/feature_displacement.jpg" rel="prettyPhoto[marsGal]"><img class="alignnone  wp-image-1311" title="feature_displacement" src="http://www.keysnclicks.com/blog/wp-content/uploads/2012/02/feature_displacement.jpg" alt="" width="515" height="161" /></a></p>
<p><a href="http://www.keysnclicks.com/blog/wp-content/uploads/2012/02/feature_displacement_comparison.jpg" rel="prettyPhoto[marsGal]"><img class="alignnone size-full wp-image-1312" title="feature displacement comparison" src="http://www.keysnclicks.com/blog/wp-content/uploads/2012/02/feature_displacement_comparison.jpg" alt="" width="515" height="244" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.keysnclicks.com/tips/maya-feature-displacement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Combined matte pass using writeToColorBuffer</title>
		<link>http://www.keysnclicks.com/tips/combined-matte-pass-using-writetocolorbuffer/</link>
		<comments>http://www.keysnclicks.com/tips/combined-matte-pass-using-writetocolorbuffer/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 21:26:52 +0000</pubDate>
		<dc:creator>keysnclicks</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[JS_MultiLayers]]></category>
		<category><![CDATA[matte pass]]></category>
		<category><![CDATA[maya]]></category>
		<category><![CDATA[Mental Ray]]></category>
		<category><![CDATA[writeToColorBuffer]]></category>

		<guid isPermaLink="false">http://www.keysnclicks.com/?p=1256</guid>
		<description><![CDATA[<p>Here's a way to output single matte pass for multiple objects/shaders using writeToColorBuffer node in Mental Ray. This is handy in situations when you want a combined matte pass for various shaders applied to multiple objects. For e.g: say you have a room where roof comprises of various elements like main roof, fan lights, false ceiling boards etc. Now to separate the complete roof in composite you would want a single matte pass but writeToColorBuffer node takes only single shader as an input.</p>
<p> <a title="JS_MultiLayer" href="http://www.keysnclicks.com/tips/layering-multiple-shaders-in-maya-mental-ray/" target="_blank">JS_MultiLayer</a> shader from Jan Sandstörm comes handy in such situations as it allow us to layer multiple shaders. Once we combine all shaders we then feed it to writeToColorBuffer.</p>
<p>There is one more step to do before we can get the combined matte pass. WriteToColorBuffer works for shaders which are applied to objects in the scene but if we apply the combined JS_Multilayer shader to objects then we may not get other required passes like color, master beauty etc. as we want them. So rather than applying the JS_Multilayer shader to objects in scene we plug it in the "shading group" of the shaders for which we need the combined matte pass. Dont worry if you dont understand what this means as I have attached a scene file so you can have a look at the connections.</p>
<p>One thing I noticed is this procedure works better with mia_x, mia_x_passes and JS_Multilayer but somehow doesn't give needed results with Maya shaders like Lambert, Blin etc.</p>
<p><span style="background-color: #454545; color: #ffffff;"><a href="http://www.keysnclicks.com/blog/wp-content/uploads/2012/02/writeToColorBuffer_multiObject_keysnclicks.com_.zip"><span style="background-color: #454545; color: #ffffff;">Download scene file</span></a></span></p>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a way to output single matte pass for multiple objects/shaders using writeToColorBuffer node in Mental Ray. This is handy in situations when you want a combined matte pass for various shaders applied to multiple objects. For e.g: say you have a room where roof comprises of various elements like main roof, fan lights, false ceiling boards etc. Now to separate the complete roof in composite you would want a single matte pass but writeToColorBuffer node takes only single shader as an input.</p>
<p> <a title="JS_MultiLayer" href="http://www.keysnclicks.com/tips/layering-multiple-shaders-in-maya-mental-ray/" target="_blank">JS_MultiLayer</a> shader from Jan Sandstörm comes handy in such situations as it allow us to layer multiple shaders. Once we combine all shaders we then feed it to writeToColorBuffer.</p>
<p>There is one more step to do before we can get the combined matte pass. WriteToColorBuffer works for shaders which are applied to objects in the scene but if we apply the combined JS_Multilayer shader to objects then we may not get other required passes like color, master beauty etc. as we want them. So rather than applying the JS_Multilayer shader to objects in scene we plug it in the &#8220;shading group&#8221; of the shaders for which we need the combined matte pass. Dont worry if you dont understand what this means as I have attached a scene file so you can have a look at the connections.</p>
<p>One thing I noticed is this procedure works better with mia_x, mia_x_passes and JS_Multilayer but somehow doesn&#8217;t give needed results with Maya shaders like Lambert, Blin etc.</p>
<p><span style="background-color: #454545; color: #ffffff;"><a href="http://www.keysnclicks.com/blog/wp-content/uploads/2012/02/writeToColorBuffer_multiObject_keysnclicks.com_.zip"><span style="background-color: #454545; color: #ffffff;">Download scene file</span></a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.keysnclicks.com/tips/combined-matte-pass-using-writetocolorbuffer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get selection&#8217;s shader</title>
		<link>http://www.keysnclicks.com/tips/get-selections-shader/</link>
		<comments>http://www.keysnclicks.com/tips/get-selections-shader/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 12:07:41 +0000</pubDate>
		<dc:creator>keysnclicks</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[maya]]></category>
		<category><![CDATA[MEL]]></category>

		<guid isPermaLink="false">http://www.keysnclicks.com/?p=1280</guid>
		<description><![CDATA[<p>There are times when you want to quickly select the shader applied to the selected object rather than switching between various tabs in the Attribute Editor or going through the numerous shaders in the Hypershade. You can use the following mel script to automate this task.</p>
[cpp]

string $shaderName[] = stringArrayRemoveDuplicates(
     ls(&#34;-mat&#34;, listConnections( listConnections(&#34;-type&#34;,&#34;shadingEngine&#34;,`ls -sl -o -dag -s`))
   )
);
select -r $shaderName[0];

[/cpp]
<p>We are using an Array ( $matName[] ) here so that we can select the first shader returned from the list of multiple shaders (just in case) applied to one object.
<p/>
<p><strong>stringArrayRemoveDuplicates </strong>remove all duplicate items from a string array. There will be only one occurrence of each string item in the returned string array. </p>

<br/><br/>]]></description>
			<content:encoded><![CDATA[<p>There are times when you want to quickly select the shader applied to the selected object rather than switching between various tabs in the Attribute Editor or going through the numerous shaders in the Hypershade. You can use the following mel script to automate this task.</p>
<pre class="brush: cpp; title: ; notranslate">

string $shaderName[] = stringArrayRemoveDuplicates(
     ls(&quot;-mat&quot;, listConnections( listConnections(&quot;-type&quot;,&quot;shadingEngine&quot;,`ls -sl -o -dag -s`))
   )
);
select -r $shaderName[0];

</pre>
<p>We are using an Array ( $matName[] ) here so that we can select the first shader returned from the list of multiple shaders (just in case) applied to one object.
<p/>
<p><strong>stringArrayRemoveDuplicates </strong>remove all duplicate items from a string array. There will be only one occurrence of each string item in the returned string array. </p>

<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.keysnclicks.com/tips/get-selections-shader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hi Honey Willie</title>
		<link>http://www.keysnclicks.com/portfolio/hi-honey-willie/</link>
		<comments>http://www.keysnclicks.com/portfolio/hi-honey-willie/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 07:59:43 +0000</pubDate>
		<dc:creator>keysnclicks</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[After Effects]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[maya]]></category>
		<category><![CDATA[Mental Ray]]></category>
		<category><![CDATA[short film]]></category>

		<guid isPermaLink="false">http://www.keysnclicks.com/?p=1272</guid>
		<description><![CDATA[<p>A funny short film with diverse characters and a suspense...</p>]]></description>
			<content:encoded><![CDATA[
<p>A funny short film with diverse characters and a suspense&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.keysnclicks.com/portfolio/hi-honey-willie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
