<?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>MikeCann.co.uk &#187; HLSL - MikeCann.co.uk - mikey see, mikey do!</title>
	<atom:link href="http://mikecann.co.uk/category/programming/hlsl/feed/" rel="self" type="application/rss+xml" />
	<link>http://mikecann.co.uk</link>
	<description>mikey see, mikey do!</description>
	<lastBuildDate>Sat, 28 Jan 2012 13:10: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>Shader Based 2D Shadowing</title>
		<link>http://mikecann.co.uk/programming/shader-based-2d-shadowing/</link>
		<comments>http://mikecann.co.uk/programming/shader-based-2d-shadowing/#comments</comments>
		<pubDate>Sun, 15 Aug 2010 11:10:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[HLSL]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[XNA]]></category>
		<category><![CDATA[2d]]></category>
		<category><![CDATA[community]]></category>
		<category><![CDATA[hlsl]]></category>
		<category><![CDATA[shader]]></category>
		<category><![CDATA[shadow]]></category>
		<category><![CDATA[university]]></category>

		<guid isPermaLink="false">http://mikecann.co.uk/?p=1206</guid>
		<description><![CDATA[Those who know me know I used to do quite abit of development in c# using Microsoft&#8217;s XNA platform. Well I like to check back in every now and then with some of the big players in the community to see what&#8217;s going on. One of those players is Catalin Zima, who is famous for producing many [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://mikecann.co.uk/wp-content/uploads/2010/08/11_scene.png"><img class="alignnone size-full wp-image-1207" title="11_scene" src="http://mikecann.co.uk/wp-content/uploads/2010/08/11_scene.png" alt="" width="560" height="420" /></a></p>
<p>Those who know me know I used to do <a href="http://mikecann.co.uk/?s=xna">quite abit of development</a> in c# using Microsoft&#8217;s XNA platform.</p>
<p>Well I like to check back in every now and then with some of the big players in the community to see what&#8217;s going on.</p>
<p>One of those players is <a href="http://www.catalinzima.com/">Catalin Zima</a>, who is famous for producing many great shader and effect samples.</p>
<p>One of Catalin&#8217;s reccent project particularly caught my eye however as I had tried to tackle the same problem several years ago when I was in my final year of university. That is, Dynamic 2D Shadows Calculated on the GPU (<a href="http://mikecann.co.uk/university-projects/shadowshader-in-rendermonkey/">http://mikecann.co.uk/university-projects/shadowshader-in-rendermonkey/</a>)</p>
<p><a href="http://www.catalinzima.com/2010/07/my-technique-for-the-shader-based-dynamic-2d-shadows/">Catalin&#8217;s approac</a>h to the problem is far more elegant that my brute force iterative approach. He uses a clever technique of distorting the desired casting image about the light in such a way as not to require iterative pixel lookups.</p>
<p>If you are interested in the more details in the technique I encourage you to check it out over on Catalin&#8217;s blog: <a href="http://www.catalinzima.com/2010/07/my-technique-for-the-shader-based-dynamic-2d-shadows/">http://www.catalinzima.com/2010/07/my-technique-for-the-shader-based-dynamic-2d-shadows/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mikecann.co.uk/programming/shader-based-2d-shadowing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XNA Archive</title>
		<link>http://mikecann.co.uk/fun-videos/xna-archive/</link>
		<comments>http://mikecann.co.uk/fun-videos/xna-archive/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 08:39:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Fun & Videos]]></category>
		<category><![CDATA[HLSL]]></category>
		<category><![CDATA[J2ME]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[Photos & Personal]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[University Projects]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://www.mikecann.co.uk/?p=365</guid>
		<description><![CDATA[I just realised some of my old XNAGPUParticles project videos have gone walkies. So I have reposted them on youtube. These are my old projects from my final year of uni, binary and source code can be found in the relevant post for each video. http://www.mikecann.co.uk/?p=163 httpvh://www.youtube.com/watch?v=vxrg1YavBIg http://www.mikecann.co.uk/?p=169 httpvh://www.youtube.com/watch?v=3wdIiCCAb9U I have another reason for these [...]]]></description>
			<content:encoded><![CDATA[<p>I just realised some of my old XNAGPUParticles project videos have gone walkies. So I have reposted them on youtube. These are my old projects from my final year of uni, binary and source code can be found in the relevant post for each video.</p>
<p><a href="http://www.mikecann.co.uk/?p=163">http://www.mikecann.co.uk/?p=163</a><br />
httpvh://www.youtube.com/watch?v=vxrg1YavBIg<br />
<a href="http://www.mikecann.co.uk/?p=169"><br />
http://www.mikecann.co.uk/?p=169</a><br />
httpvh://www.youtube.com/watch?v=3wdIiCCAb9U</p>
<p>I have another reason for these old re-posts, something a little more flash orientated.. Stay tuned for more info <img src='http://mikecann.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://mikecann.co.uk/fun-videos/xna-archive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XNAGPUParticles 1.1</title>
		<link>http://mikecann.co.uk/university-projects/xnagpuparticles-11/</link>
		<comments>http://mikecann.co.uk/university-projects/xnagpuparticles-11/#comments</comments>
		<pubDate>Fri, 27 Apr 2007 12:48:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[HLSL]]></category>
		<category><![CDATA[University Projects]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://www.artificial-studios.co.uk/?p=169</guid>
		<description><![CDATA[I got bored of revision for my final exam so i decided to play around with my XNAGPUParticles abit more and came up with this thing. Basically it takes a texture and picks out pixel colours from the texture and maps it onto a large vertex buffer which then is used as the input to [...]]]></description>
			<content:encoded><![CDATA[<p>I got bored of revision for my final exam so i decided to play around with my XNAGPUParticles abit more and came up with this thing.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="505" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/5vblYYwB_3E&amp;hl=en_GB&amp;fs=1?rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="640" height="505" src="http://www.youtube.com/v/5vblYYwB_3E&amp;hl=en_GB&amp;fs=1?rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Basically it takes a texture and picks out pixel colours from the texture and maps it onto a large vertex buffer which then is used as the input to my Vetex Texture particle system.</p>
<p>I have made a few adjustments to the way the vertex texture system works, now each particle has its own centre of gravity that it revolves about.</p>
<p>You can grab the new binary: <a href="http://www.mikecann.co.uk/Work/XNAGPUParticles_v1-1.zip">http://www.mikecann.co.uk/Work/XNAGPUParticles_v1-1.zip</a></p>
<p>As per last time if you wish to see the source please dont hestitate to <a href="http://mailto:mike.cann@gmail.com">email me</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mikecann.co.uk/university-projects/xnagpuparticles-11/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Particles Video</title>
		<link>http://mikecann.co.uk/university-projects/particles-video/</link>
		<comments>http://mikecann.co.uk/university-projects/particles-video/#comments</comments>
		<pubDate>Sun, 01 Apr 2007 14:17:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[HLSL]]></category>
		<category><![CDATA[University Projects]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://www.artificial-studios.co.uk/?p=164</guid>
		<description><![CDATA[This is the video of the XNAGPUParticles project i have uploaded for those peeps who doent have the requirements to run it but want to check it out anyways.]]></description>
			<content:encoded><![CDATA[<p>This is the video of the XNAGPUParticles project i have uploaded for those peeps who doent have the requirements to run it but want to check it out anyways.</p>
<p><object width="640" height="505"><param name="movie" value="http://www.youtube.com/v/vxrg1YavBIg&amp;hl=en_GB&amp;fs=1?rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/vxrg1YavBIg&amp;hl=en_GB&amp;fs=1?rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://mikecann.co.uk/university-projects/particles-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XNAGPUParticles (1,000,000 Dynamic Particles)</title>
		<link>http://mikecann.co.uk/university-projects/xnagpuparticles-1000000-dynamic-particles/</link>
		<comments>http://mikecann.co.uk/university-projects/xnagpuparticles-1000000-dynamic-particles/#comments</comments>
		<pubDate>Fri, 30 Mar 2007 09:30:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[HLSL]]></category>
		<category><![CDATA[University Projects]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://www.artificial-studios.co.uk/?p=163</guid>
		<description><![CDATA[This is another submission of work i have done in my final year. This time the project is all my own work. The project is a continuation based on work from before Christmas and is an experiment into state preserving particle systems. I started out with examining the basic particle systems such as a static [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.mikecann.co.uk/Images/Others/particles17.png" alt="" width="230" height="151" align="left" />This is another submission of work i have done in my final year. This time the project is all my own work.</p>
<p>The project is a continuation based on <a href="http://www.mikecann.co.uk/?p=148">work from before Christmas</a> and is an experiment into state preserving particle systems. I started out with examining the basic particle systems such as a static system and one that updates on the CPU. I then moved onto more advanced systems such as the GPU based system described by <a href="http://www.2ld.de/gdc2004/">Lance Latta</a> and others. I soon discovered however that XNA doesn&#8217;t support &#8220;uber buffers&#8221; and as such had to invent a new solution using vertex textures. The result is a particle system written in XNA that is able to update and render 1,000,000 particles at about 22 frames a second with 4 forces.</p>
<p>To view this demo you first need to have the XNA runtimes. If you dont have those just go <a href="http://xnamatrix.com/xnareq.php">HERE</a>.<a href="./Images/Others/particles18.png"><img src="http://www.mikecann.co.uk/Images/Others/particles18.png" alt="" width="300" height="197" align="right" /></a></p>
<p>Once installed you can grab the binary for this project <a href="http://www.mikecann.co.uk/Work/XNAGPUParticles.zip">http://www.mikecann.co.uk/Work/XNAGPUParticles.zip</a></p>
<p>If you are interested in seeing the source code for this project, just drop me an email: mike.cann@gmail.com</p>
<p>Oh also, the written report for this can be found <a href="GPUParticles2003.doc">http://www.mikecann.co.uk/Work/GPUParticles2003.doc</a></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="505" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/vxrg1YavBIg&amp;hl=en_GB&amp;fs=1?rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="640" height="505" src="http://www.youtube.com/v/vxrg1YavBIg&amp;hl=en_GB&amp;fs=1?rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://mikecann.co.uk/university-projects/xnagpuparticles-1000000-dynamic-particles/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>ShadowShader in RenderMonkey</title>
		<link>http://mikecann.co.uk/university-projects/shadowshader-in-rendermonkey/</link>
		<comments>http://mikecann.co.uk/university-projects/shadowshader-in-rendermonkey/#comments</comments>
		<pubDate>Wed, 24 Jan 2007 13:03:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HLSL]]></category>
		<category><![CDATA[University Projects]]></category>

		<guid isPermaLink="false">http://www.artificial-studios.co.uk/?p=149</guid>
		<description><![CDATA[This is my second dabble in HLSL and this time it was just for personal reasons. I wanted to create a shadow effect for a 2D game that we are developing for our group project. Its actually very hard to find any resources on the internet about this but i did stumble accross one resource [...]]]></description>
			<content:encoded><![CDATA[<p><img hspace="2" align="left" src="http://www.mikecann.co.uk/wp-content/uploads/Image/RM02.png" alt="" />This is my second dabble in HLSL and this time it was just for personal reasons. I wanted to create a shadow effect for a 2D game that we are developing for our group project. Its actually very hard to find any resources on the internet about this but i did stumble accross one resource (which i have now lost the link to) where someone has created a basic shadow effect purely in shaders.</p>
<p>So i decided to have a go and this was the outcome. In the end however its too slow to be used in the game but serves as a usfull learning tool when the hardware catches up.</p>
<p>To view this you will need to <a onclick="javascript:urchinTracker ('/outbound/article/ati.amd.com');" href="http://ati.amd.com/developer/rendermonkey/downloads.html">download </a>RenderMonkey.</p>
<p><strong>Download:</strong> <a href="http://www.mikecann.co.uk/wp-content/uploads/File/ShadowShader.zip">ShadowShader.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mikecann.co.uk/university-projects/shadowshader-in-rendermonkey/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Particles in RenderMonkey</title>
		<link>http://mikecann.co.uk/university-projects/particles-in-rendermonkey/</link>
		<comments>http://mikecann.co.uk/university-projects/particles-in-rendermonkey/#comments</comments>
		<pubDate>Wed, 24 Jan 2007 12:53:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HLSL]]></category>
		<category><![CDATA[University Projects]]></category>

		<guid isPermaLink="false">http://www.artificial-studios.co.uk/?p=148</guid>
		<description><![CDATA[Well in my final year at university we have been working on shaders. I decided to concentrate on particles as it ties in nicely with my final project (more on that to come). This is my first little dabble with the excellent shader creation tool, RenderMonkey. To view this you will need to download the [...]]]></description>
			<content:encoded><![CDATA[<p><img align="left" src="http://www.mikecann.co.uk/wp-content/uploads/Image/RM01.png" alt="" />Well in my final year at university we have been working on shaders. I decided to concentrate on particles as it ties in nicely with my final project (more on that to come). </p>
<p>This is my first little dabble with the excellent shader creation tool, RenderMonkey. To view this you will need to <a href="http://ati.amd.com/developer/rendermonkey/downloads.html">download </a>the free app.</p>
<p>This was acually a peice of work for one of my modules so the .zip file contains the written report too.</p>
<p><strong>Download: </strong><a href="http://www.mikecann.co.uk/wp-content/uploads/File/Particles01.zip">Particles01.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mikecann.co.uk/university-projects/particles-in-rendermonkey/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

