<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Smart-Page.net &#187; rendering</title>
	<atom:link href="http://www.smart-page.net/blog/tag/rendering/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.smart-page.net/blog</link>
	<description>C++ / C# / Py / Actionscript ... &#039;My God. It&#039;s full of stars!&#039;</description>
	<lastBuildDate>Thu, 23 Jun 2011 00:14:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>GPU based Raytracing with Pixel Bender and After Effects</title>
		<link>http://www.smart-page.net/blog/2009/09/27/gpu-based-raytracing-with-pixel-bender-and-after-effects/</link>
		<comments>http://www.smart-page.net/blog/2009/09/27/gpu-based-raytracing-with-pixel-bender-and-after-effects/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 10:29:44 +0000</pubDate>
		<dc:creator>flashgordon</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[After Effects]]></category>
		<category><![CDATA[Ambient Occlusion]]></category>
		<category><![CDATA[AO]]></category>
		<category><![CDATA[GPU]]></category>
		<category><![CDATA[Pixel Bender]]></category>
		<category><![CDATA[Raytracing]]></category>
		<category><![CDATA[rendering]]></category>

		<guid isPermaLink="false">http://www.smart-page.net/blog/?p=426</guid>
		<description><![CDATA[<a href="http://www.smart-page.net/blog/2009/09/27/gpu-based-raytracing-with-pixel-bender-and-after-effects/" title="GPU based Raytracing with Pixel Bender and After Effects"><img src="http://www.smart-page.net/blog/wp-content/plugins/yet-another-photoblog/YapbThumbnailer.php?post_id=426&amp;w=200&amp;h=150&amp;zc=1" width="200" height="150" alt="GPU based Raytracing with Pixel Bender and After Effects" style="float:left;padding:0 10px 10px 0;" ></a>Since some years the idea of harnessing the power of modern graphic cards for 2D/3D applications has become more and more popular. Today we find GPU support in many CG applications like Photoshop or After Effects. But first the fun part: Watch a video raytraced with PB and AFX! The chaos group is even working [...]]]></description>
			<content:encoded><![CDATA[<a href="http://www.smart-page.net/blog/2009/09/27/gpu-based-raytracing-with-pixel-bender-and-after-effects/" title="GPU based Raytracing with Pixel Bender and After Effects"><img src="http://www.smart-page.net/blog/wp-content/plugins/yet-another-photoblog/YapbThumbnailer.php?post_id=426&amp;w=200&amp;h=150&amp;zc=1" width="200" height="150" alt="GPU based Raytracing with Pixel Bender and After Effects" style="float:left;padding:0 10px 10px 0;" ></a><p>Since some years the idea of harnessing the power of modern graphic cards for 2D/3D applications has become more and more popular.</p>
<p>Today we find GPU support in many CG applications like Photoshop or After Effects.</p>
<p><b>But first the fun part: <a href="http://www.vconverter.de/?file=rt_aa_ao" target="_blank">Watch a video raytraced with PB and AFX!</a></b></p>
<p><span id="more-426"></span> The <a href="http://www.chaosgroup.com" target="_blank">chaos group</a> is even working on a GPU based real time version of Vray &#8211; a widely used modern GI raytracer.</p>
<p>In fact GPU shading is often more performant plus it quasi &#8216;adds&#8217; an unused/inactive processor.</p>
<p>One could argue that Pixel Bender doesn´t quite fit the term as its mostly run in software mode (on the CPU) &#8211; for<br />
example when executing a PB shader in Flash or rendering it with AFX&#8230; for now.</p>
<p>But PB is still young and the prospect of being able to run it within multiple adobe platforms (Flash,PS,AFX) is very compelling.</p>
<p>When I saw <a href="http://www.subblue.com/blog/2009/9/20/quaternion_julia" target="_blank">Tom Beddard´s PB port</a> of Keenan Crane&#8217;s genius julia set tracer, I remembered that I had planned to get into PB GPU raytracing once I got around <a href="http://mike.newgrounds.com/news/post/156863" target="_blank">Mike Welsh´s PB raytracer</a>.</p>
<p>So I spend some time with it, created a scene similar to &#8216;<a href="http://www.smart-page.de/as3d/sp_theeye/" target="_blank">The Eye&#8217;</a> and added viewport controls as well as anti aliasing.</p>
<p>The result can be viewed <a href="http://www.vconverter.de/?file=rt_aa_ao" target="_blank">here</a>.</p>
<p><em>Rendertime was 3:10 on a Q6600 for 4700 frames.</em></p>
<p>And <a href="http://www.smart-page.net/as3/sp_smartray/SmartRayTracer.pbk" target="_blank">here</a> is the modified shader.</p>
<p>I also fiddled around with adding an inside-out AO (<a href="http://en.wikipedia.org/wiki/Ambient_occlusion" target="_blank">ambient occlusion</a>) pass but wasn´t able to get satisfying results.<br />
It even almost fried my GPU in the process so in conclusion it’s doable but sadly not practical.</p>
<p><img class="alignnone size-full wp-image-443" title="ao2" src="http://www.smart-page.net/blog/wp-content/uploads/2009/09/ao2.jpg" alt="ao2" width="426" height="210" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.smart-page.net/blog/2009/09/27/gpu-based-raytracing-with-pixel-bender-and-after-effects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

