<?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; PixelBender</title>
	<atom:link href="http://www.smart-page.net/blog/tag/pixelbender/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.smart-page.net/blog</link>
	<description>C++ / C# / Actionscript / Py ... &#039;My God. It&#039;s full of stars!&#039;</description>
	<lastBuildDate>Tue, 27 Jul 2010 21:35:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SmartReLight &#8211; relighting with Pixel Bender</title>
		<link>http://www.smart-page.net/blog/2009/12/27/smartrelight-relighting-with-pixel-bender/</link>
		<comments>http://www.smart-page.net/blog/2009/12/27/smartrelight-relighting-with-pixel-bender/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 15:57:15 +0000</pubDate>
		<dc:creator>flashgordon</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Normals]]></category>
		<category><![CDATA[PixelBender]]></category>
		<category><![CDATA[Relighting]]></category>
		<category><![CDATA[SmartReLight]]></category>
		<category><![CDATA[Video post]]></category>

		<guid isPermaLink="false">http://www.smart-page.net/blog/?p=642</guid>
		<description><![CDATA[<a href="http://www.smart-page.net/blog/2009/12/27/smartrelight-relighting-with-pixel-bender/" title="SmartReLight &#8211; relighting with Pixel Bender"><img src="http://www.smart-page.net/blog/wp-content/uploads/yapb_cache/smartrelight.3itd6eb870sg4gogwo4gskgc0.h9fw4mcunnwo4cowc8k4840k.th.jpeg" width="200" height="150" alt="SmartReLight &#8211; relighting with Pixel Bender" style="float:left;padding:0 10px 10px 0;" ></a>Relighting is an interesting method that is often used in video post production pipelines.
Given the vector of its surface normal, it is possible to calculate the brightness of each pixel by a pseudo 3D lightning system.
Checkout the demo of SmartReLight!


As the &#8216;object space&#8217; &#8211; or &#8216;material&#8217; normal’s have to be known, relighting is mostly used [...]]]></description>
			<content:encoded><![CDATA[<a href="http://www.smart-page.net/blog/2009/12/27/smartrelight-relighting-with-pixel-bender/" title="SmartReLight &#8211; relighting with Pixel Bender"><img src="http://www.smart-page.net/blog/wp-content/uploads/yapb_cache/smartrelight.3itd6eb870sg4gogwo4gskgc0.h9fw4mcunnwo4cowc8k4840k.th.jpeg" width="200" height="150" alt="SmartReLight &#8211; relighting with Pixel Bender" style="float:left;padding:0 10px 10px 0;" ></a><p>Relighting is an interesting method that is often used in video post production pipelines.</p>
<p>Given the vector of its surface normal, it is possible to calculate the brightness of each pixel by a pseudo 3D lightning system.</p>
<p><a href="http://www.smart-page.net/as3/sp_smartrelight" target="_blank"><strong>Checkout the demo of SmartReLight!</strong></a><br />
<br/><br />
<span id="more-642"></span><br />
As the &#8216;object space&#8217; &#8211; or &#8216;material&#8217; normal’s have to be known, relighting is mostly used within the post process of CG generated images or videos.</p>
<p>It’s a convenient way to archive great lighting and gives the artist most control as he can tune it in real-time without having to re- render the footage for every adjustment.</p>
<p>As you can see from this example, the complete lighting is done by the shader using only a color pass and the object normal’s:</p>
<p><img class="alignnone size-full wp-image-648" title="smartrelight2" src="http://www.smart-page.net/blog/wp-content/uploads/2007/05/smartrelight2.jpg" alt="smartrelight2" width="680" height="170" /><br />
<br/><br />
This implementation is fairly simple as it doesn´t support reflections and refractions like <a href="http://www.minning.de/software/normality" target="_blank">Normality</a> , but its fast and does the job &#8211; and what better way to get through the last cold days of the year than playing half an hour with Pixel Bender?</p>
<p>It’s also possible to relight already lighted sources to some extend, by not using the color- , but an already phong- shaded pass:</p>
<p><embed type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" width="680" height="350" src="http://www.smart-page.net/as3/sp_smartrelight/SmartReLight_Shadertest.swf" /><br />
<br/><br />
You can <a href="http://www.smart-page.net/as3/sp_smartrelight/SmartReLight.zip">download SmartReLight here</a> and the <a href="http://www.smart-page.net/as3/sp_smartrelight/srcview" target="_blank">source of the demo</a> including the shader <a href="http://www.smart-page.net/as3/sp_smartrelight/srcview" target="_blank">here</a>.<br />
<br/><br/></p>
<h3>Compiling PB shaders at runtime</h3>
<p>Last but not least a short but very interesting story:</p>
<p>Recently I was asked if it was possible to compile a PB shader at runtime.</p>
<p>Given it some thought &#8211; why not?</p>
<p>And as it turned out the hell of a chap Nicolas Canasse already <a href="http://ncannasse.fr/projects/pbj?version=232" target="_blank">took care of that matter</a>.<br />
There is also already an <a href="http://www.jamesward.com/2009/04/29/announcing-pbjas-an-actionscript-3-pixel-bender-shader-library/" target="_blank">AS3 port</a> by James Ward.<br />
<br/><br/></p>
<h3>All the best for 2010 !</h3>
]]></content:encoded>
			<wfw:commentRss>http://www.smart-page.net/blog/2009/12/27/smartrelight-relighting-with-pixel-bender/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Smart Normal Map goes Silverlight</title>
		<link>http://www.smart-page.net/blog/2009/08/27/smart-normal-map-goes-silverlight/</link>
		<comments>http://www.smart-page.net/blog/2009/08/27/smart-normal-map-goes-silverlight/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 09:00:05 +0000</pubDate>
		<dc:creator>flashgordon</dc:creator>
				<category><![CDATA[C Sharp]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[HLSL]]></category>
		<category><![CDATA[normapmap]]></category>
		<category><![CDATA[PixelBender]]></category>
		<category><![CDATA[Shader]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.smart-page.net/blog/?p=370</guid>
		<description><![CDATA[<a href="http://www.smart-page.net/blog/2009/08/27/smart-normal-map-goes-silverlight/" title="Smart Normal Map goes Silverlight"><img src="http://www.smart-page.net/blog/wp-content/uploads/yapb_cache/smartnormalsilver2_copy.dxgzs37jwt4c4swsoc88wo8s8.h9fw4mcunnwo4cowc8k4840k.th.jpeg" width="200" height="150" alt="Smart Normal Map goes Silverlight" style="float:left;padding:0 10px 10px 0;" ></a>Microsofts Silverlight has advanced to a level where it´s features and performance get contrastable  with flash.
It took mere minutes to port Smart Normal from PixelBender (Hydra) to Silverlights shader Language HLSL (DirectX).
As with Astro, shaders are rendered via software &#8211; not the GPU.
The result is roughly comparable with this Flash demo of Smart Normal.
This [...]]]></description>
			<content:encoded><![CDATA[<a href="http://www.smart-page.net/blog/2009/08/27/smart-normal-map-goes-silverlight/" title="Smart Normal Map goes Silverlight"><img src="http://www.smart-page.net/blog/wp-content/uploads/yapb_cache/smartnormalsilver2_copy.dxgzs37jwt4c4swsoc88wo8s8.h9fw4mcunnwo4cowc8k4840k.th.jpeg" width="200" height="150" alt="Smart Normal Map goes Silverlight" style="float:left;padding:0 10px 10px 0;" ></a><p>Microsofts Silverlight has advanced to a level where it´s features and performance get contrastable  with flash.</p>
<p>It took mere minutes to port Smart Normal from PixelBender (Hydra) to Silverlights shader Language HLSL (DirectX).<br />
As with Astro, shaders are rendered via software &#8211; not the GPU.</p>
<p><b><a href="http://www.smart-page.de/sl/sp_smartnormal_silver/" target="_blank">The result</a></b> is roughly comparable with <a href="http://www.smart-page.net/as3/sp_smartnormalmap" target="_blank">this Flash demo</a> of <a href="http://www.smart-page.net/smartnormal" target="_blank">Smart Normal</a>.</p>
<p>This was not intended to be a performance test but it clearly indicates that Silverlight isn´t inferior when it comes to video, shading or 2,5D.</p>
<p><span id="more-370"></span></p>
<p>C# is a mighty language -  easy to pickup for those who are familiar with C++ and working with XAML even feels natural to a Flex developer.</p>
<p>It has to be seen where Open Source, Google, Adobe and Microsoft will take the &#8216;web 3.0&#8242; but Silverlight definetly has the potential to be a part of that future.<br />
In general, competition is a good thing when it comes to software and the same applies to RIA runtimes&#8230;</p>
<p>View the <a href="http://www.smart-page.de/sl/sp_smartnormal_silver/" target="_blank">Silverlight Smart Normal demo</a> or download the Smart Notmal shader as <a href="http://www.smart-page.de/sl/sp_smartnormal_silver/SmartNormal.fx" target="_blank">HLSL *.fx file</a>.</p>
<p><em>Hint</em>: If you are looking for a PixelBender Toolkit replacement when working with HLSL try <a href="http://shazzam-tool.com/" target="_blank">Shazzam</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smart-page.net/blog/2009/08/27/smart-normal-map-goes-silverlight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
