<?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>Shazzam News &#187; waltritscher</title>
	<atom:link href="http://blog.shazzam-tool.com/index.php/author/waltritscher/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.shazzam-tool.com</link>
	<description>A place to talk about upcoming changes, new features, bug fixes</description>
	<lastBuildDate>Thu, 29 Dec 2011 08:43:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Pixel Shader Compare in Shazzam 1.4</title>
		<link>http://blog.shazzam-tool.com/index.php/2011/12/pixel-shader-compare-in-shazzam-1-4/</link>
		<comments>http://blog.shazzam-tool.com/index.php/2011/12/pixel-shader-compare-in-shazzam-1-4/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 08:43:05 +0000</pubDate>
		<dc:creator>waltritscher</dc:creator>
				<category><![CDATA[v1.4]]></category>

		<guid isPermaLink="false">http://blog.shazzam-tool.com/index.php/2011/12/pixel-shader-compare-in-shazzam-1-4/</guid>
		<description><![CDATA[Another new feature coming in Version 1.4 is the compare tab.&#160; This feature is has been a common request from the Shazzam user community.&#160; In version 1.3 you can toggle the view between shader view and original UI view by choosing the Apply Shader and Remove Shader menu items. Figure 1: No Shader. &#160; Figure [...]]]></description>
			<content:encoded><![CDATA[<p>Another new feature coming in Version 1.4 is the compare tab.&#160; This feature is has been a common request from the Shazzam user community.&#160; In version 1.3 you can toggle the view between shader view and original UI view by choosing the Apply Shader and Remove Shader menu items.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image10.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image_thumb10.png" width="454" height="240" /></a></p>
<p>Figure 1: No Shader.</p>
<p>&#160;</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image11.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image_thumb11.png" width="454" height="242" /></a></p>
<p>Figure 2: Apply Shader.</p>
<p>&#160;</p>
<h2>Side-by-side comparison</h2>
<p>In the new version I&#8217;ve added a Compare tab.&#160; This shows the original UI and applied effect on the same screen.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image12.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image_thumb12.png" width="454" height="238" /></a></p>
<p>Figure 3: Compare Tab, side-by-side.</p>
<p>&#160;</p>
<p>In some instances you may want to see the images above-below instead of side-by-side.&#160; Uncheck the side-by-side check box and this is what you see.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image13.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image_thumb13.png" width="454" height="536" /></a></p>
<p>Figure 4: Compare Tab, above-below.</p>
<p>&#160;</p>
<h2>Watch the video</h2>
<p>Here is a video of the compare tab in action.</p>
<p><iframe height="300" src="http://player.vimeo.com/video/34321016?portrait=0" frameborder="0" width="400" allowfullscreen="allowfullscreen" mozallowfullscreen="mozallowfullscreen" webkitallowfullscreen="webkitallowfullscreen"></iframe></p>
<hr />
<p><strong><font color="#f3a447">Shazzam Beta, January 2012</font></strong></p>
<p><font color="#f3a447">Look for a beta in early January.</font></p>
<p><strong><font color="#f3a447">Shader Book Coming soon</font></strong></p>
<p><font color="#f3a447">HLSL and Pixel Shaders for the XAML Developer. O’Reilly Media Inc..</font></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.shazzam-tool.com/index.php/2011/12/pixel-shader-compare-in-shazzam-1-4/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Color Picker Improvements</title>
		<link>http://blog.shazzam-tool.com/index.php/2011/12/color-picker-improvements/</link>
		<comments>http://blog.shazzam-tool.com/index.php/2011/12/color-picker-improvements/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 23:04:10 +0000</pubDate>
		<dc:creator>waltritscher</dc:creator>
				<category><![CDATA[Shazzam]]></category>
		<category><![CDATA[v1.4]]></category>

		<guid isPermaLink="false">http://blog.shazzam-tool.com/index.php/2011/12/color-picker-improvements/</guid>
		<description><![CDATA[Changes for Shazzam v.1.4 Color Picker Shazzam has always had a color picker.&#160; In v1.3 it lives on the Plugin pane on the left side of the application.&#160; That location is temporary, it was placed there in the first release due to the product schedule.&#160; But that is not where it really belongs.&#160; It should [...]]]></description>
			<content:encoded><![CDATA[<p>Changes for Shazzam v.1.4</p>
<h3>Color Picker</h3>
<p>Shazzam has always had a color picker.&#160; In v1.3 it lives on the Plugin pane on the left side of the application.&#160; That location is temporary, it was placed there in the first release due to the product schedule.&#160; But that is not where it really belongs.&#160; It should be on the &quot;Tryout&quot; tab, so that you can interactively change the color while testing the shader.</p>
<p>In version 1.3 the Tryout tab has a text box for color values.&#160; You enter a color string or hexadecimal string in the textbox and Shazzam updates the color.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image6.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image_thumb6.png" width="454" height="416" /></a></p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image7.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image_thumb7.png" width="454" height="415" /></a></p>
<h3>New Home</h3>
<p>I&#8217;m happy to announce that the Color Picker has migrated to the Tryout tab.&#160; Not only has it move, but it has some improvements.</p>
<p>You can choose colors from the dropdown and see the preview.&#160; Here is an example using the Available colors view.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image8.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image_thumb8.png" width="454" height="663" /></a></p>
<p>&#160;</p>
<p>You can also use a custom color chooser as show in the following screenshot.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image9.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image_thumb9.png" width="454" height="604" /></a></p>
<p>&#160;</p>
<p>One of the features that I really like about Shazzam in the ability to animate the test values.&#160; I&#8217;m not alone that feeling, I get lots of positive comments regarding the animations.</p>
<p>For that reason I&#8217;ve also added the color animation feature to the Tryout tab.</p>
<p>&#160;</p>
<p>Here is a video showing the new features.</p>
<p> <iframe height="320" src="http://player.vimeo.com/video/33993674?portrait=0" frameborder="0" width="400" mozallowfullscreen="mozallowfullscreen" webkitallowfullscreen="webkitallowfullscreen" allowfullscreen="allowfullscreen"></iframe>
<p><a href="http://vimeo.com/33993674">Shazzam v1.4 ColorPicker</a> on Vimeo.</p>
<p>&#160;</p>
<p>&#160;</p>
<hr />
<p><strong><font color="#ccb400">Shazzam Beta, January 2012</font></strong></p>
<p><font color="#ccb400">Look for a beta in Early January.</font></p>
<p><strong><font color="#ccb400">Shader Book Coming soon</font></strong></p>
<p><font color="#ccb400">HLSL and Pixel Shaders for the XAML Developer. O’Reilly Media Inc..</font></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.shazzam-tool.com/index.php/2011/12/color-picker-improvements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Output directory and file changes for Shazzam v1.4</title>
		<link>http://blog.shazzam-tool.com/index.php/2011/12/output-directory-and-file-changes-for-shazzam-v1-4/</link>
		<comments>http://blog.shazzam-tool.com/index.php/2011/12/output-directory-and-file-changes-for-shazzam-v1-4/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 03:44:03 +0000</pubDate>
		<dc:creator>waltritscher</dc:creator>
				<category><![CDATA[Shazzam]]></category>

		<guid isPermaLink="false">http://blog.shazzam-tool.com/index.php/2011/12/output-directory-and-file-changes-for-shazzam-v1-4/</guid>
		<description><![CDATA[The changes have started for the next version of Shazzam. File Output I&#8217;ve revamped the output directory implementation to make it easier to find related shader files.&#160;&#160;&#160; When a shader is compiled in Shazzam there are four files created.&#160; For example, let&#8217;s say you are working with the Bands.fx file.&#160; The fx file contains your [...]]]></description>
			<content:encoded><![CDATA[<p>The changes have started for the next version of Shazzam.</p>
<h2>File Output</h2>
<p>I&#8217;ve revamped the output directory implementation to make it easier to find related shader files.&#160;&#160;&#160; When a shader is compiled in Shazzam there are four files created.&#160; For example, let&#8217;s say you are working with the Bands.fx file.&#160; The fx file contains your HLSL code. When you compile the HLSL you get these four additional files.</p>
<ul>
<li>temp.ps </li>
<li>BandsEffect.ps </li>
<li>BandsEffect.cs </li>
<li>BandsEffect.vb </li>
</ul>
<p>The temp.ps file is used by Shazzam when it dynamically generates the test UI.</p>
<p>The BandsEffect.ps file is a copy of the temp.ps file.&#160; This is the file that should be added to your .NET project.&#160; Both these ps files contain the binary output from the compiler.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image_thumb.png" width="454" height="245" /></a></p>
<p>The *.vb and *.cs files contain the auto generated .NET classes.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image1.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image_thumb1.png" width="454" height="246" /></a></p>
<h2>Version 1.3 locations</h2>
<p>To find these files, use the Tools/Explore Compiled Shaders menu.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image2.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image_thumb2.png" width="304" height="260" /></a></p>
<p>In version 1.3 the files were scatter across three different folder.&#160; That made it confusing to find your all the related files, so a change was made for version 1.4.</p>
<h2>Version 1.4 Locations</h2>
<p>In version 1.4 a directory is created for each compiled shader.&#160; In our example a BandsEffect directory is created.&#160; </p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image3.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image_thumb3.png" width="304" height="212" /></a></p>
<p>Within the BandsEffect directory, you&#8217;ll find the three generated files.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image4.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image_thumb4.png" width="304" height="135" /></a></p>
<p>Another change you may notice is that the ps file name now matches the other two filenames in the directory.&#160; Version 1.3 used different names which was a was another unintended inconsistency.</p>
<h2>Changes to generated .NET effect class</h2>
<p>The final change is noticeable in the generated C#/VB classes.&#160; The UriSource property now reflects the new ps file name.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image5.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2011/12/image_thumb5.png" width="504" height="154" /></a></p>
<hr />
<p>&#160;</p>
<p><strong><font color="#d19049">Shader Book Coming soon</font></strong></p>
<p><font color="#d19049">HLSL and Pixel Shaders for the XAML Developer. O&#8217;Reilly Media Inc..</font></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.shazzam-tool.com/index.php/2011/12/output-directory-and-file-changes-for-shazzam-v1-4/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New version of Shazzam coming in 2012</title>
		<link>http://blog.shazzam-tool.com/index.php/2011/12/new-version-of-shazzam-coming-in-2012/</link>
		<comments>http://blog.shazzam-tool.com/index.php/2011/12/new-version-of-shazzam-coming-in-2012/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 20:52:20 +0000</pubDate>
		<dc:creator>waltritscher</dc:creator>
				<category><![CDATA[Shader]]></category>
		<category><![CDATA[Shazzam]]></category>

		<guid isPermaLink="false">http://blog.shazzam-tool.com/index.php/2011/12/new-version-of-shazzam-coming-in-2012/</guid>
		<description><![CDATA[The last release of Shazzam (version 1.3) was in July of 2010.&#160; Version 1.3 had a lot of good updates and has been well received in the community.&#160; I&#8217;ve been very happy with the outcome and the current version is very stable. I&#8217;ve given a lot of thought to the future of Shazzam.&#160;&#160; I&#8217;ve always [...]]]></description>
			<content:encoded><![CDATA[<p>The last release of Shazzam (version 1.3) was in July of 2010.&#160; Version 1.3 had a <a href="http://blog.shazzam-tool.com/index.php/2010/07/shazzam-1-3-feature-overview/">lot of good updates</a> and has been well received in the community.&#160; I&#8217;ve been very happy with the outcome and the current version is very stable.</p>
<p>I&#8217;ve given a lot of thought to the future of Shazzam.&#160;&#160; I&#8217;ve always felt that it would make a good addin for Visual Studio.&#160; It turns out that a lot of people who use Shazzam are not using Visual Studio.&#160; There are the designers who use Expression Blend and the gamer shops that use Shazzam for shader previewing.&#160; That makes the idea of creating a VS addin less appealing.&#160; And then there is Visual Studio 2012 coming.&#160; It has a very impressive set of tools for graphics developers, including shader editors.</p>
<p>So what&#8217;s happening with Shazzam?&#160;&#160; There will be a new release early in 2012.&#160;&#160; It will continue to be a standalone product.&#160; I have some ideas on improvements and other fixes.&#160; For one, I want to make it more &quot;social&quot;.&#160; By that I mean making it easier to share shaders files with the community.</p>
<p>More importantly, I am writing a book on shaders for O&#8217;Reilly (details in another post).&#160; Shazzam will play an important role in the book and it needs some improvements to help that goal.</p>
<p>If you have suggestions add them to the comments, or look for the new forums coming soon.</p>
<hr />
<p><strong><font color="#d19049">Shader Book Coming soon</font></strong></p>
<p><font color="#d19049">HLSL and Pixel Shaders for the XAML Developer. O&#8217;Reilly Media Inc..</font></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.shazzam-tool.com/index.php/2011/12/new-version-of-shazzam-coming-in-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shazzam 1.3 &#8211; Eighty sample shaders included</title>
		<link>http://blog.shazzam-tool.com/index.php/2010/07/shazzam-1-3-eighty-sample-shaders-included/</link>
		<comments>http://blog.shazzam-tool.com/index.php/2010/07/shazzam-1-3-eighty-sample-shaders-included/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 23:55:46 +0000</pubDate>
		<dc:creator>waltritscher</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.shazzam-tool.com/index.php/2010/07/shazzam-1-3-eighty-sample-shaders-included/</guid>
		<description><![CDATA[The list of sample shaders included in Shazzam Shader Editor continues to grow.&#160;&#160; Thanks to our growing community of users we continue to get shader submissions.&#160; Ten of the shaders in this release were contributed by you.&#160; Thank you! BTW, if you think you have a great shader send it to me (see link on [...]]]></description>
			<content:encoded><![CDATA[<p>The list of sample shaders included in Shazzam Shader Editor continues to grow.&#160;&#160; Thanks to our growing community of users we continue to get shader submissions.&#160; Ten of the shaders in this release were contributed by you.&#160; Thank you!</p>
<p>BTW, if you think you have a great shader send it to me (see link on sidebar).</p>
<h3>Generative Shaders</h3>
<p>There are a handful of generative shaders in Shazzam.&#160; Generative shader ignore any of the underlying pixels in the source and draw their own pixels.&#160; Take this Generative_Star.fx shader for example.&#160; It’s drawing a four pointed star.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image18.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb18.png" width="400" height="267" /></a> </p>
<p>Figure 1 &#8211; Generative_Star.fx</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image19.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb19.png" width="400" height="322" /></a> </p>
<p>Figure 2 – Generative_Star property setters.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image20.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb20.png" width="400" height="273" /></a> </p>
<p>Figure 3 – Generative_Mandelbrot.fx</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image21.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb21.png" width="400" height="278" /></a> </p>
<p>Figure 4 – Generative_Bands.fx</p>
<h3>New and interesting shaders</h3>
<p>I continue to find and invent new pixel shaders for Shazzam. Here are&#160; few of my new samples and some from the community.</p>
<p>First, a look at the original image.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image22.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb22.png" width="400" height="271" /></a> </p>
<p>Figure 5 – Original image.</p>
<p>&#160;</p>
<p>The first shader I want to look at is the ApplyTextureMap.fx shader.&#160; There is a <a href="http://blog.shazzam-tool.com/index.php/2010/07/morphing-images-with-texture-map-pixel-shader/">more detailed post about this shader</a> on this site.&#160; ApplyTextureMap takes a second texture and morphs the pixels of the original.&#160; A common use for this in painting programs is to apply noise or canvas texture to the image.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image23.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb23.png" width="400" height="276" /></a> </p>
<p>Fiigure 6 – Morphed image.</p>
<p><strong>Glass Tiles</strong>: This shader comes from <a href=" http://hdprogramming.blogspot.com">Fakhruddin Faizal</a>.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image24.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb24.png" width="400" height="273" /></a> </p>
<p>Figure 7 – GlassTiles.fx</p>
<p><strong>PaperFold</strong>:&#160; From <a href="http://www.silverlightshow.net/items/Book-Folding-effect-using-Pixel-Shader.aspx">SilverlightShow</a></p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image25.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb25.png" width="400" height="273" /></a> </p>
<p>Figure 8 – Paperfold.fx</p>
<p><strong>Circles</strong>:&#160; This is one of mine.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image26.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb26.png" width="400" height="276" /></a> </p>
<p>Figure 9 – Circles.fx</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image27.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb27.png" width="400" height="273" /></a> </p>
<p>Figure 10 – Circles1.fx</p>
<p>FrostedOutline: Also from <a href=" http://hdprogramming.blogspot.com">Fakhruddin Faizal</a>.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image28.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb28.png" width="400" height="273" /></a> </p>
<p>Figure 11 – FrostedOutline.fx</p>
<p>I really like the frosted look on this sample image.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image29.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb29.png" width="400" height="301" /></a> </p>
<p>Figure 12 &#8211; Sample</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image30.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb30.png" width="400" height="304" /></a> </p>
<p>Figure 13 – Sample with FrostedOutline applied.</p>
<h3>Microsoft shaders</h3>
<p>While I was working on the first version of Shazzam the WPF team released sample shaders on CodePlex.&#160;&#160; I contacted them and asked if I could include them in Shazzam and they gave me a enthusiastic ‘yes!”.&#160; So most of those shaders wound up inside Shazzam.&#160; Version 1.3 adds the Transition effects from Microsoft.&#160;&#160; But I’ll show you those shaders in another post.</p>
<hr />
<p>Version 1.3 release date:&#160; July 14, 2010</p>
<hr />
<p>Do you know about the Shazzam twitter feed?</p>
<p><a href="http://twitter.com/shazzamtool">http://twitter.com/shazzamtool</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.shazzam-tool.com/index.php/2010/07/shazzam-1-3-eighty-sample-shaders-included/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Version 1.3 Shipped</title>
		<link>http://blog.shazzam-tool.com/index.php/2010/07/version-1-3-shipped/</link>
		<comments>http://blog.shazzam-tool.com/index.php/2010/07/version-1-3-shipped/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 06:11:01 +0000</pubDate>
		<dc:creator>waltritscher</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.shazzam-tool.com/index.php/2010/07/version-1-3-shipped/</guid>
		<description><![CDATA[Cue the trumpets, play the fanfare. Shazzam Shader Editor 1.3 is now available on shazzam-tool.com (July 14th, 2010.]]></description>
			<content:encoded><![CDATA[<p>Cue the trumpets, play the fanfare.</p>
<p>Shazzam Shader Editor 1.3 is now available on shazzam-tool.com (July 14th, 2010.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.shazzam-tool.com/index.php/2010/07/version-1-3-shipped/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Morphing Images with Texture Map Pixel Shader</title>
		<link>http://blog.shazzam-tool.com/index.php/2010/07/morphing-images-with-texture-map-pixel-shader/</link>
		<comments>http://blog.shazzam-tool.com/index.php/2010/07/morphing-images-with-texture-map-pixel-shader/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 18:38:46 +0000</pubDate>
		<dc:creator>waltritscher</dc:creator>
				<category><![CDATA[Features]]></category>
		<category><![CDATA[Help]]></category>
		<category><![CDATA[Shazzam]]></category>

		<guid isPermaLink="false">http://blog.shazzam-tool.com/index.php/2010/07/morphing-images-with-texture-map-pixel-shader/</guid>
		<description><![CDATA[.NET pixel shaders support up to 4 input textures.&#160; In the jargon of GPU shaders, a texture is the input (image, Silverlight Ui, etc) that is sampled before returning the new pixel color value. One common effect used in shaders it to alter the look of the main image by using a second texture as [...]]]></description>
			<content:encoded><![CDATA[<p>.NET pixel shaders support up to 4 input textures.&#160; In the jargon of GPU shaders, a <strong>texture</strong> is the input (image, Silverlight Ui, etc) that is sampled before returning the new pixel color value.</p>
<p>One common effect used in shaders it to alter the look of the main image by using a second texture as a bump map.</p>
<h3>Multi-Shader support</h3>
<p>Shazzam has supported multi-input shaders since version 1.2&#160; I’m pleased to announce that version 1.3 contains some useful sample shader that mix 2 to 4 textures for interesting effects.</p>
<p>For this article I’m going to use the new ApplyTextureMap.fx shader.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image1.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb1.png" width="300" height="424" /></a> </p>
<p>Figure 1 – Load ApplyTextureMap with Shader loader.</p>
<p>This shader expects two inputs:</p>
<pre class="code"><span style="color: green">/// &lt;class&gt;ApplyTextureMap&lt;/class&gt;

</span><span style="color: blue">sampler2D </span><span style="color: black">Texture1 : </span><span style="color: blue">register</span><span style="color: #006400">(</span><span style="color: black">s0</span><span style="color: #006400">);
</span><span style="color: blue">sampler2D </span><span style="color: black">TextureMap : </span><span style="color: blue">register</span><span style="color: #006400">(</span><span style="color: black">s2</span><span style="color: #006400">);</span></pre>
<p><a href="http://11011.net/software/vspaste"></a></p>
<h3>Applying and adjusting the TextureMap</h3>
<p>When Shazzam loads the shader the first time it picks the Cactus.jpg file as the ‘TextureMap’ image.&#160; </p>
<p>Here are the two images I will use for this demo.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image2.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb2.png" width="450" height="305" /></a> </p>
<p>Figure 2 – Texture1</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image3.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb3.png" width="450" height="335" /></a> </p>
<p>Figure 3 – TextureMap (the default Cactus image).</p>
<p>Press F5 to compile the shader, then choose the cactus image. You will see the original image morphed with the cactus.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image4.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb4.png" width="450" height="310" /></a> </p>
<p>Figure 4 – Morphed image.</p>
<h3>Choose different Texture</h3>
<p>Next, I will swap out the default TextureMap. </p>
<p>Click the Tryout (adjust settings) tab in Shazzam.&#160; Then click the ‘Choose Texture button.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image5.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb5.png" width="450" height="222" /></a> </p>
<p>Figure 6 – Change Texture.</p>
<p>Now I can choose from a list of included shaders,&#160; If you’d rather use your own image file, click the Open File… button instead.</p>
<p>This is the UI the pops up.&#160; </p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image6.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb6.png" width="450" height="329" /></a> </p>
<p>Figure 7. -&#160; Texture chooser.</p>
<p>If you hover over an item in the list you will see an enlarged version of the thumbnail.&#160; I’m choosing the glassblocks_medium texture.</p>
<h3>Results</h3>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image7.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb7.png" width="450" height="302" /></a> </p>
<p>Figure 8. – GlassBlocks applied, strength= .3.</p>
<p>&#160;</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image8.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb8.png" width="450" height="308" /></a> </p>
<p>Figure 9. – GlassBlocks applied, strength= 2.5.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image9.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb9.png" width="450" height="308" /></a> </p>
<p>Figure 10 – Whirlpool applied.</p>
<h3>Included Texture Maps</h3>
<p>There are over forty texture map files included in Shazzam 1.3!&#160; Note that most of the included textures include full color spectrum.&#160; By providing images that contain a full range of colors, you get a more affective mix of the pixels values in the final output.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image10.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb10.png" width="450" height="286" /></a> </p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image11.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb11.png" width="450" height="282" /></a> </p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image12.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb12.png" width="450" height="288" /></a> </p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image13.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb13.png" width="450" height="280" /></a> </p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image14.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb14.png" width="450" height="288" /></a> </p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image15.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb15.png" width="450" height="291" /></a> </p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image16.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb16.png" width="450" height="286" /></a> </p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image17.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb17.png" width="450" height="146" /></a> </p>
<p>&#160;</p>
<p>Version 1.3 release date:&#160; July 14, 2010</p>
<hr />
<p>Do you know about the Shazzam twitter feed?</p>
<p><a href="http://twitter.com/shazzamtool">http://twitter.com/shazzamtool</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.shazzam-tool.com/index.php/2010/07/morphing-images-with-texture-map-pixel-shader/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Feature list V1.3 &#8211; Remove dependency on DirectX SDK</title>
		<link>http://blog.shazzam-tool.com/index.php/2010/07/feature-list-v1-3-remove-dependency-on-directx-sdk/</link>
		<comments>http://blog.shazzam-tool.com/index.php/2010/07/feature-list-v1-3-remove-dependency-on-directx-sdk/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 05:40:30 +0000</pubDate>
		<dc:creator>waltritscher</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.shazzam-tool.com/index.php/2010/07/feature-list-v1-3-remove-dependency-on-directx-sdk/</guid>
		<description><![CDATA[It seemed like such a good idea at the time. How did Shazzam ended up with a dependency on the DirectX SDK?&#160; You see there’s a couple ways to compile a pixel shader in DirectX.&#160; The technique you frequently see mentioned is to use the command line utility called FXC.exe.&#160;&#160; FXC works great but there [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>It seemed like such a good idea at the time. </p>
</blockquote>
<p>How did Shazzam ended up with a dependency on the DirectX SDK?&#160; You see there’s a couple ways to compile a pixel shader in DirectX.&#160; The technique you frequently see mentioned is to use the command line utility called FXC.exe.&#160;&#160; FXC works great but there is one tiny problem. It’s only available in the DirectX SDK. This might be a good time to mention that the current SDK is nearly 1 GB in size. Yes, that means to run Shazzam you have to download this gargantuan installer and wait 30 minutes for it to finish installing before you can even use Shazzam.</p>
<p>To remove the the dependency all you need to do is remove the call to FXC and find a way to invoke the DirectX DLLs directly. There are a couple techniques to accomplish this, and they all rely on making PInvoke calls.&#160; Earlier releases of Shazzam attempted to get the correct PInvoke code but it was never quite right. Short story, we keep relying on FXC to do the job.</p>
<h3>DirectX Ninja to the rescue</h3>
<p><a title="http://jmorrill.hjtcentral.com/" href="http://jmorrill.hjtcentral.com/">http://jmorrill.hjtcentral.com/</a></p>
<p>Jeremiah Morrill, or Jer to his friends, has a long history of working with .NET and DirectX.&#160; He created the <a href="http://wpfmediakit.codeplex.com/">WPF media kit</a> and the Laser Graffiti application.&#160; He’s busy in the Silverlight world too, working on the <a href="http://silverlightencoder.codeplex.com/">SilverlightEncoder</a> and <a href="http://silverlightviewport.codeplex.com/">SilverlightViewport</a>. He’s the hero of this story because he’s the guy that wrote the new compiler code for Shazzam 1.3.</p>
<p>Three months ago, Jer and I&#160; got together during the Expression Blend event at MIX10.&#160; Over a few Irish beers we got to talking about the trouble with the SDK.&#160; He volunteered to take a look at the problem and a couple months later he sent me the PInvoke code to make the DirectX compiler work.&#160; </p>
<p>It wasn’t all a cakewalk however. Jer’s code worked great but we struggled with making the DirectX calls work and ensure that the correct DLLs were in place.&#160; There were a number of complications which were discovered during testing but we worked them all out.</p>
<h3>No more SDK</h3>
<p>It’s with great pleasure that I can announce that Shazzam 1.3 is SDK free and works as soon as you install it on your computer. Time to celebrate.</p>
<p><a href="http://www.larryponchobrown.com/images/OnTheMainStage.jpg"><img border="1" alt="On The Main Stage" src="http://www.larryponchobrown.com/images/OnTheMainStage.jpg" width="488" height="365" /></a></p>
<ul>
<li>On the main stage – by&#160; Larry Brown.</li>
</ul>
<h3>Change to Settings Pane</h3>
<p>One side effect of this change is that you no longer need to configure the path to FXE.exe in the Shazzam settings pane. The setting has been removed.</p>
<p><a href="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image.png"><img style="display: inline" title="image" alt="image" src="http://blog.shazzam-tool.com/wp-content/uploads/2010/07/image_thumb.png" width="300" height="424" /></a> </p>
<p>&#160;</p>
<p> Release date:&#160; July 12, 2010</p>
<hr />
<p>Do you know about the Shazzam twitter feed?</p>
<p><a href="http://twitter.com/shazzamtool">http://twitter.com/shazzamtool</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.shazzam-tool.com/index.php/2010/07/feature-list-v1-3-remove-dependency-on-directx-sdk/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Shazzam 1.3 &#8211; Feature Overview</title>
		<link>http://blog.shazzam-tool.com/index.php/2010/07/shazzam-1-3-feature-overview/</link>
		<comments>http://blog.shazzam-tool.com/index.php/2010/07/shazzam-1-3-feature-overview/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 03:52:15 +0000</pubDate>
		<dc:creator>waltritscher</dc:creator>
				<category><![CDATA[Features]]></category>
		<category><![CDATA[Shazzam]]></category>

		<guid isPermaLink="false">http://blog.shazzam-tool.com/index.php/2010/07/shazzam-1-3-feature-overview/</guid>
		<description><![CDATA[Learn more about the features available in Shazzam 1.3. Remove dependency on DirectX SDK Write more complex shaders with the PS_3 specification 40 new texture maps added for multi input shaders New Texture picker added to Try-out tab Over 80 sample shaders 20 tutorials added Changes to User Interface Rearrange Code and Tryout tabs Remember [...]]]></description>
			<content:encoded><![CDATA[<p>Learn more about the features available in Shazzam 1.3.</p>
<ul>
<li><a href="http://blog.shazzam-tool.com/index.php/2010/07/feature-list-v1-3-remove-dependency-on-directx-sdk/">Remove dependency on DirectX SDK</a> </li>
<li><a href="http://blog.shazzam-tool.com/index.php/2010/06/shazzam-1-3-coming-soon-with-ps_3_0/">Write more complex shaders with the PS_3 specification</a> </li>
<li><a href="http://blog.shazzam-tool.com/index.php/2010/07/morphing-images-with-texture-map-pixel-shader/">40 new texture maps added for multi input shaders</a> </li>
<li>New Texture picker added to Try-out tab </li>
<li><a href="http://blog.shazzam-tool.com/index.php/2010/07/shazzam-1-3-eighty-sample-shaders-included/">Over 80 sample shaders</a> </li>
<li>20 tutorials added </li>
<li>Changes to User Interface
<ul>
<li>Rearrange Code and Tryout tabs </li>
<li>Remember last shader in the Shader Loader list </li>
<li>Explore Texture Maps menu item </li>
<li>New hot keys </li>
</ul>
</li>
<li>Better support options in help menu </li>
<li>Standard Windows Installer </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.shazzam-tool.com/index.php/2010/07/shazzam-1-3-feature-overview/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Oh, shiny! Animated Mandelbrot shader effect</title>
		<link>http://blog.shazzam-tool.com/index.php/2010/07/oh-shiny-animated-mandelbrot-shader-effect/</link>
		<comments>http://blog.shazzam-tool.com/index.php/2010/07/oh-shiny-animated-mandelbrot-shader-effect/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 03:38:57 +0000</pubDate>
		<dc:creator>waltritscher</dc:creator>
				<category><![CDATA[Shader]]></category>

		<guid isPermaLink="false">http://blog.shazzam-tool.com/index.php/2010/07/oh-shiny-animated-mandelbrot-shader-effect/</guid>
		<description><![CDATA[Shazzam 1.3 is shipping next week, on July 12th, 2010.&#160;&#160;&#160; Here’s a taste of the new Generative_Mandelbrot.fx.&#160; This effect doesn’t use any of the pixels from the original source, hence the name Generative.&#160; It uses the Mandelbrot&#160; fractal algorithm, but it is not very recursive.&#160; The animation is running in the Shazzam interface. &#160; Now [...]]]></description>
			<content:encoded><![CDATA[<p>Shazzam 1.3 is shipping next week, on July 12th, 2010.&#160;&#160;&#160; Here’s a taste of the new Generative_Mandelbrot.fx.&#160; This effect doesn’t use any of the pixels from the original source, hence the name Generative.&#160; It uses the Mandelbrot&#160; fractal algorithm, but it is not very recursive.&#160; The animation is running in the Shazzam interface.</p>
<p>&#160;</p>
<p><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=13233374&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=13233374&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object></p>
<p>Now the WPF supports PS_3 shaders, this example can probably be enhanced further.&#160; Want to take a shot at it?</p>
<p>Did you know about the Shazzam twitter feed?</p>
<p><a href="http://twitter.com/shazzamtool">http://twitter.com/shazzamtool</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.shazzam-tool.com/index.php/2010/07/oh-shiny-animated-mandelbrot-shader-effect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

