<?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/"
	>

<channel>
	<title>pixelgrit</title>
	<atom:link href="http://www.pixelgrit.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.pixelgrit.com</link>
	<description>photography, compositing, technology &#38; random jibber</description>
	<pubDate>Tue, 29 Dec 2009 09:10:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Noosa Sky</title>
		<link>http://www.pixelgrit.com/?p=584</link>
		<comments>http://www.pixelgrit.com/?p=584#comments</comments>
		<pubDate>Tue, 29 Dec 2009 09:09:39 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Digital Photos]]></category>

		<category><![CDATA[clouds]]></category>

		<category><![CDATA[Noosa]]></category>

		<category><![CDATA[sky]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=584</guid>
		<description><![CDATA[<p>We were lucky enough to spend Christmas this year with my brother, sister-in-law and their two amazing kids. This was shot outside their deck overlooking the Noosa National Park.  Taken with my Canon EOS 5D MkII, f1.8, 1/60, Av Mode, ISO 640, EF 50mm f1.2L USM lens.</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-585" title="noosasky" src="http://www.pixelgrit.com/wp-content/uploads/noosasky.png" alt="noosasky" width="575" height="383" />We were lucky enough to spend Christmas this year with my brother, sister-in-law and their two amazing kids. This was shot outside their deck overlooking the Noosa National Park.  Taken with my Canon EOS 5D MkII, f1.8, 1/60, Av Mode, ISO 640, EF 50mm f1.2L USM lens.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=584</wfw:commentRss>
		</item>
		<item>
		<title>Christmas Story: 1919</title>
		<link>http://www.pixelgrit.com/?p=579</link>
		<comments>http://www.pixelgrit.com/?p=579#comments</comments>
		<pubDate>Thu, 19 Nov 2009 04:47:19 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Random]]></category>

		<category><![CDATA[history]]></category>

		<category><![CDATA[Photography]]></category>

		<category><![CDATA[URL]]></category>

		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=579</guid>
		<description><![CDATA[<p>Another link that was going around the office. This is a great site of historical photo&#8217;s from &#8220;back in the day&#8221; &#8230;</p>
<p>check it out http://shorpy.com/</p>
]]></description>
			<content:encoded><![CDATA[<p>Another link that was going around the office. This is a great site of historical photo&#8217;s from &#8220;back in the day&#8221; &#8230;<img class="alignnone size-full wp-image-580" title="christmasstory1919" src="http://www.pixelgrit.com/wp-content/uploads/christmasstory1919.png" alt="christmasstory1919" width="575" height="383" /></p>
<p>check it out <a title="SHORPY" href="http://shorpy.com/" target="_blank">http://shorpy.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=579</wfw:commentRss>
		</item>
		<item>
		<title>Wind Turbines</title>
		<link>http://www.pixelgrit.com/?p=573</link>
		<comments>http://www.pixelgrit.com/?p=573#comments</comments>
		<pubDate>Wed, 14 Oct 2009 00:25:46 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Time-lapse]]></category>

		<category><![CDATA[5DMkII]]></category>

		<category><![CDATA[wind turbine]]></category>

		<category><![CDATA[windmill]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=573</guid>
		<description><![CDATA[<p></p>
<p>Time-lapse Wind Turbines from Ben Roberts on Vimeo.</p>
<p>Time-lapse Test Compilation [ tl-001a - tl-007 ] from Ben Roberts on Vimeo.</p>
<p>Here is some more Time-lapse shot last weekend. I choose the same 1 second interval but after a great friend and fellow work mate, ioxu checked it out, I decided to speed things up. This has [...]]]></description>
			<content:encoded><![CDATA[<p><object width="400" height="300" data="http://vimeo.com/moogaloop.swf?clip_id=7017041&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=7017041&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /></object></p>
<p><a href="http://vimeo.com/7017041">Time-lapse Wind Turbines</a> from <a href="http://vimeo.com/pixelgrit">Ben Roberts</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><a href="http://vimeo.com/6900298">Time-lapse Test Compilation [ tl-001a - tl-007 ]</a> from <a href="http://vimeo.com/pixelgrit">Ben Roberts</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>Here is some more Time-lapse shot last weekend. I choose the same 1 second interval but after a great friend and fellow work mate, <a title="ioxu" href="http://ioxu.com/blog/" target="_blank">ioxu</a> checked it out, I decided to speed things up. This has now been speed up by x4 using frame blending to get the blades on the turbines a bit smoother. Again same camera Canon 5DMkII with my 50mm 1.2 L lens. Next time I think I&#8217;ll shoot at 5 or 10 second intervals for a lot longer and see how it turns out. Check it out on <a title="Wind Turbine Time-lapse" href="http://vimeo.com/7017041" target="_blank">vimeo</a> for a HD720p version.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=573</wfw:commentRss>
		</item>
		<item>
		<title>First Time-lapse Tests</title>
		<link>http://www.pixelgrit.com/?p=569</link>
		<comments>http://www.pixelgrit.com/?p=569#comments</comments>
		<pubDate>Wed, 14 Oct 2009 00:19:56 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Time-lapse]]></category>

		<category><![CDATA[5DMkII]]></category>

		<category><![CDATA[clouds]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=569</guid>
		<description><![CDATA[<p></p>
<p>Time-lapse Test Compilation [ tl-001a - tl-007 ] from Ben Roberts on Vimeo.</p>
<p>So here is my first go at some time-lapse. I&#8217;m still working out intervals and how I&#8217;ll record the data. This is a compilation of 7 shots taken with my Canon 5DMkII using my EF 50mm f1.2L USM lens. I used the Yongnuo Digital [...]]]></description>
			<content:encoded><![CDATA[<p><object width="400" height="300" data="http://vimeo.com/moogaloop.swf?clip_id=6900298&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=6900298&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /></object></p>
<p><a href="http://vimeo.com/6900298">Time-lapse Test Compilation [ tl-001a - tl-007 ]</a> from <a href="http://vimeo.com/pixelgrit">Ben Roberts</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>So here is my first go at some time-lapse. I&#8217;m still working out intervals and how I&#8217;ll record the data. This is a compilation of 7 shots taken with my Canon 5DMkII using my EF 50mm f1.2L USM lens. I used the Yongnuo Digital Timer Remote Controller TC-80N3a Intervalometer. I had to set the camera to full manual settings, shoot to 5616&#215;3744 JPG because I was not getting enough bandwidth off my Memory Card to do RAW+JPG or even just RAW (will investigate further) and using the &#8220;Standard&#8221; Canon Picture Style Profile. I also used Nuke to de-flicker the sequence a bit, as the luminance shifted quite a bit from frame to frame. There is still a fair bit of flickering, so I am trying to find a more procedural workflow to remove this. Check it out on <a title="First time-lapse tests" href="http://vimeo.com/6900298" target="_blank">vimeo</a> for the HD720p version.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=569</wfw:commentRss>
		</item>
		<item>
		<title>Choice Time Lapse</title>
		<link>http://www.pixelgrit.com/?p=484</link>
		<comments>http://www.pixelgrit.com/?p=484#comments</comments>
		<pubDate>Wed, 14 Oct 2009 00:10:09 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Time-lapse]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=484</guid>
		<description><![CDATA[<p>So I&#8217;ve started doing some time-lapse, which on the whole has been fairly successful - I&#8217;ll post more on that soon. Meanwhile check out some of these crackers &#8230;</p>
<p></p>
<p>New Zealand from Chris Benny on Vimeo.</p>
<p></p>
<p>Another Cloud Reel&#8230; from Delrious on Vimeo.</p>
<p></p>
<p>The San Mateo County Fair from Delrious on Vimeo.</p>
<p></p>
<p>Timescapes Timelapse: Learning to Fly from Tom [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve started doing some time-lapse, which on the whole has been fairly successful - I&#8217;ll post more on that soon. Meanwhile check out some of these crackers &#8230;</p>
<p><object width="400" height="300" data="http://vimeo.com/moogaloop.swf?clip_id=5988036&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=f00024&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=5988036&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=f00024&amp;fullscreen=1" /></object></p>
<p><a href="http://vimeo.com/5988036">New Zealand</a> from <a href="http://vimeo.com/user1375790">Chris Benny</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><object width="400" height="300" data="http://vimeo.com/moogaloop.swf?clip_id=6601409&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=6601409&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /></object></p>
<p><a href="http://vimeo.com/6601409">Another Cloud Reel&#8230;</a> from <a href="http://vimeo.com/user1418111">Delrious</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><object width="400" height="300" data="http://vimeo.com/moogaloop.swf?clip_id=6158155&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=6158155&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /></object></p>
<p><a href="http://vimeo.com/6158155">The San Mateo County Fair</a> from <a href="http://vimeo.com/user1418111">Delrious</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><object width="400" height="300" data="http://vimeo.com/moogaloop.swf?clip_id=4038064&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=4038064&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /></object></p>
<p><a href="http://vimeo.com/4038064">Timescapes Timelapse: Learning to Fly</a> from <a href="http://vimeo.com/timescapes">Tom @ Timescapes</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><object width="400" height="300" data="http://vimeo.com/moogaloop.swf?clip_id=1635766&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=1635766&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /></object></p>
<p><a href="http://vimeo.com/1635766">Twin Peaks San Francisco Sunrise (HDR time-lapse)</a> from <a href="http://vimeo.com/timetraveler">Chad Richard</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><object width="400" height="300" data="http://vimeo.com/moogaloop.swf?clip_id=3744985&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=ffbf00&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=3744985&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=ffbf00&amp;fullscreen=1" /></object></p>
<p><a href="http://vimeo.com/3744985">Pixel&#8217;s Revenge timelapse showreel</a> from <a href="http://vimeo.com/ridindave">David Coiffier</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>And here&#8217;s a great Vimeo channel I just stumbled across, <a href="http://vimeo.com/channels/timelapseinhd" target="_blank">Time Lapse in HD</a>.</p>
<p>I have to make me self one of these DIY dolly&#8217;s. Bloody great results and cheap as!<br />
<object width="400" height="300" data="http://vimeo.com/moogaloop.swf?clip_id=6261771&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=6261771&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /></object></p>
<p><a href="http://vimeo.com/6261771">DIY Dolly for Canon 5D II - TEST</a> from <a href="http://vimeo.com/user1922708">Niels Kjær Olsen</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>Here&#8217;s the cheap canon rip-off intervalometer I bought off ebay which saved me around $300 compared to the canon one. It&#8217;s a Yongnuo Digital Timer Remote Controller TC-80N3a Intervalometer. The only downside is it doesn&#8217;t have an off button - wadayagonnado?</p>
<p><img class="alignnone size-full wp-image-486" title="221543939_o" src="http://www.pixelgrit.com/wp-content/uploads/221543939_o.jpg" alt="221543939_o" width="328" height="273" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=484</wfw:commentRss>
		</item>
		<item>
		<title>Bird In Sky</title>
		<link>http://www.pixelgrit.com/?p=546</link>
		<comments>http://www.pixelgrit.com/?p=546#comments</comments>
		<pubDate>Sat, 26 Sep 2009 14:42:01 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Digital Photos]]></category>

		<category><![CDATA[5DMkII]]></category>

		<category><![CDATA[bird]]></category>

		<category><![CDATA[clouds]]></category>

		<category><![CDATA[sky]]></category>

		<category><![CDATA[Time-lapse]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=546</guid>
		<description><![CDATA[A still from my first time-lapse footage, shot last weekend. Taken with my Canon EOS 5D MkII, f16, 1/500, M Mode, ISO 160, EF 50mm f1.2L USM lens.]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-547" title="birdinsky" src="http://www.pixelgrit.com/wp-content/uploads/birdinsky.png" alt="birdinsky" width="575" height="383" /><br />
A still from my first time-lapse footage, shot last weekend. I haven&#8217;t managed to wrangle all the footage together yet, but will hopefully do so and post them over the next few days. This is just 1 of 570 stills taken from that batch, shot just up Old Belair Road. Taken with my Canon EOS 5D MkII, f16, 1/500, M Mode, ISO 160, EF 50mm f1.2L USM lens.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=546</wfw:commentRss>
		</item>
		<item>
		<title>5DMkII Noise</title>
		<link>http://www.pixelgrit.com/?p=532</link>
		<comments>http://www.pixelgrit.com/?p=532#comments</comments>
		<pubDate>Sat, 26 Sep 2009 14:28:38 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Photography]]></category>

		<category><![CDATA[5DMkII]]></category>

		<category><![CDATA[camera]]></category>

		<category><![CDATA[noise]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=532</guid>
		<description><![CDATA[<p></p>
<p>I stumbled across this graph plotting noise vs ISO on the 5DMkII. I was perusing the cinema5D forums when this popped up. Here&#8217;s the link to the cinema5D thread which also has some brilliant Highlight Tone Priority tests, thanks to AdamJ for the orginial post on canonphotogroup.com. Extemely interesting that ISO 1250 seems to have less noise [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.pixelgrit.com/wp-content/uploads/5dm2-iso-noise.jpg" target="_blank"><img class="alignnone size-full wp-image-535" title="Click for larger image" src="http://www.pixelgrit.com/wp-content/uploads/5dm2-iso-noise-smll.jpg" alt="5dm2-iso-noise-smll" width="575" height="319" /></a></p>
<p><a href="http://www.pixelgrit.com/wp-content/uploads/5dm2-iso-noise.jpg" target="_blank"></a>I stumbled across this graph plotting noise vs ISO on the 5DMkII. I was perusing the cinema5D forums when this popped up. Here&#8217;s the link to the cinema5D <a href="http://www.cinema5d.com/viewtopic.php?f=14&amp;t=4736" target="_blank">thread</a> which also has some brilliant Highlight Tone Priority tests, thanks to AdamJ for the <a href="http://forums.canonphotogroup.com/showthread.php?t=2541" target="_blank">orginial post</a> on canonphotogroup.com. Extemely interesting that ISO 1250 seems to have less noise than 160.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=532</wfw:commentRss>
		</item>
		<item>
		<title>Miniature Goat</title>
		<link>http://www.pixelgrit.com/?p=522</link>
		<comments>http://www.pixelgrit.com/?p=522#comments</comments>
		<pubDate>Thu, 17 Sep 2009 02:46:56 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Digital Photos]]></category>

		<category><![CDATA[goat]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=522</guid>
		<description><![CDATA[<p>Playing around with my goats last night I snapped this shot. Taken with my Canon EOS 5D MkII, f1.2, 1/800, Av Mode, ISO 640, EF 50mm f1.2L USM lens.</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-523" title="miniaturegoat" src="http://www.pixelgrit.com/wp-content/uploads/miniaturegoat.png" alt="miniaturegoat" width="575" height="432" />Playing around with my goats last night I snapped this shot. Taken with my Canon EOS 5D MkII, f1.2, 1/800, Av Mode, ISO 640, EF 50mm f1.2L USM lens.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=522</wfw:commentRss>
		</item>
		<item>
		<title>Nuke Noise</title>
		<link>http://www.pixelgrit.com/?p=505</link>
		<comments>http://www.pixelgrit.com/?p=505#comments</comments>
		<pubDate>Tue, 15 Sep 2009 12:58:52 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Compositing]]></category>

		<category><![CDATA[noise]]></category>

		<category><![CDATA[nuke]]></category>

		<category><![CDATA[nuke noise]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=505</guid>
		<description><![CDATA[<p></p>
<p>Here is some custom Nuke noise, similar to those noise functions I posted as Shake Noise3d. I will call it Nuke Noise. Not to be mistaken with Nukes built in Turbulence or fBm pixel generation methods. We have Nukes noise function (noise (x,y,z)) being called via some User Knobs. Again there&#8217;s control over Frequency, Seed, [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-506" title="nukenoise" src="http://www.pixelgrit.com/wp-content/uploads/nukenoise.png" alt="nukenoise" width="575" height="432" /></p>
<p>Here is some custom Nuke noise, similar to those noise functions I posted as <a title="Shake Noise3d" href="http://www.pixelgrit.com/?p=304" target="_blank">Shake Noise3d</a>. I will call it Nuke Noise. Not to be mistaken with Nukes built in Turbulence or fBm pixel generation methods. We have Nukes noise function (noise (x,y,z)) being called via some User Knobs. Again there&#8217;s control over Frequency, Seed, Amplitude, Time Offset and Amount.</p>
<p>And here&#8217;s the Nuke code, tested under Nuke v5.2v1 on Mac OSX 10.6. If this doesn&#8217;t copy &amp; paste into Nuke, you may need to grab the <a href="http://www.pixelgrit.com/wp-content/uploads/Noise.nk">script</a>. I&#8217;m still sorting out how to post code in wordpress.</p>
<p>set cut_paste_input [stack 0]<br />
version 5.2100<br />
push $cut_paste_input<br />
Multiply {<br />
value {{&#8221;(1*(noise((frame+(timeOffset*100))*freq, (seed*5), 0)*2-1)*amp+(amp*.7))+amount&#8221;}}<br />
maskChannelMask -rgba.alpha<br />
name Noise<br />
selected true<br />
xpos -116<br />
ypos -156<br />
addUserKnob {20 parameters l Parameters}<br />
addUserKnob {7 freq l Frequency}<br />
freq 0.15<br />
addUserKnob {7 seed l Seed t &#8220;\t\t\t\t\t\t&#8221; R 0 100}<br />
seed 2.5<br />
addUserKnob {7 amp l Amplitude}<br />
amp 0.5<br />
addUserKnob {7 timeOffset l &#8220;Time Offset&#8221; R 0 100}<br />
addUserKnob {7 amount l Amount}<br />
amount 0.75<br />
addUserKnob {26 &#8220;&#8221;}<br />
addUserKnob {41 channels_1 l channels T Noise.channels}<br />
addUserKnob {41 value_1 l value T Noise.value}<br />
addUserKnob {26 &#8220;&#8221; l mask T &#8220;&#8221;}<br />
addUserKnob {41 maskChannelMask_1 l &#8220;&#8221; -STARTLINE T Noise.maskChannelMask}<br />
addUserKnob {41 maskChannelInput_1 l &#8220;&#8221; -STARTLINE T Noise.maskChannelInput}<br />
addUserKnob {41 inject_1 l inject -STARTLINE T Noise.inject}<br />
addUserKnob {41 invert_mask_1 l invert -STARTLINE T Noise.invert_mask}<br />
addUserKnob {41 fringe_1 l fringe -STARTLINE T Noise.fringe}<br />
addUserKnob {41 unpremult_1 l &#8220;(un)premult by&#8221; T Noise.unpremult}<br />
addUserKnob {41 invert_unpremult_1 l invert -STARTLINE T Noise.invert_unpremult}<br />
addUserKnob {41 mix_1 l mix T Noise.mix}<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=505</wfw:commentRss>
		</item>
		<item>
		<title>Bonfire</title>
		<link>http://www.pixelgrit.com/?p=499</link>
		<comments>http://www.pixelgrit.com/?p=499#comments</comments>
		<pubDate>Mon, 07 Sep 2009 02:40:03 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Digital Photos]]></category>

		<category><![CDATA[50mm]]></category>

		<category><![CDATA[5DMkII]]></category>

		<category><![CDATA[bonfire]]></category>

		<category><![CDATA[night]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=499</guid>
		<description><![CDATA[<p>A perfect night with great company, gazing into the bonfire. Taken with my new Canon EOS 5D MkII, f1.2, 1/13, Av Mode, ISO 1250, EF USM L 50mm lens.</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-500" title="bonfire" src="http://www.pixelgrit.com/wp-content/uploads/bonfire.png" alt="bonfire" width="575" height="432" />A perfect night with great company, gazing into the bonfire. Taken with my new Canon EOS 5D MkII, f1.2, 1/13, Av Mode, ISO 1250, EF USM L 50mm lens.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=499</wfw:commentRss>
		</item>
		<item>
		<title>Hyperfocal Distance</title>
		<link>http://www.pixelgrit.com/?p=465</link>
		<comments>http://www.pixelgrit.com/?p=465#comments</comments>
		<pubDate>Fri, 21 Aug 2009 12:19:15 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Photography]]></category>

		<category><![CDATA[50mm]]></category>

		<category><![CDATA[coc]]></category>

		<category><![CDATA[focus]]></category>

		<category><![CDATA[hyperfocal distance]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=465</guid>
		<description><![CDATA[<p></p>
<p>Now I&#8217;ve had a play with my MkII, I&#8217;ve found the need to get into some proper focal distance calculation&#8217;s to make life easier when shooting video. Since it&#8217;s all manual exposure and focusing, it&#8217;s a change from going all auto. I&#8217;ve been practicing holding focus on my two daughters at play with my 50mm [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-466" title="df8ea1ce6e91fc830807254b434dc6af" src="http://www.pixelgrit.com/wp-content/uploads/df8ea1ce6e91fc830807254b434dc6af.png" alt="df8ea1ce6e91fc830807254b434dc6af" width="274" height="48" /></p>
<p>Now I&#8217;ve had a play with my MkII, I&#8217;ve found the need to get into some proper focal distance calculation&#8217;s to make life easier when shooting video. Since it&#8217;s all manual exposure and focusing, it&#8217;s a change from going all auto. I&#8217;ve been practicing holding focus on my two daughters at play with my 50mm @ f1.2, a bloody hard task &#8230; I found this example on <a href="http://en.wikipedia.org/wiki/Hyperfocal_distance#Example">wikipedia.org</a> on how to calculate the hyperfocal distance for the lens I have on the 5D MkII - Canon EF 50 mm F1.2L USM. Here&#8217;s another piece of the puzzle - <a href="http://www.dofmaster.com/digital_coc.html" target="_blank">COC</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=465</wfw:commentRss>
		</item>
		<item>
		<title>High-speed Conversion of Floating Point Images to 8-bit</title>
		<link>http://www.pixelgrit.com/?p=455</link>
		<comments>http://www.pixelgrit.com/?p=455#comments</comments>
		<pubDate>Fri, 07 Aug 2009 07:18:20 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Compositing]]></category>

		<category><![CDATA[8bit]]></category>

		<category><![CDATA[bill spitzak]]></category>

		<category><![CDATA[digital domain]]></category>

		<category><![CDATA[float]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=455</guid>
		<description><![CDATA[<p>
Bill Spitzak from Digtial Domain wrote these pages on converting floating point images to 8-bit. Very interesting read even though it is a bit outdated. From memory this guy wrote quite a bit of the Nuke code now taken over by the Foundry.</p>
<p>http://mysite.verizon.net/spitzak/conversion/index.html</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-456" title="floatconv" src="http://www.pixelgrit.com/wp-content/uploads/floatconv.png" alt="floatconv" width="575" height="383" /><br />
Bill Spitzak from <a href="http://digitaldomain.com/" target="_blank">Digtial Domain</a> wrote these pages on converting floating point images to 8-bit. Very interesting read even though it is a bit outdated. From memory this guy wrote quite a bit of the Nuke code now taken over by the <a href="http://www.thefoundry.co.uk/" target="_blank">Foundry</a>.</p>
<p><a href="http://mysite.verizon.net/spitzak/conversion/index.html" target="_blank">http://mysite.verizon.net/spitzak/conversion/index.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=455</wfw:commentRss>
		</item>
		<item>
		<title>New Toy</title>
		<link>http://www.pixelgrit.com/?p=449</link>
		<comments>http://www.pixelgrit.com/?p=449#comments</comments>
		<pubDate>Fri, 07 Aug 2009 06:56:37 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Photography]]></category>

		<category><![CDATA[camera]]></category>

		<category><![CDATA[canon 5d mkII]]></category>

		<category><![CDATA[DSLR]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=449</guid>
		<description><![CDATA[<p>
Finally got my hands on one of these! The Canon 5D MkII. I&#8217;ve set myself up with a Canon 50mm f/1.2L USM lense (my first real lense) and am really stoked to be able to take some serious photos with this puppy. The DOF on this 1.2 is stunning and it just rocks in low [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-450" title="5dmkii" src="http://www.pixelgrit.com/wp-content/uploads/5dmkii.png" alt="5dmkii" width="575" height="383" /><br />
Finally got my hands on one of these! The Canon 5D MkII. I&#8217;ve set myself up with a Canon 50mm f/1.2L USM lense (my first real lense) and am really stoked to be able to take some serious photos with this puppy. The DOF on this 1.2 is stunning and it just rocks in low light. I also really like the idea of stripping back the setup to a fixed prime 50mm; none of this zoom business. If you need to get in close, use your feet, wanna take some wide landscapes - shoot a vertical pano and stitch it &#8230; Of course there&#8217;s times when you just can&#8217;t get in close - so if you&#8217;ve got the cash, grab Canon&#8217;s 85mm f/1.2L USM. This has so much glass, is razor sharp and the bokeh is even nicer than the 50mm. Ohhh it does 1920&#215;1080 Full HD video too, using H.264 compression with 44khz audio. Anyway enough of the chatter, on with the clicking.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=449</wfw:commentRss>
		</item>
		<item>
		<title>Technical Articles on Photography</title>
		<link>http://www.pixelgrit.com/?p=443</link>
		<comments>http://www.pixelgrit.com/?p=443#comments</comments>
		<pubDate>Fri, 07 Aug 2009 06:54:19 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Photography]]></category>

		<category><![CDATA[papers]]></category>

		<category><![CDATA[technical]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=443</guid>
		<description><![CDATA[<p>
Someone at work sent this link around. It has some really nice technical papers on photography and specifically on digital photography. Definitely worth  a look.</p>
<p>http://www.wrotniak.net/photo/tech/index.html</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-444" title="focalshutter" src="http://www.pixelgrit.com/wp-content/uploads/focalshutter.png" alt="focalshutter" width="575" height="383" /><br />
Someone at work sent this link around. It has some really nice technical papers on photography and specifically on digital photography. Definitely worth  a look.</p>
<p><a href="http://www.wrotniak.net/photo/tech/index.html" target="_blank">http://www.wrotniak.net/photo/tech/index.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=443</wfw:commentRss>
		</item>
		<item>
		<title>Purple Iris</title>
		<link>http://www.pixelgrit.com/?p=398</link>
		<comments>http://www.pixelgrit.com/?p=398#comments</comments>
		<pubDate>Sun, 26 Jul 2009 03:55:50 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Digital Photos]]></category>

		<category><![CDATA[flower]]></category>

		<category><![CDATA[iris]]></category>

		<category><![CDATA[purple iris]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=398</guid>
		<description><![CDATA[
<p>A purple Iris taken with my compact Sony Cybershot DSC-T1 using a built in flash in macro mode.
]]></description>
			<content:encoded><![CDATA[<div>
<p><img class="alignnone size-full wp-image-403" title="purpleiris" src="http://www.pixelgrit.com/wp-content/uploads/purpleiris.png" alt="purpleiris" width="575" height="432" />A purple Iris taken with my compact Sony Cybershot DSC-T1 using a built in flash in macro mode.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=398</wfw:commentRss>
		</item>
		<item>
		<title>Studio Lighting</title>
		<link>http://www.pixelgrit.com/?p=395</link>
		<comments>http://www.pixelgrit.com/?p=395#comments</comments>
		<pubDate>Sun, 26 Jul 2009 03:52:52 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Photography]]></category>

		<category><![CDATA[lighting]]></category>

		<category><![CDATA[portraits]]></category>

		<category><![CDATA[studio]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=395</guid>
		<description><![CDATA[I just stumbled across this site which had some good examples of studio lighting.

http://www.shotaddict.com/tips/ ...]]></description>
			<content:encoded><![CDATA[<p>I just stumbled across this site which had some good examples of studio lighting.</p>
<p><a href="http://www.shotaddict.com/tips/article_Tips+You+Are+Looking+For+Studio+Lighting+Techniques.html" target="_blank"> http://www.shotaddict.com/tips/article_Tips+You+Are+Looking+For+Studio+Lighting+Techniques.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=395</wfw:commentRss>
		</item>
		<item>
		<title>Photography Sites</title>
		<link>http://www.pixelgrit.com/?p=372</link>
		<comments>http://www.pixelgrit.com/?p=372#comments</comments>
		<pubDate>Sun, 26 Jul 2009 03:43:45 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Photography]]></category>

		<category><![CDATA[blogs]]></category>

		<category><![CDATA[favourite sites]]></category>

		<category><![CDATA[photographers]]></category>

		<category><![CDATA[URL]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=372</guid>
		<description><![CDATA[<p>Here’s a collection of photography sites I frequent, more for inspiration than anything else.</p>
<p>Feature Shoot: http://www.featureshoot.com/
Flak Photo: http://www.featureshoot.com/
The Big Picture: http://boston.com/bigpicture/
Tim Barber: http://tinyvices.com/Tim_Barber_portfolio_TV08_1
Aperture Foundation: http://www.aperture.org/
Tiny Vices - A must see smorgasbord: http://tinyvices.com/
Vincent Laforet: http://blog.vincentlaforet.com/ 
Lost and taken: http://lostandtaken.com/</p>
<p>Here are some techy sites on digital photography, film making and technology.</p>
<p>Cineform Insider: http://cineform.blogspot.com/
Prolost: http://prolost.com/</p>
]]></description>
			<content:encoded><![CDATA[<p>Here’s a collection of photography sites I frequent, more for inspiration than anything else.</p>
<p>Feature Shoot: <a href="http://www.featureshoot.com/" target="_blank">http://www.featureshoot.com/</a><br />
Flak Photo: <a href="http://www.featureshoot.com/" target="_blank">http://www.featureshoot.com/</a><br />
The Big Picture: <a href="http://boston.com/bigpicture/" target="_blank">http://boston.com/bigpicture/</a><br />
Tim Barber: <a href="http://tinyvices.com/Tim_Barber_portfolio_TV08_1" target="_blank">http://tinyvices.com/Tim_Barber_portfolio_TV08_1</a><br />
Aperture Foundation: <a href="http://www.aperture.org/" target="_blank">http://www.aperture.org/</a><br />
Tiny Vices - A must see smorgasbord: <a href="http://tinyvices.com/" target="_blank">http://tinyvices.com/</a><br />
Vincent Laforet: <a href="http://blog.vincentlaforet.com/ " target="_blank">http://blog.vincentlaforet.com/ </a><br />
Lost and taken: <a href="http://lostandtaken.com/" target="_blank">http://lostandtaken.com/</a></p>
<p>Here are some techy sites on digital photography, film making and technology.</p>
<p>Cineform Insider: <a href="http://cineform.blogspot.com/" target="_blank">http://cineform.blogspot.com/</a><br />
Prolost: <a href="http://prolost.com/" target="_blank">http://prolost.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=372</wfw:commentRss>
		</item>
		<item>
		<title>Number 80</title>
		<link>http://www.pixelgrit.com/?p=360</link>
		<comments>http://www.pixelgrit.com/?p=360#comments</comments>
		<pubDate>Fri, 24 Jul 2009 11:22:34 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Happy Snaps on Flickr]]></category>

		<category><![CDATA[family]]></category>

		<category><![CDATA[flickr]]></category>

		<category><![CDATA[home]]></category>

		<category><![CDATA[photos]]></category>

		<category><![CDATA[renovations]]></category>

		<category><![CDATA[wallpaper]]></category>

		<category><![CDATA[[flickr_highslide]]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=360</guid>
		<description><![CDATA[Follow our photoset on Flickr.]]></description>
			<content:encoded><![CDATA[<p>Flickr + Highslide is not configured correctly</p><p>Error: Invalid API Key (Key has expired)</p><p style="padding-left: 30px;">
<p><img class="alignnone size-full wp-image-410" title="flickr" src="http://www.pixelgrit.com/wp-content/uploads/flickr.png" alt="flickr" width="111" height="36" /><a href="http://flickr.com/pixelgrit/"><br />
Follow us on Flickr</a><a href="http://flickr.com/pixelgrit" target="_blank"><br />
</a>Some wallpaper we discovered while pulling apart our kitchen.</p>
<p><img class="alignnone size-full wp-image-365" title="wallpaper" src="http://www.pixelgrit.com/wp-content/uploads/wallpaper.png" alt="wallpaper" width="575" height="384" /></p>

]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=360</wfw:commentRss>
		</item>
		<item>
		<title>Scrapbook</title>
		<link>http://www.pixelgrit.com/?p=350</link>
		<comments>http://www.pixelgrit.com/?p=350#comments</comments>
		<pubDate>Fri, 24 Jul 2009 03:24:44 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Random]]></category>

		<category><![CDATA[images]]></category>

		<category><![CDATA[Photography]]></category>

		<category><![CDATA[pop culture]]></category>

		<category><![CDATA[URL]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=350</guid>
		<description><![CDATA[<p>A friend of mine sent me a link to this site. It&#8217;s like a record of pop culture imagery that is completely compelling&#8230; and here&#8217;s a taste.</p>
<p></p>
<p>http://jblyth.com/blog.html</p>
]]></description>
			<content:encoded><![CDATA[<p>A friend of mine sent me a link to this site. It&#8217;s like a record of pop culture imagery that is completely compelling&#8230; and here&#8217;s a taste.</p>
<p><img class="alignnone size-full wp-image-351" title="misfits" src="http://www.pixelgrit.com/wp-content/uploads/misfits.jpg" alt="misfits" width="573" height="538" /></p>
<p><a href="http://jblyth.com/blog.html" target="_blank">http://jblyth.com/blog.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=350</wfw:commentRss>
		</item>
		<item>
		<title>Waterfall</title>
		<link>http://www.pixelgrit.com/?p=332</link>
		<comments>http://www.pixelgrit.com/?p=332#comments</comments>
		<pubDate>Tue, 21 Jul 2009 14:14:01 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Digital Photos]]></category>

		<category><![CDATA[deep creek]]></category>

		<category><![CDATA[water]]></category>

		<category><![CDATA[waterfall]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=332</guid>
		<description><![CDATA[<p>We found this nice waterfall on a hike in Deep Creek, SA. Canon EOS 350D, f3.5, 1/60, Av Mode, ISO 800, EFS 18-55 mm lens [ set at 18mm (x1.6) ]</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-333" title="waterfall" src="http://www.pixelgrit.com/wp-content/uploads/waterfall.png" alt="waterfall" width="575" height="788" />We found this nice waterfall on a hike in Deep Creek, SA. Canon EOS 350D, f3.5, 1/60, Av Mode, ISO 800, EFS 18-55 mm lens [ set at 18mm (x1.6) ]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=332</wfw:commentRss>
		</item>
		<item>
		<title>Shake Noise3d</title>
		<link>http://www.pixelgrit.com/?p=304</link>
		<comments>http://www.pixelgrit.com/?p=304#comments</comments>
		<pubDate>Mon, 20 Jul 2009 15:15:59 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Compositing]]></category>

		<category><![CDATA[noise]]></category>

		<category><![CDATA[noise3d]]></category>

		<category><![CDATA[shake]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=304</guid>
		<description><![CDATA[<p>Here we have the noise3d function being called via some local variables. I find it really useful for some many different things. A must have &#8230;</p>
<p>And here&#8217;s the shake code, just copy and paste into shake:</p>
<p>Noise3d = Fade(0, (1*(noise3d((time+(timeOffset*100))*Frequency, (seed*5), 0)*2-1)*Amplitude+(Amplitude*.7))+amount,
float Frequency = 0.4351687,
float seed = 0, float Amplitude = 0.408525735,
float timeOffset = 0, float [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-309" title="noise3d1" src="http://www.pixelgrit.com/wp-content/uploads/noise3d1.png" alt="noise3d1" width="575" height="625" />Here we have the noise3d function being called via some local variables. I find it really useful for some many different things. A must have &#8230;</p>
<p>And here&#8217;s the shake code, just copy and paste into shake:</p>
<p>Noise3d = Fade(0, (1*(noise3d((time+(timeOffset*100))*Frequency, (seed*5), 0)*2-1)*Amplitude+(Amplitude*.7))+amount,<br />
float Frequency = 0.4351687,<br />
float seed = 0, float Amplitude = 0.408525735,<br />
float timeOffset = 0, float amount = 1);</p>
<p>// User Interface settings</p>
<p>SetKey(</p>
<p>&#8220;nodeView.Fade14.t&#8221;, &#8220;0&#8243;,<br />
&#8220;nodeView.Fade14.x&#8221;, &#8220;-4545.27051&#8243;,<br />
&#8220;nodeView.Fade14.y&#8221;, &#8220;1045.57825&#8243;</p>
<p>);</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=304</wfw:commentRss>
		</item>
		<item>
		<title>Lines</title>
		<link>http://www.pixelgrit.com/?p=286</link>
		<comments>http://www.pixelgrit.com/?p=286#comments</comments>
		<pubDate>Sat, 14 Feb 2009 13:33:55 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Digital Photos]]></category>

		<category><![CDATA[belair]]></category>

		<category><![CDATA[sala]]></category>

		<category><![CDATA[train]]></category>

		<category><![CDATA[train lines]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=286</guid>
		<description><![CDATA[<p>Belair train lines, just past the Belair station. Taken with my compact Sony Cybershot DSC-T1 with natural lighting.</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-298" title="lineslong" src="http://www.pixelgrit.com/wp-content/uploads/lineslong.png" alt="lineslong" width="575" height="701" />Belair train lines, just past the Belair station. Taken with my compact Sony Cybershot DSC-T1 with natural lighting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=286</wfw:commentRss>
		</item>
		<item>
		<title>Nice Spot &#8230;</title>
		<link>http://www.pixelgrit.com/?p=283</link>
		<comments>http://www.pixelgrit.com/?p=283#comments</comments>
		<pubDate>Sat, 14 Feb 2009 04:02:33 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Digital Photos]]></category>

		<category><![CDATA[holiday]]></category>

		<category><![CDATA[kangaroo island]]></category>

		<category><![CDATA[lake]]></category>

		<category><![CDATA[pond]]></category>

		<category><![CDATA[stream]]></category>

		<category><![CDATA[walk]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=283</guid>
		<description><![CDATA[<p>A nice little spot we found on a bush walk on Kangaroo Island. Taken with my Canon EOS 350D, f16, 1/60, Av Mode, ISO 100, EFS 18-55 mm lens [ set at 18mm (x1.6) ]</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-296" title="kinicespot" src="http://www.pixelgrit.com/wp-content/uploads/kinicespot.png" alt="kinicespot" width="575" height="383" />A nice little spot we found on a bush walk on Kangaroo Island. Taken with my Canon EOS 350D, f16, 1/60, Av Mode, ISO 100, EFS 18-55 mm lens [ set at 18mm (x1.6) ]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=283</wfw:commentRss>
		</item>
		<item>
		<title>Awk</title>
		<link>http://www.pixelgrit.com/?p=221</link>
		<comments>http://www.pixelgrit.com/?p=221#comments</comments>
		<pubDate>Mon, 09 Feb 2009 09:43:15 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Compositing]]></category>

		<category><![CDATA[awk]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=221</guid>
		<description><![CDATA[<p>As compositors and/or visual effects technicians, we always find the need to locate, modify, reformat or find particular files on every file system which contain certain metadata. We use a flavour of linux at work and with linux comes the power of AWK. Since I can never remember the full syntax of AWK, here are [...]]]></description>
			<content:encoded><![CDATA[<p>As compositors and/or visual effects technicians, we always find the need to locate, modify, reformat or find particular files on every file system which contain certain metadata. We use a flavour of linux at work and with linux comes the power of AWK. Since I can never remember the full syntax of AWK, here are a few examples to get you out of trouble &#8230;</p>
<p>rename a bunch of tif files:<br />
ls -1 *.tif | awk &#8216;{print&#8221;mv &#8221; $0 &#8221; renamed_&#8221;$0}&#8217;</p>
<p>copy all jpgs from an entire tree to the current directory<br />
find ~/basepath/ -iname &#8220;*.jpg&#8221; | awk &#8216;{print&#8221;cp &#8220;$0&#8243; .&#8221;}&#8217;</p>
<p>reformat a frame number on exr files from unpadded to padded (number of dots in the filename must be 2):<br />
ls -1 *.exr | awk -F &#8220;.&#8221; &#8216;{printf(&#8221;mv %s %s.%04d.%s\n&#8221;,$0,$1,$2,$3)}&#8217;</p>
<p>reverse a (single) sequence (in rsp file format, with the first frame=1) and save it in ../1024&#215;778_reversed<br />
ls -1 | awk -F &#8220;.&#8221; -v num=`ls -1 | wc -l` &#8216;{printf(&#8221;cp -v %s ../1024&#215;778_reversed/%s.%04d.%s\n&#8221;,$0,$1,num-$2 + 1,$3)}&#8217;</p>
<p>Some AWK One Liners, courtesy of <a href="http://www.incubism.com/dan/" target="_blank">Dan</a>.</p>
<p>1. Print the total number of input lines:<br />
END { print NR }</p>
<p>2. Print the tenth input line:<br />
NR == 10</p>
<p>3. Print the last field of every input line:<br />
{ print $NF }</p>
<p>4. Print the last field of the last input line:<br />
{ field = $NF}<br />
END { print field }</p>
<p>5. Print every input line with more than 4 fields:<br />
NF &gt; 4</p>
<p>6. Print every input line in which the last field is more than 4:<br />
$NF &gt; 4</p>
<p>7. Print the total number of fields in all input lines:<br />
{ nf = nf + NF }<br />
END { print nf }</p>
<p>8. Print the total number of lines that contain Beth:<br />
/Beth/ { nlines = nlines + 1 }<br />
END { print nlines }</p>
<p>9. Print the largest first fields and the line that contains it ( assumes some $1 is positive):<br />
$1 &gt; max { max = $1 ; maxlines = $0 }<br />
END { print max, maxline)</p>
<p>10. Print every line that has at least one field:<br />
NF &gt; 0</p>
<p>11. Pritn every line longer than 80 characters:<br />
length($0) &gt; 80</p>
<p>12. Print the numer of fields in every line, followed by the line itself:<br />
{ print NF, $0 }</p>
<p>13. Print the first two fields, in opposite order, of every line:<br />
{ print $2, $1 }</p>
<p>14. Exchange the first two fields of every line and then print the line:<br />
{ temp = $1 ; $1 = $2 ; $2 = temp ; print }</p>
<p>15. Print every line witg rge first field replaced by the line number:<br />
{ $1 = NR ; print }</p>
<p>16. Print every line after erasing the second field:<br />
{ $2 = &#8220;&#8221;; print }</p>
<p>17. Print in reverse order the fields of every line:<br />
{ for (i=NF ; i&gt;0 ; i=i-1) printf( &#8220;%s &#8220;, $1)<br />
printf(&#8221;\n&#8221;)<br />
}</p>
<p>18. Print the sums of the fields of every line:<br />
{ sum = 0<br />
for ( i=1 ; i&lt;=NF ; i=i+1) sum = sum + $i<br />
print sum<br />
}</p>
<p>19. Ad up all fields in all lines and print the sum:<br />
{ for ( i=1 ; i&lt;=NF ; i=i+1 ) sum = sum + $i}<br />
END { print sum }</p>
<p>20. Print every line after replacing each field by its absolute value:<br />
{ for (i=1 ; i&lt;=NF ; i=i+1) if ($i&lt;0) $i=-$i<br />
print<br />
}</p>
<p>21. Test a field in the input line (when separated by &#8216;.&#8217;) to decide whether to output:<br />
ls -1 | awk &#8216;-F &#8220;.&#8221; &#8216;{if($2 &gt; 15) print &#8220;rm -rfv &#8220;$0}&#8217;</p>
<p>A Litte renamer (replaces the first field (when separator is &#8220;.&#8221;)) and iterates frames 1 to 50 with a for-loop.<br />
lseq | sed &#8220;s/[0-9]*-[0-9]*/\*/g&#8221; | awk -F &#8220;.&#8221; &#8216;{for (i=0;i&lt;=50;i++) printf(&#8221;mv -v %s.%s.%s.%04d.%s pp000&#215;0100_blah_otherstuff_v010_001.%s.%s.%04d.%s\n&#8221;,$1,$2,$3,i,$5,$2,$3,i,$5)}&#8217;</p>
<p>I once used this to soft-link some files that needed to be present for 20 frames, but could all actually be the same file (from frame 0001):<br />
ls -1 *0001.hub | awk -F &#8220;0001&#8243; &#8216;{for (i=2; i&lt;20; i++) printf(&#8221;ln -s %s %s%04d%s\n&#8221;,$0,$1,i,$2)}&#8217;<br />
awk double quote as delimiter - use -F &#8220;\42&#8243; octal escape code</p>
<p>usage of substr and length<br />
ls -1 *.exr | awk -F &#8220;.&#8221; &#8216;{if (length($1) &gt; 13) print &#8220;cp &#8220;$0 &#8221; /basePath/anotherDir/newFolder/furtherIn/shot/dept/AOV_pass/&#8221;substr($1,13)&#8221;/v008/1024&#215;584&#8243;}&#8217;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=221</wfw:commentRss>
		</item>
		<item>
		<title>Second Valley</title>
		<link>http://www.pixelgrit.com/?p=213</link>
		<comments>http://www.pixelgrit.com/?p=213#comments</comments>
		<pubDate>Sun, 08 Feb 2009 03:27:28 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Digital Photos]]></category>

		<category><![CDATA[beach]]></category>

		<category><![CDATA[family]]></category>

		<category><![CDATA[kids]]></category>

		<category><![CDATA[sky]]></category>

		<category><![CDATA[water]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=213</guid>
		<description><![CDATA[<p>Time to reflect at Second Valley. Taken with my Canon EOS 350D, f5.6, 1/2000, Av Mode, ISO 100, EFS 18-55 mm lens [ set at 55mm (x1.6) ]</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-212" title="secondvalley" src="http://www.pixelgrit.com/wp-content/uploads/secondvalley.png" alt="secondvalley" width="575" height="383" />Time to reflect at Second Valley. Taken with my Canon EOS 350D, f5.6, 1/2000, Av Mode, ISO 100, EFS 18-55 mm lens [ set at 55mm (x1.6) ]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=213</wfw:commentRss>
		</item>
		<item>
		<title>VFX News</title>
		<link>http://www.pixelgrit.com/?p=209</link>
		<comments>http://www.pixelgrit.com/?p=209#comments</comments>
		<pubDate>Sun, 08 Feb 2009 00:53:28 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[VFX News]]></category>

		<category><![CDATA[news]]></category>

		<category><![CDATA[visual effects]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=209</guid>
		<description><![CDATA[<p>Get your daily dose of visual effect news with live rss feeds from your favourite sites. Make sure to let me know if you want other news sources to be listed here &#8230;</p>
VFXBLOG
<p>Cinefex #123! - Cinefex #123 covers Inception, Prince of Persia, The A-Team and The Last Airbender. I really love this cover.The visual effects [...]]]></description>
			<content:encoded><![CDATA[<p>Get your daily dose of visual effect news with live rss feeds from your favourite sites. Make sure to let me know if you want other news sources to be listed here &#8230;</p>
<h3><strong>VFXBLOG</strong></h3>
<p><li><span class="rssLinkListItemTitle"><a href="http://www.vfxblog.com/vfxblog/2010/09/cinefex-123.html" rel="external"  title="Cinefex #123 covers Inception, Prince of Persia, The A-Team and The Last Airbender. I really love this cover.">Cinefex #123!</a></span> - Cinefex #123 covers Inception, Prince of Persia, The A-Team and The Last Airbender. I really love this cover.</li><li><span class="rssLinkListItemTitle"><a href="http://www.vfxblog.com/vfxblog/2010/09/the-visual-effects-of-a-nightmare-on-elm-street.html" rel="external"  title="The visual effects of A Nightmare on Elm Street Director Samuel Bayer's 2010 re-imagining of A Nightmare on Elm Street, releasing on DVD and Blu-ray in October, sees serial-killer Freddy Krueger once again haunting and killing people in their dreams....">The visual effects of A Nightmare on Elm Street</a></span> - The visual effects of A Nightmare on Elm Street Director Samuel Bayer's 2010 re-imagining of A Nightmare on Elm Street, releasing on DVD and Blu-ray in October, sees serial-killer Freddy Krueger once again haunting and killing people in their dreams....</li><li><span class="rssLinkListItemTitle"><a href="http://www.vfxblog.com/vfxblog/2010/08/the-visual-effects-of-scott-pilgrim-vs-the-world.html" rel="external"  title="The visual effects of Scott Pilgrim vs. the World In Edgar Wright's Scott Pilgrim vs. the World, the title character woos his new girlfriend by battling her seven evil exes in Japanese Anime-style fights punctuated with video game-like on-screen graphics....">The visual effects of Scott Pilgrim vs. the World</a></span> - The visual effects of Scott Pilgrim vs. the World In Edgar Wright's Scott Pilgrim vs. the World, the title character woos his new girlfriend by battling her seven evil exes in Japanese Anime-style fights punctuated with video game-like on-screen graphics....</li><li><span class="rssLinkListItemTitle"><a href="http://www.vfxblog.com/vfxblog/2010/08/the-visual-effects-of-salt.html" rel="external"  title="The visual effects of Salt Phillip Noyce's Salt takes audiences on a thrill ride with title character and CIA agent Angelina Jolie, who may or may not be a Russian spy out to assassinate the U.S. President. Visual effects supervisor...">The visual effects of Salt</a></span> - The visual effects of Salt Phillip Noyce's Salt takes audiences on a thrill ride with title character and CIA agent Angelina Jolie, who may or may not be a Russian spy out to assassinate the U.S. President. Visual effects supervisor...</li><li><span class="rssLinkListItemTitle"><a href="http://www.vfxblog.com/vfxblog/2010/08/the-visual-effects-of-prince-of-persia.html" rel="external"  title="The visual effects of Prince of Persia In Mike Newell's Prince of Persia: The Sands of Time, rogue Prince Dastan (Jake Gyllenhaal) safeguards a magical and sought-after dagger that can reverse time. fxguide looks at a few of the major...">The visual effects of Prince of Persia</a></span> - The visual effects of Prince of Persia In Mike Newell's Prince of Persia: The Sands of Time, rogue Prince Dastan (Jake Gyllenhaal) safeguards a magical and sought-after dagger that can reverse time. fxguide looks at a few of the major...</li></p>
<h3><strong>FXGUIDE</strong></h3>
<p><li><span class="rssLinkListItemTitle"><a href="http://www.fxguide.com/qt/2809" rel="external"  title="MAXON has released a new version of their 3D software CINEMA 4D and is available immediately for purchase or upgrade. The release a slate of new features in addition to a revamped and simpler product lineup. One of the big changes is built-in support for linear workflow and color profiles throughout">New CINEMA 4D Release 12 Now Available</a></span> - MAXON has released a new version of their 3D software CINEMA 4D and is available immediately for purchase or upgrade. The release a slate of new features in addition to a revamped and simpler product lineup. One of the big changes is built-in support for linear workflow and color profiles throughout...</li><li><span class="rssLinkListItemTitle"><a href="http://www.fxguide.com/qt/2804" rel="external"  title="This week's Red Centre podcast we have in the Red Room the Director of the new hit film TAKERS : John Luessenhop. We discuss shooting with Genesis as well as a general, open and frank discussion about the directorial decisions he made making this film and rehearsing and working with the actors.We al">Red Centre: Takers Director John Luessenhop</a></span> - This week's Red Centre podcast we have in the Red Room the Director of the new hit film TAKERS : John Luessenhop. We discuss shooting with Genesis as well as a general, open and frank discussion about the directorial decisions he made making this film and rehearsing and working with the actors.We al...</li><li><span class="rssLinkListItemTitle"><a href="http://www.fxguide.com/article643.html" rel="external"  title="In Edgar Wright's Scott Pilgrim vs. the World, the title character woos his new girlfriend by battling her seven evil exes in Japanese Anime-style fights punctuated with video game-like on-screen graphics. Visual effects supervisor Frazer Churchill oversaw more than 1200 shots for film. We take a lo">Scott Pilgrim and VFX Against the World </a></span> - In Edgar Wright's <em>Scott Pilgrim vs. the World</em>, the title character woos his new girlfriend by battling her seven evil exes in Japanese Anime-style fights punctuated with video game-like on-screen graphics. Visual effects supervisor Frazer Churchill oversaw more than 1200 shots for film. We take a look at the work by Double Negative and Mr. X. </li><li><span class="rssLinkListItemTitle"><a href="http://www.fxguide.com/article642.html" rel="external"  title="The original Magic Bullet Colorista brought the 3-way color corrector to After Effects and improved upon the one built into Final Cut Pro. With the recent release of Colorista II and the addition of secondary color correction, more flexible masking, and UI refinements the plugin has solidified its p">A Few Weeks with Colorista II</a></span> - The original Magic Bullet Colorista brought the 3-way color corrector to After Effects and improved upon the one built into Final Cut Pro. With the recent release of Colorista II and the addition of secondary color correction, more flexible masking, and UI refinements the plugin has solidified its place as our go-to favorite for grading within those desktop applications. </li><li><span class="rssLinkListItemTitle"><a href="http://www.fxguide.com/article641.html" rel="external"  title="Phillip Noyce's SALT takes audiences on a thrill ride with title character and CIA agent Angelina Jolie, who may or may not be a Russian spy out to assassinate the U.S. President. Visual effects supervisor Robert Grasmere oversaw the work of several vendors to provide hundreds of invisible shots for">Peppering Salt with Visual Effects</a></span> - Phillip Noyce's <em>SALT</em> takes audiences on a thrill ride with title character and CIA agent Angelina Jolie, who may or may not be a Russian spy out to assassinate the U.S. President. Visual effects supervisor Robert Grasmere oversaw the work of several vendors to provide hundreds of invisible shots for the film. We take a look at the effects by Framestore and CIS Vancouver.</li></p>
<h3><strong>VFX PLANET</strong></h3>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=209</wfw:commentRss>
		</item>
		<item>
		<title>Port Fairy Sky</title>
		<link>http://www.pixelgrit.com/?p=203</link>
		<comments>http://www.pixelgrit.com/?p=203#comments</comments>
		<pubDate>Fri, 06 Feb 2009 01:28:29 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Digital Photos]]></category>

		<category><![CDATA[beach]]></category>

		<category><![CDATA[clouds]]></category>

		<category><![CDATA[port fairy]]></category>

		<category><![CDATA[sky]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=203</guid>
		<description><![CDATA[<p>The sky was angry that day my friend &#8230; Port Fairy beach, Victoria. Taken with my Canon EOS 350D, f5.6, 1/2000, Av Mode, ISO 100, EFS 18-55 mm lens [ set at 55mm (x1.6) ]</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-7" title="portfairybeach" src="http://pixelgrit.com/wp-content/uploads/portfairysky.png" alt="portfairysky" width="575" height="383" />The sky was angry that day my friend &#8230; Port Fairy beach, Victoria. Taken with my Canon EOS 350D, f5.6, 1/2000, Av Mode, ISO 100, EFS 18-55 mm lens [ set at 55mm (x1.6) ]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=203</wfw:commentRss>
		</item>
		<item>
		<title>Gum Trees</title>
		<link>http://www.pixelgrit.com/?p=186</link>
		<comments>http://www.pixelgrit.com/?p=186#comments</comments>
		<pubDate>Thu, 05 Feb 2009 02:21:30 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Digital Photos]]></category>

		<category><![CDATA[belair]]></category>

		<category><![CDATA[gum]]></category>

		<category><![CDATA[national park]]></category>

		<category><![CDATA[park]]></category>

		<category><![CDATA[trees]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=186</guid>
		<description><![CDATA[<p>Gum trees in the Belair National Park. Taken with my compact Sony Cybershot DSC-T1 with natural lighting.</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-192" title="treesinbelair" src="http://www.pixelgrit.com/wp-content/uploads/treesinbelair.png" alt="treesinbelair" width="575" height="383" />Gum trees in the Belair National Park. Taken with my compact Sony Cybershot DSC-T1 with natural lighting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=186</wfw:commentRss>
		</item>
		<item>
		<title>Graffiti in Degraves</title>
		<link>http://www.pixelgrit.com/?p=174</link>
		<comments>http://www.pixelgrit.com/?p=174#comments</comments>
		<pubDate>Thu, 05 Feb 2009 02:13:00 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Digital Photos]]></category>

		<category><![CDATA[bomb]]></category>

		<category><![CDATA[degraves]]></category>

		<category><![CDATA[graffiti]]></category>

		<category><![CDATA[melbourne]]></category>

		<category><![CDATA[spray paint]]></category>

		<category><![CDATA[street art]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=174</guid>
		<description><![CDATA[<p>Degraves Street, Melbourne. Always fresh street art here. Taken with my compact Sony Cybershot DSC-T1 with no flash.</p>
]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.pixelgrit.com/wp-content/uploads/degravesstreet.png" alt="degravesstreet" title="degravesstreet" width="575" height="383" class="alignnone size-full wp-image-175" />Degraves Street, Melbourne. Always fresh street art here. Taken with my compact Sony Cybershot DSC-T1 with no flash.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=174</wfw:commentRss>
		</item>
		<item>
		<title>Bokeh</title>
		<link>http://www.pixelgrit.com/?p=109</link>
		<comments>http://www.pixelgrit.com/?p=109#comments</comments>
		<pubDate>Tue, 03 Feb 2009 15:49:02 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Compositing]]></category>

		<category><![CDATA[Digital Photos]]></category>

		<category><![CDATA[Photography]]></category>

		<category><![CDATA[bokeh]]></category>

		<category><![CDATA[camera]]></category>

		<category><![CDATA[circle of confusion]]></category>

		<category><![CDATA[lens]]></category>

		<category><![CDATA[optics]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=109</guid>
		<description><![CDATA[<p></p>
<p>I&#8217;ve been wanting to start a collection of bokeh&#8217;s to use for different projects at work, replicating the characteristics of the circles-of-confusion for different lens and apertures.  Once I get a decent collection together I&#8217;ll post them with tutorials. Meanwhile here&#8217;s a crazy looking one I&#8217;ve combined in Photoshop by shooting straight at an [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-110" title="bokehcombine" src="http://www.pixelgrit.com/wp-content/uploads/bokehcombine.png" alt="bokehcombine" width="575" height="383" /></p>
<p>I&#8217;ve been wanting to start a collection of bokeh&#8217;s to use for different projects at <a href="http://www.rsp.com.au" target="_blank">work</a>, replicating the characteristics of the circles-of-confusion for different lens and apertures.  Once I get a decent collection together I&#8217;ll post them with tutorials. Meanwhile here&#8217;s a crazy looking one I&#8217;ve combined in Photoshop by shooting straight at an LED with my Canon EOS 350D, ISO 100, f5.6, 1/4000, Manual Mode, EFS 18-55 mm lens [ set at 55mm (x1.6) ] and a hand crafted one from Adam Paschke. It&#8217;s totaly impractical because of the colours, but hey it looks cool and that&#8217;s all that matters, right?</p>
<p>Here&#8217;s also some links which go right into camera and lens optics and talk about the bokeh.</p>
<p>Paul van Walree. My favourite because he gives a shit load of examples and pictures &#8230;<br />
<a href="http://toothwalker.org/optics.html" target="_blank">http://toothwalker.org</a></p>
<p>Wikipedia on bokeh.<br />
<a href="http://en.wikipedia.org/wiki/Bokeh/" target="_blank">http://en.wikipedia.org/wiki/Bokeh/</a></p>
<p>Ken Rockwell has some &#8220;interesting&#8221; ideas on bokeh.<br />
<a href="http://www.kenrockwell.com/tech/bokeh.htm" target="_blank">http://www.kenrockwell.com/tech/bokeh.htm</a></p>
<p>Harold M. Merklinger is a bit of an export in optics. He writes some good info here and includes some nice side profiles of bokeh characteristics.<br />
<a href="http://www.luminous-landscape.com/essays/bokeh.shtml  target=">http://www.luminous-landscape.com/essays/bokeh.shtml</a></p>
<p>I&#8217;ve just come across this application which appears to do some really nice DOF post processing. It also has some really nice explanations and examples on DOF and Bokeh.<br />
<a href="http://www.dofpro.com/overview.htm" target="_blank">http://www.dofpro.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=109</wfw:commentRss>
		</item>
		<item>
		<title>Shake Expressions</title>
		<link>http://www.pixelgrit.com/?p=84</link>
		<comments>http://www.pixelgrit.com/?p=84#comments</comments>
		<pubDate>Tue, 03 Feb 2009 12:08:00 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Compositing]]></category>

		<category><![CDATA[expressions]]></category>

		<category><![CDATA[math]]></category>

		<category><![CDATA[shake]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=84</guid>
		<description><![CDATA[<p>I am constantly looking this stuff up in the shake doc&#8217;s, so i posted it here so i can easily reference it. Thanks go to the original author Matt Plec.</p>



 About
Variables, Linking and Expressions 





<p align="left">Jump to List of Functions Below&#8230;</p>



Linking Parameters
<p align="left">You can access information in any node and use it in a different
node by [...]]]></description>
			<content:encoded><![CDATA[<p>I am constantly looking this stuff up in the shake doc&#8217;s, so i posted it here so i can easily reference it. Thanks go to the original author Matt Plec.</p>
<table border="0" width="99%" bgcolor="#BBBBBB">
<tbody>
<tr>
<td height="26"><strong><span style="font-family: Arial, Helvetica, sans-serif;"> </span></strong><strong><span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #ffffff;">About<br />
Variables, Linking and Expressions</span> </span></strong></td>
</tr>
</tbody>
</table>
<ul>
<li>
<p align="left"><a href="#list" target="_self">Jump to List of Functions Below&#8230;</a></p>
</li>
</ul>
<h4><img src="http://www.pixelgrit.com/wp-content/uploads/art/icons/number.1.jpg" alt="" width="15" height="15" /><br />
Linking Parameters</h4>
<p align="left">You can access information in any node and use it in a different<br />
node by linking variables and parameters.</p>
<p align="left">To use a parameter inside of the same node, just type the parameter<br />
name. For example, the <strong>Move2D</strong> node links the <em>yScale</em> to be equal<br />
to the <em>xScale</em> by default. To get the expression editor in Shake, just<br />
enter any letter into the text field, press <strong>Enter</strong>, and a plus sign appears<br />
next to the parameter. Expand the parameter and edit away&#8230;</p>
<p align="center"><img src="http://www.pixelgrit.com/wp-content/uploads/art/working/linkMove2D.jpg" alt="" width="166" /></p>
<p align="center"> </p>
<p>To use a parameter in a different node, use the node name, followed by the<br />
parameter name, separated by a period:</p>
<p><em>node.parameter</em></p>
<p>This example links the <em>value</em> parameter from the node <em>Fade1</em> and<br />
multiplies it by 2.</p>
<p align="center"><img src="http://www.pixelgrit.com/wp-content/uploads/art/gui_tut3/fan/fade_parameters.jpg" alt="" width="166" height="63" /></p>
<p>You can declare a variable anywhere in the script. However, to make it available<br />
in the interface, you have to prefix it with the curve declaration:</p>
<p><em>curve</em> <em>parameter</em>_<em>name</em> = <em>expression;</em></p>
<p>For example, to declare the<em> my_val v</em>ariable for the above example:</p>
<p><em>curve my_val = 1;</em></p>
<p>You can clone entire nodes in the GUI by copying the node and then pressing<br />
<strong>Ctrl+Shift+V</strong>. This links all parameters in the copy to the original.<br />
If you modify anything in the copy, the link on that particular parameter is<br />
gone, so be careful of onscreen controls.</p>
<p>To view linked nodes in the Node View, press <strong>Ctrl+E</strong>.</p>
<p align="center"><img src="http://www.pixelgrit.com/wp-content/uploads/art/gui_manual/linkdisplay.jpg" alt="" width="300" height="167" /></p>
<p align="center"> </p>
<h4><img src="http://www.pixelgrit.com/wp-content/uploads/art/icons/number.2.jpg" alt="" width="15" height="15" /><br />
Linking to a Parameter at a Different Frame</h4>
<p>You can use the syntax <em>parameterName@@time </em>to look at a value at a different<br />
frame:</p>
<p><em>Move2D1.yPan@@(time-1)</em></p>
<p>looks at <em>Move2D1&#8217;s yPan</em> parameter at the previous frame.</p>
<blockquote><p> </p></blockquote>
<h4><img src="http://www.pixelgrit.com/wp-content/uploads/art/icons/number.3.jpg" alt="" width="15" height="15" /> Variables</h4>
<p>You can declare your own variables, as shown above. However, each image node<br />
also carries with it the information about that node, using the variables <em>width</em>,<br />
<em>height</em>, and <em>bytes</em>. When you are referring to these, they work<br />
exactly the same as above. For example, by default, the center of rotation on<br />
<strong>Move2D</strong> is set to:</p>
<p><em> width/2</em></p>
<p>This places the center at the midpoint of the current image.</p>
<p>When referring to these from a different node, you place the node name before<br />
the variable:</p>
<p><em>node_name.width</em></p>
<p>In some cases, problems may occur. For example, in a <strong>Resize</strong> node, if<br />
you put the <strong>Resize</strong> equal to <em>width/2</em>, you cause a potentially loop<br />
because it is changing width based upon a value that is looking for the width.<br />
To solve this, Shake always refers to the <em>input</em> width, height, and bit<br />
depth when you refer to these from <em>inside</em> of that node. Therefore, width/2<br />
takes the incoming width and divides it by 2. When you refer to the width, height,<br />
and bit depth of a <em>different</em> node, you use that node&#8217;s <em>output</em><br />
values.</p>
<p>At any time, you can also use the variable <em>time</em>, which refers to the<br />
current frame number. For example, put <em>cos(time/5)*50</em> into an angle on<br />
<strong>Rotate</strong> for a nice rocking motion.</p>
<h4><img src="http://www.pixelgrit.com/wp-content/uploads/art/icons/number.4.jpg" alt="" width="15" height="15" /> Expressions</h4>
<p>The following examples of using expressions, which can help out the lazy compositor<br />
by doing your work for you. In any parameter, you can combine any value with<br />
a math expression, trig functions, an animated curve, a variable, or even a<br />
conditional expression. For example, as mentioned above, the center of an image<br />
can be found by using:</p>
<p><em> xCenter = width/2</em></p>
<p><em> </em></p>
<p><em>yCenter = height/2</em></p>
<p>These take the per-image variables width and height and divides them by 2.</p>
<p>You can type an expression in any field. Some functions, like <strong>ColorX</strong>,<br />
<strong>WarpX</strong>, and <strong>TimeX</strong>, even support locally-declared variables. See<br />
<strong>ColorX</strong> for more explanation, and also a list of examples.</p>
<p>If you are using the command line method, you may have to enclose your expressions<br />
in quotes to avoid problems with the OS reading the command. For example, instead<br />
of:</p>
<p><em>shake my_image.iff -rot 45*6</em></p>
<p>use</p>
<div>
<div>
<p><em>shake my_image.iff -rot &#8220;45*6&#8243;</em></div>
</div>
<div>
<table border="0" width="90%">
<tbody>
<tr>
<td width="38%" bgcolor="#000000"><span style="color: #ffffff;"><strong><span style="font-family: Arial, Helvetica, sans-serif;">Examples</span></strong></span></td>
<td width="62%" bgcolor="#000000"><span style="color: #ffffff;"><strong><span style="font-family: Arial, Helvetica, sans-serif;">Explanation</span></strong></span></td>
</tr>
<tr bgcolor="#EEEEEE">
<td width="38%">1/2.2</td>
<td width="62%">1 divided by 2.2. Gives you the inverse of 2.2 gamma.</td>
</tr>
<tr bgcolor="#EEEEEE">
<td width="38%">2*Linear(0,0@1,200@20)</td>
<td width="62%">Multiplies the value of an animated curve by 2.</td>
</tr>
<tr bgcolor="#EEEEEE">
<td width="38%">2*my_curve</td>
<td width="62%">Multiplies a variable by 2.</td>
</tr>
<tr bgcolor="#EEEEEE">
<td width="38%">sqrt(my_curve-my_center)/2</td>
<td width="62%">Subtracts <em>my</em>_<em>center</em> from <em>my</em>_<em>curve</em><br />
and takes the square root of that, and then divides by 2.</td>
</tr>
<tr bgcolor="#EEEEEE">
<td width="38%">time&gt;20?1:0</td>
<td width="62%">If time is greater than 20, then the parameter is 1, else<br />
it equals 0.</td>
</tr>
<tr bgcolor="#EEEEEE">
<td width="38%">cos(time/5)*50</td>
<td width="62%">Gives a smooth ping-pong between -50 and 50.</td>
</tr>
</tbody>
</table>
</div>
<p> </p>
<h4><img src="http://www.pixelgrit.com/wp-content/uploads/art/icons/number.5.jpg" alt="" width="15" height="15" /> Precedence</h4>
<p>The above operators are listed in order of precedence – the order Shake evaluates<br />
each operator, left to right. If this is a pain to keep up with ( and it is),<br />
make liberal use of parentheses to force the order of evaluation. For instance:</p>
<blockquote>
<pre>a = 1 + 2 * 4 -2</pre>
</blockquote>
<p>This expression does &#8220;2*4&#8243; first since the &#8220;*&#8221; has precedence over &#8220;+&#8221; and<br />
&#8220;-&#8221; which gives you &#8220;a=1+8-2&#8243;. Then from left to right, Shake does &#8220;1+8&#8243;, giving<br />
&#8220;a=9-2&#8243;, finally resulting in &#8220;a=7&#8243;. To add and subtract before multiplying,<br />
use parentheses to control the evaluation.</p>
<blockquote>
<pre>a = (1 + 2) * (4 - 2)</pre>
</blockquote>
<p>This results in &#8220;a=3*2&#8243; or &#8220;a=6&#8243;. Parentheses have the highest precedence in<br />
an expression.</p>
<p><a name="list"></a></p>
<table border="0" width="99%" bgcolor="#BBBBBB">
<tbody>
<tr>
<td><strong><span style="font-family: Arial, Helvetica, sans-serif;">  </span></strong><br />
<strong><span style="font-family: Arial, Helvetica, sans-serif;"> <span style="color: #ffffff;">Functions,<br />
Variables and Expressions</span></span></strong></td>
</tr>
</tbody>
</table>
<p>All of the math functions can be found in the <em>include/nreal.h</em> file.<br />
You can declare your own functions in your own .h file.</p>
<p>To set an expression on a string (text) parameter, you need to add a : (colon)<br />
at the start of the expression, otherwise it is treated as text rather than<br />
getting compiled and evaluated.</p>
<div>
<table border="0" width="90%">
<tbody>
<tr valign="top">
<td width="32%" height="19" bgcolor="#000000"><span style="color: #ffffff;"><strong><span style="font-family: Arial, Helvetica, sans-serif;">Arithmetic<br />
Operators</span></strong></span></td>
<td width="68%" height="19" bgcolor="#000000"> </td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">*</td>
<td width="68%">Multiply</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">/</td>
<td width="68%">Divide</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">+</td>
<td width="68%">Plus</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">-</td>
<td width="68%">Subtract</td>
</tr>
<tr valign="top" bgcolor="#000000">
<td width="32%"><span style="color: #ffffff;"><strong><span style="font-family: Arial, Helvetica, sans-serif;">Relational<br />
Operators </span></strong></span></td>
<td width="68%"> </td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">&lt;</td>
<td width="68%">Less than</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">&gt;</td>
<td width="68%">Greater than</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">&lt;=</td>
<td width="68%">Less than or equal to</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">&gt;=</td>
<td width="68%">Greater than or equal to</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">==</td>
<td width="68%">Equal to</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">!=</td>
<td width="68%">Not equal to</td>
</tr>
<tr valign="top" bgcolor="#000000">
<td width="32%"><span style="color: #ffffff;"><strong><span style="font-family: Arial, Helvetica, sans-serif;">Logical<br />
Operators </span></strong></span></td>
<td width="68%"> </td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">&amp;&amp;</td>
<td width="68%">And</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">||</td>
<td width="68%">Or</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">!</td>
<td width="68%">Not</td>
</tr>
<tr valign="top" bgcolor="#000000">
<td width="32%"><span style="color: #ffffff;"><strong><span style="font-family: Arial, Helvetica, sans-serif;">Conditional<br />
Expression </span></strong></span></td>
<td width="68%"> </td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">expr1?expr2:expr3</td>
<td width="68%">If expr1 is true (non-zero), then to expr2, else do expr3</td>
</tr>
<tr valign="top" bgcolor="#000000">
<td width="32%"><span style="color: #ffffff;"><strong><span style="font-family: Arial, Helvetica, sans-serif;">Global<br />
Variables </span></strong></span></td>
<td width="68%"> </td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">time</td>
<td width="68%">Current frame number</td>
</tr>
<tr valign="top" bgcolor="#000000">
<td width="32%"><span style="color: #ffffff;"><strong><span style="font-family: Arial, Helvetica, sans-serif;">Image<br />
Variables </span></strong></span></td>
<td width="68%"><span style="color: #ffffff;"><span style="font-family: Arial, Helvetica, sans-serif;">These<br />
are variables carried by each node. </span></span></td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">parameterName</td>
<td width="68%">Value of <em>parameterName</em> from inside that node.</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">nodeName.parameterName</td>
<td width="68%">Value of <em>parameterName</em> in <em>nodeName</em> from outside<br />
of that node.</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">parameterName@@time</td>
<td width="68%">Allows you to access a value at a different frame. For example:   </p>
<p><em>Blur1.xPixel@@(time-3)</em> looks at the value from 3 frames earlier.</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">bytes</td>
<td width="68%">The number of bytes in that image. This takes the input<br />
bit-depth when called from inside of the node, and the output bit-depth<br />
when called from outside of the node.</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">width</td>
<td width="68%">Width of the image. Takes the input width when called from<br />
inside of the node, and the output width when called from outside of the<br />
node.</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">height</td>
<td width="68%">Height of the image. Takes the input height when called<br />
from inside of the node, and the output height when called from outside<br />
of the node.</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">_curImageName</td>
<td width="68%">Returns the name of the actual file being used for the current frame.<br />
Useful when plugged into a <strong>Text</strong> node:   </p>
<p><em>{FileIn1._curImageName}</em></td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">dod[0], dod[1], dod[2], dod[3]</td>
<td width="68%">The variable for the Domain of Definition xMin, yMin, xMax,<br />
yMax, respectively.</td>
</tr>
<tr valign="top" bgcolor="#000000">
<td width="32%"><span style="color: #ffffff;"><strong><span style="font-family: Arial, Helvetica, sans-serif;">In-Node<br />
Variables</span></strong></span></td>
<td width="68%"><span style="color: #ffffff;"><span style="font-family: Arial, Helvetica, sans-serif;">These<br />
are channel variables used in nodes such as <strong>ColorX</strong>, <strong>LayerX</strong>,<br />
<strong>Reorder</strong>, etc. Check the documentation for specific support of any<br />
variable. </span></span></td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">nr, ng, nb, na, nz</td>
<td width="68%">New red, green, blue, alpha, Z channel</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">r, g, b, a, z</td>
<td width="68%">Original red, green, blue, alpha, Z channels</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">l</td>
<td width="68%">Luminance channel for <strong>Reorder</strong></td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">n</td>
<td width="68%">Null channel. Strips out the alpha in <strong>Reorder</strong> when<br />
used like this: <em>rgbn</em></td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">r2, g2, b2, a2, z2</td>
<td width="68%">Second image&#8217;s channel for <strong>LayerX</strong></td>
</tr>
<tr valign="top" bgcolor="#000000">
<td width="32%"><span style="color: #ffffff;"><strong><span style="font-family: Arial, Helvetica, sans-serif;">Math<br />
Functions </span></strong></span></td>
<td width="68%"> </td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">abs(x)</td>
<td width="68%">Integer absolute value. abs(-4) = 4. Be careful, as this<br />
will return an integer, not a float. Use <em>fabs</em> for float.</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">biasedGain(value, gain, bias)</td>
<td width="68%">This gives a <strong>ContrastLum</strong>-like curve that gives rolloff<br />
between two values.</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">cbrt(x)</td>
<td width="68%">Cubic root. cbrt(8) = 2</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">ceil(x)</td>
<td width="68%">Truncates to next integer. ceil(5.3) = 6</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">clamp(x, lo, hi)</td>
<td width="68%">Clamps <em>x</em> to between <em>lo</em> and <em>hi</em>   </p>
<p>clamp(1.5,0,1) = 1</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">exp(x)</td>
<td width="68%">Natural exponent. exp(0) = 1</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">fabs(x)</td>
<td width="68%">Float absolute value. fabs(-4.1) = 4.1</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">floor(x)</td>
<td width="68%">Truncates to next lowest integer. floor(5.8) = 5</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">fmod(x,y)</td>
<td width="68%">Float modulus. Returns the remainder in float.   </p>
<p>fmod(11.45,3) = 2 , ie, (3&#215;3+<strong>2.45</strong> = 11.45)</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">log(x)</td>
<td width="68%">Natural log. log(1) = 0</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">log10(x)</td>
<td width="68%">Returns base 10 log. log10(10) = 1</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">M_PI</td>
<td width="68%">A variable set to pi at 20 decimal places</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">max(a,b)</td>
<td width="68%">Returns maximum between a and b   </p>
<p>max(5,10) = 10</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">max3(a,b,c)</td>
<td width="68%">Returns maximum between a, b, and c.   </p>
<p>max3(5,2,4) = 5</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">min(a,b)</td>
<td width="68%">Returns minumum between a and b.   </p>
<p>min(5,10) = 10</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">min3(a,b,c)</td>
<td width="68%">Returns minumum between a, b, and c.   </p>
<p>min3(5,2,4) = 2</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">a%b</td>
<td width="68%">Modulus. 27%20 = 7</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">pow(x,y)</td>
<td width="68%">Returns x to the y power. pow(2,4) = 16</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">round(x)</td>
<td width="68%">Rounds number off. Values below x.5 are rounded to x, values<br />
equal to or above x.5 are rounded to x+1. round(4.3) = 4</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">sqrt(x)</td>
<td width="68%">Square root. sqrt(9) = 3</td>
</tr>
<tr valign="top" bgcolor="#000000">
<td width="32%"><span style="color: #ffffff;"><strong><span style="font-family: Arial, Helvetica, sans-serif;">Noise<br />
Functions </span></strong></span></td>
<td width="68%"><span style="color: #ffffff;"><span style="font-family: Arial, Helvetica, sans-serif;">These<br />
are ideal for <strong>WarpX</strong> and</span><strong><span style="font-family: Arial, Helvetica, sans-serif;"><br />
ColorX.</span></strong></span></td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">noise(seed)</td>
<td width="68%">1 dimensional cubic spline interpolation of noise</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">noise2d(seed,seed)</td>
<td width="68%">2d noise</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">noise3d(seed,seed,seed)</td>
<td width="68%">3d noise</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">noise4d(seed,seed,seed,seed)</td>
<td width="68%">4d noise</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">lnoise(seed)</td>
<td width="68%">1d linear interpolation of noise</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">lnoise2d(seed,seed)</td>
<td width="68%">2d noise</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">lnoise3d(seed,seed,seed)</td>
<td width="68%">3d noise</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">lnoise4d(seed,seed,seed,seed)</td>
<td width="68%">4d noise</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">fnoise(x,xScale)</td>
<td width="68%">1d fractal noise based on noise()</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">fnoise2d(x,y,xScale,yScale)</td>
<td width="68%"> </td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">fnoise3d(x, y, z, xScale, yScale, zScale)</td>
<td width="68%"> </td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">turbulence(x, xScale)</td>
<td width="68%">A cheaper, rougher version of fnoise().</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">turbulence2d(x, y, xScale, yScale )</td>
<td width="68%">Continuous 2d noise</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">turbulence3d(x, y, z, xScale, yScale, zScale)</td>
<td width="68%">Continuous 3d noise</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">rnd(seed)</td>
<td width="68%">Hash-based pseudo-random numbers. Non-hash based RNG (like<br />
rand() or drand48()) should not be used in Shake because they can&#8217;t be<br />
reproduced from one machine to another, and even on the same machine,<br />
repeated evaluations of the same node at the same time would produce different<br />
results.</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">rnd1d(seed, seed)</td>
<td width="68%">1d random value</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">rnd2d(seed,seed,seed)</td>
<td width="68%">2d random value</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">rnd3d(seed,seed,seed,seed)</td>
<td width="68%">3d random value</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">rnd4d(seed,seed,seed,seed,seed)</td>
<td width="68%">4d random value</td>
</tr>
<tr valign="top" bgcolor="#000000">
<td width="32%"><span style="color: #ffffff;"><strong><span style="font-family: Arial, Helvetica, sans-serif;">Trig<br />
Functions (in radians)</span></strong></span></td>
<td width="68%"> </td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%" height="26">M_PI</td>
<td width="68%" height="26">A variable set to pi at 20 decimal places.</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">acos(A)</td>
<td width="68%">Arc cosine in radians</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">asin(A)</td>
<td width="68%">Arc sine</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">atan(A)</td>
<td width="68%">Arc tangent</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">atan2(y,x)</td>
<td width="68%">Returns the radian verifying sin(a) = y and cos(a) = x.</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">cos(A)</td>
<td width="68%">Cosine</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">sin(A)<a name="trig"></a></td>
<td width="68%">Sin</td>
</tr>
<tr valign="top" bgcolor="#000000">
<td width="32%"><span style="color: #ffffff;"><strong><span style="font-family: Arial, Helvetica, sans-serif;">Trig<br />
Functions (in degrees)</span></strong></span></td>
<td width="68%"> </td>
</tr>
<tr valign="top">
<td width="32%">
<div><img src="http://www.pixelgrit.com/wp-content/uploads/art/illustrations/trig.jpg" alt="" width="160" height="208" /></div>
</td>
<td width="68%" bgcolor="#EEEEEE">Hmmm, yummy trigonometry! Welcome back.<br />
For those of you who may have forgotten, here is a helpful chart for some<br />
commonly used equations.</td>
</tr>
<tr valign="top">
<td width="32%" bgcolor="#EEEEEE">acosd(A)</td>
<td width="68%" bgcolor="#EEEEEE">arc cosine in degrees</td>
</tr>
<tr valign="top">
<td width="32%" bgcolor="#EEEEEE">asind(A)</td>
<td width="68%" bgcolor="#EEEEEE">arc sine in degrees</td>
</tr>
<tr valign="top">
<td width="32%" bgcolor="#EEEEEE">atand(A)</td>
<td width="68%" bgcolor="#EEEEEE">arc tangent in degrees</td>
</tr>
<tr valign="top">
<td width="32%" bgcolor="#EEEEEE">atan2d(y,x)</td>
<td width="68%" bgcolor="#EEEEEE">returns the angle verifying sin(a) = y<br />
and cos(a) = x.</td>
</tr>
<tr valign="top">
<td width="32%" bgcolor="#EEEEEE">cosd(A)</td>
<td width="68%" bgcolor="#EEEEEE">cosine in degrees</td>
</tr>
<tr valign="top">
<td width="32%" bgcolor="#EEEEEE">distance(x1,y1,x2,y2)</td>
<td width="68%" bgcolor="#EEEEEE">calculates the distance between two points,<br />
(x1,y1) and (x2, y2)</td>
</tr>
<tr valign="top">
<td width="32%" bgcolor="#EEEEEE">sind(A)</td>
<td width="68%" bgcolor="#EEEEEE">sin in degrees</td>
</tr>
<tr valign="top">
<td width="32%" height="22" bgcolor="#EEEEEE">tand(A)</td>
<td width="68%" height="22" bgcolor="#EEEEEE">tangent in degrees</td>
</tr>
<tr valign="top" bgcolor="#000000">
<td width="32%"><span style="color: #ffffff;"><strong><span style="font-family: Arial, Helvetica, sans-serif;">String<br />
Functions </span></strong></span></td>
<td width="68%"> </td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">stringf( &#8220;xyz&#8221;, &#8230;)</td>
<td width="68%">Since you basically can write books on this, here is an example. Otherwise,<br />
it is recommended to purchase a book on C. There are also several examples<br />
under the <a href="../../scr/scripts.html#examples" target="tutor_body">Scripts</a><br />
documentation. This example takes the <em>scriptName</em> parameter and<br />
uses the system function echo to print it:   </p>
<p><em>extern &#8220;C&#8221; int system(const char*);</em></p>
<p><em>const char *z= stringf(&#8221;echo %s&#8221;,scriptName);</em></p>
<p><em> </em><em>system(z);</em></td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">printf( &#8220;xyz&#8221;, &#8230;)</td>
<td width="68%"> </td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">strlen(&#8221;mystring&#8221;)</td>
<td width="68%">Returns the length of the string</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%" height="50"><em>strsub(   </p>
<p>const char *string,</p>
<p>int offset,</p>
<p>int length</p>
<p></em><em>)</em></td>
<td width="68%" height="50">Extracts a string from another string.</td>
</tr>
<tr valign="top" bgcolor="#000000">
<td width="32%"><span style="color: #ffffff;"><strong><span style="font-family: Arial, Helvetica, sans-serif;">Curve<br />
Functions </span></strong></span></td>
<td width="68%"><span style="color: #ffffff;"><span style="font-family: Arial, Helvetica, sans-serif;">The<br />
curve functions with implicit time (<strong>Linear</strong>, <strong>CSpline</strong>, etc.)<br />
all assume that time is the first argument, so the following statements<br />
are identical:</span></span>   </p>
<p><span style="color: #ffffff;"><span style="font-family: 'Courier New', Courier, mono;">LinearV(time,0,1@1,20@20)</span></span></p>
<p>Linear(0,1@1,20@20)</p>
<p><span style="color: #ffffff;"><span style="font-family: Arial, Helvetica, sans-serif;"><br />
You can, however, adjust the time value explictly with the V version<br />
of each curve type. For more infomation on spline types, jump to <a href="../../working/splines.html" target="_self"><span style="color: #ffff00;">About<br />
Splines</span></a><span style="color: #ffff00;">.</span></span></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif; color: #ffffff;">These<br />
are the cycle type codes:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif; color: #ffffff;">0<br />
= KeepValue</span></p>
<p>1 = KeepSlope</p>
<p>2 = RepeatValue</p>
<p>3 = MirrorValue</p>
<p>4 = OffsetValue</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">biasedGain(x,gain,bias)</td>
<td width="68%">Gives a smoothly ramped interpolation between 0 and 1, similar<br />
to Shake&#8217;s contrast curve. gain increase the contrast, and bias offsets<br />
the center.</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">Linear(cycle,   </p>
<p>value@key1,</p>
<p>value@key2,</p>
<p>&#8230;)</td>
<td width="68%">Linear interpolation from value at key1 to value at key2,<br />
etc.</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">LinearV(time_value, cycle, value@key1,   </p>
<p>value@key2,</p>
<p>&#8230;)</td>
<td width="68%">Linear interpolation from value at key1 to value at key2,<br />
etc.</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">CSpline(cycle,   </p>
<p>value@key1,</p>
<p>value@key2,</p>
<p>&#8230;)</td>
<td width="68%">Cardinal-spline interpolation, a.k.a. Catmull-Rom splines</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">CSplineV(time_value, cycle, value@key1,   </p>
<p>value@key2,</p>
<p>&#8230;)</td>
<td width="68%">Cardinal-spline interpolation, a.k.a. Catmull-Rom splines</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">JSpline(cycle,   </p>
<p>value@key1,</p>
<p>value@key2,</p>
<p>&#8230;)</td>
<td width="68%">Jeffress-spline interpolation</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">JSplineV(time_value, cycle, value@key1,   </p>
<p>value@key2,</p>
<p>&#8230;)</td>
<td width="68%">Jeffress-spline interpolation</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">NSpline(cycle,   </p>
<p>value@key1,</p>
<p>value@key2,</p>
<p>&#8230;)</td>
<td width="68%">Natural-spline interpolation</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">NSplineV(time_value, cycle, value@key1, value@key2,&#8230;)</td>
<td width="68%">Natural-spline interpolation</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%">Hermite(cycle,   </p>
<p>[value,tangent1,tangent2]@key1,</p>
<p>[value,tangent1,tangent2]@key2,</p>
<p>&#8230;)</td>
<td width="68%">Hermite-spline interpolation</td>
</tr>
<tr valign="top" bgcolor="#EEEEEE">
<td width="32%" height="46">HermiteV(time_value, cycle,   </p>
<p>[value,tangent1,tangent2]@key1,</p>
<p>[value,tangent1,tangent2]@key2,</p>
<p>&#8230;)</td>
<td width="68%" height="46">Hermite-spline interpolation</td>
</tr>
</tbody>
</table>
</div>
<pre> </pre>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=84</wfw:commentRss>
		</item>
		<item>
		<title>Leaf</title>
		<link>http://www.pixelgrit.com/?p=41</link>
		<comments>http://www.pixelgrit.com/?p=41#comments</comments>
		<pubDate>Sun, 01 Feb 2009 05:05:37 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Digital Photos]]></category>

		<category><![CDATA[dew]]></category>

		<category><![CDATA[leaf]]></category>

		<category><![CDATA[macro]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=41</guid>
		<description><![CDATA[<p>A leaf of some kind. Taken with my compact Sony Cybershot DSC-T1 with no flash in macro mode.</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-40" title="leaf" src="http://www.pixelgrit.com/wp-content/uploads/leaf.png" alt="leaf" width="575" height="383" />A leaf of some kind. Taken with my compact Sony Cybershot DSC-T1 with no flash in macro mode.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=41</wfw:commentRss>
		</item>
		<item>
		<title>Waaa</title>
		<link>http://www.pixelgrit.com/?p=36</link>
		<comments>http://www.pixelgrit.com/?p=36#comments</comments>
		<pubDate>Sun, 01 Feb 2009 04:51:34 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Digital Photos]]></category>

		<category><![CDATA[asha]]></category>

		<category><![CDATA[crying]]></category>

		<guid isPermaLink="false">http://www.pixelgrit.com/?p=36</guid>
		<description><![CDATA[<p>Asha crying &#8230; Taken with my Canon EOS 350D, f3.5, 1/250, Av Mode, EFS 18-55 mm lens [ set at 18mm (x1.6) ]</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-37" title="ashacrying" src="http://www.pixelgrit.com/wp-content/uploads/ashacrying.png" alt="ashacrying" width="575" height="383" />Asha crying &#8230; Taken with my Canon EOS 350D, f3.5, 1/250, Av Mode, EFS 18-55 mm lens [ set at 18mm (x1.6) ]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=36</wfw:commentRss>
		</item>
		<item>
		<title>Our First Eggs</title>
		<link>http://www.pixelgrit.com/?p=16</link>
		<comments>http://www.pixelgrit.com/?p=16#comments</comments>
		<pubDate>Sun, 01 Feb 2009 01:27:49 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Digital Photos]]></category>

		<category><![CDATA[chooks]]></category>

		<category><![CDATA[eggs]]></category>

		<guid isPermaLink="false">http://pixelgrit.com/?p=16</guid>
		<description><![CDATA[<p>One of the first eggs from our two new additions, Milly and Molly. A couple of New Hampshire Red&#8217;s. Taken with my Canon EOS 350D, f5.6, 1/2000, Av Mode, ISO 800, EFS 18-55 mm lens [ set at 46mm (x1.6) ]</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-15" title="ourfirstegg" src="http://pixelgrit.com/wp-content/uploads/ourfirstegg.png" alt="ourfirstegg" width="575" height="383" />One of the first eggs from our two new additions, Milly and Molly. A couple of New Hampshire Red&#8217;s. Taken with my Canon EOS 350D, f5.6, 1/2000, Av Mode, ISO 800, EFS 18-55 mm lens [ set at 46mm (x1.6) ]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=16</wfw:commentRss>
		</item>
		<item>
		<title>Asha Eating Cake</title>
		<link>http://www.pixelgrit.com/?p=13</link>
		<comments>http://www.pixelgrit.com/?p=13#comments</comments>
		<pubDate>Sun, 01 Feb 2009 01:25:55 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Digital Photos]]></category>

		<category><![CDATA[asha]]></category>

		<category><![CDATA[birthday]]></category>

		<category><![CDATA[cake]]></category>

		<guid isPermaLink="false">http://pixelgrit.com/?p=13</guid>
		<description><![CDATA[<p>Asha eaiting a cup cake on her fourth birthday. Taken with my Canon EOS 350D, f5.0, 1/60, Av Mode, ISO 400, EFS 18-55 mm lens [ set at 31mm (x1.6) ]</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-12" title="ashas4thbirthday" src="http://pixelgrit.com/wp-content/uploads/ashas4thbirthday.png" alt="ashas4thbirthday" width="575" height="383" />Asha eaiting a cup cake on her fourth birthday. Taken with my Canon EOS 350D, f5.0, 1/60, Av Mode, ISO 400, EFS 18-55 mm lens [ set at 31mm (x1.6) ]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=13</wfw:commentRss>
		</item>
		<item>
		<title>Port Fairy Beach</title>
		<link>http://www.pixelgrit.com/?p=8</link>
		<comments>http://www.pixelgrit.com/?p=8#comments</comments>
		<pubDate>Sun, 01 Feb 2009 01:16:13 +0000</pubDate>
		<dc:creator>Ben Roberts</dc:creator>
		
		<category><![CDATA[Digital Photos]]></category>

		<category><![CDATA[beach]]></category>

		<category><![CDATA[port fairy]]></category>

		<category><![CDATA[surf]]></category>

		<category><![CDATA[waves]]></category>

		<guid isPermaLink="false">http://pixelgrit.com/?p=8</guid>
		<description><![CDATA[<p>The beach at Port Fairy, Victoria. Taken with my Canon EOS 350D, f5.6, 1/2000, Av Mode, ISO 100, EFS 18-55 mm lens [ set at 55mm (x1.6) ]</p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-7" title="portfairybeach" src="http://pixelgrit.com/wp-content/uploads/portfairybeach.png" alt="portfairybeach" width="575" height="383" />The beach at Port Fairy, Victoria. Taken with my Canon EOS 350D, f5.6, 1/2000, Av Mode, ISO 100, EFS 18-55 mm lens [ set at 55mm (x1.6) ]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelgrit.com/?feed=rss2&amp;p=8</wfw:commentRss>
		</item>
	</channel>
</rss>
