<?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>Sgt. Conker &#187; Scrolls from the past</title>
	<atom:link href="http://www.sgtconker.com/category/general/scrolls-from-the-past/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sgtconker.com</link>
	<description>We are &#34;absolutely fine&#34;</description>
	<lastBuildDate>Thu, 09 Sep 2010 19:48:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Scrolls from the Past: PIX</title>
		<link>http://www.sgtconker.com/2009/12/scrolls-from-the-past-pix/</link>
		<comments>http://www.sgtconker.com/2009/12/scrolls-from-the-past-pix/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 22:04:12 +0000</pubDate>
		<dc:creator>Captain ZSquare</dc:creator>
				<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Scrolls from the past]]></category>
		<category><![CDATA[XNA]]></category>
		<category><![CDATA[Debug]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[PIX]]></category>

		<guid isPermaLink="false">http://www.sgtconker.com/?p=655</guid>
		<description><![CDATA[Good evening everyone,
After a long and tiresome day, I come to you now, at sundown, to put some things in writing. Looking through the old, dusty and crumbling archives I managed to collect some scrolls about a very very interesting and useful ritual by the name of PIX. My memories of what PIX stands for [...]]]></description>
			<content:encoded><![CDATA[<p>Good evening everyone,</p>
<p>After a long and tiresome day, I come to you now, at sundown, to put some things in writing. Looking through the old, dusty and crumbling archives I managed to collect some scrolls about a very very interesting and useful ritual by the name of PIX. My memories of what PIX stands for are not too fresh (maybe it's <a href="http://en.wikipedia.org/wiki/National_Day_of_Romania">yesterday's feast</a>, or maybe not...), but for now I'll just assume it comes from <em>Pictorum Informatias eXtractorum</em>. If you think this is uses to carefully inspect elements of images and artworks created with XNA and that other API (<em>Apparatus Procesarum Imaginus</em> ?) called DirectX, like you would do with a clear and carefully crafted magnification glass, then you would be correct.</p>
<p>The first instructions to use PIX in XNA were laid out by the now familiar XNA sorcerer Manders, in his scroll about a <a href="http://blogs.msdn.com/manders/archive/2006/12/15/a-painless-introduction-to-pix-for-windows.aspx">"painless" introduction to PIX</a>, way back in the first year of XNA. Then, two moon later, the grand master wizard Shawn incited our collective minds, by <a href="http://blogs.msdn.com/shawnhar/archive/2007/01/31/debugging-xna-graphics-problems.aspx">decreeing </a>that PIX is "it is just like totally awesome, dude, and you should definitely try it", but not going into more details about it.</p>
<p>No matter... no matter... This only proved to be a slight delay, because a dozen moons later, Brian son of Richard of the GarageGames clan wrote a detailed and clear chronicle about <a href="http://www.garagegames.com/community/blogs/view/14251">how he used PIX to get some insects out of some pixels</a> (I don't know why they use words like <em>debug</em>, when this sounds so much better).</p>
<p>In another one of his <em>Scrolls of XNA Recommendations</em>, bittermanandy<a href="http://bittermanandy.wordpress.com/2008/09/01/tools-of-the-trade-part-four-pix/"> talked about PIX and why you should use it</a>.</p>
<p>Next, in the spring of this year the great clan and spell-weavers at Microsoft sent one of their own to the<em> Gaamus Developerus Conferentius</em>, to spread word to the whole world about the ritual I cover in this pages. <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=54d5a550-f893-47cd-9ca1-21dd394600f2&amp;displaylang=en">All that he said was recorder for eternity, together with his drawings</a>.</p>
<p>Lastly, XNA wizard MJP of the <em>Mostus Valuabilus Profesionalus</em> kind wrote a<a href="http://mynameismjp.wordpress.com/samples-tutorials-tools/pix-with-xna-tutorial/"> long long long parchment</a> where in <a href="http://go2.wordpress.com/?id=725X1342&amp;site=mynameismjp.wordpress.com&amp;url=http%3A%2F%2Fmembers.gamedev.net%2FMJP%2FPIXWithXNA.zip">great detail</a>, the invocation and usage of PIX was described.</p>
<p>And in the end, I dicovered a <a href="http://msdn.microsoft.com/en-us/library/ee417184%28VS.85%29.aspx">cache of scrolls</a> in the MSDN library with a great number of tutorials about PIX.</p>
<p>My eyes are getting weary now, but I will not leave before I tell you what we will look at nex... <em>(zzzzzz, snore, zzzzz..)....</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sgtconker.com/2009/12/scrolls-from-the-past-pix/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Scrolls from the Past: Crash Course in HLSL</title>
		<link>http://www.sgtconker.com/2009/11/scrolls-from-the-past-crash-course-in-hlsl/</link>
		<comments>http://www.sgtconker.com/2009/11/scrolls-from-the-past-crash-course-in-hlsl/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 21:50:46 +0000</pubDate>
		<dc:creator>Captain ZSquare</dc:creator>
				<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Scrolls from the past]]></category>
		<category><![CDATA[Shaders]]></category>
		<category><![CDATA[XNA]]></category>
		<category><![CDATA[Shader]]></category>

		<guid isPermaLink="false">http://www.sgtconker.com/?p=526</guid>
		<description><![CDATA[Greetings again, good sirs and ladies.
This week, we will have a different kind of scoll to look at. Instead of looking into the archives for scrolls written by other people in times past, I will show you something that I accidentally found in my own archives today.
This was written many moons ago, as a sample [...]]]></description>
			<content:encoded><![CDATA[<p>Greetings again, good sirs and ladies.<br />
This week, we will have a different kind of scoll to look at. Instead of looking into the archives for scrolls written by other people in times past, I will show you something that I accidentally found in my own archives today.<br />
This was written many moons ago, as a sample for a book that was to be written for a great library together with some other wizards of XNA land. Even though the library keepers liked my writing, their plans for that book changed, and it never got written.<br />
Alas, I decided to not let those scrolls be forgotten, so I blew the dust off of them, made some corrections, and decided to bring them to your attention. In them, I talked about a detailed introduction into the magic of HLSL, and the basic elements needed to understand and use this wonderful kind of magic. You can find it <a href="http://www.sgtconker.com/2009/11/crash-course-in-hlsl/">here</a>.</p>
<p>Have a nice reading, and I wholeheartedly hope it helps at least some of my usual readers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sgtconker.com/2009/11/scrolls-from-the-past-crash-course-in-hlsl/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Scrolls from the Past: Safe Areas</title>
		<link>http://www.sgtconker.com/2009/11/scrolls-from-the-past-safe-area/</link>
		<comments>http://www.sgtconker.com/2009/11/scrolls-from-the-past-safe-area/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 15:28:41 +0000</pubDate>
		<dc:creator>Captain ZSquare</dc:creator>
				<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Scrolls from the past]]></category>
		<category><![CDATA[XNA]]></category>
		<category><![CDATA[Safe Area]]></category>

		<guid isPermaLink="false">http://www.sgtconker.com/?p=484</guid>
		<description><![CDATA[This fine day, we will look back at a subject that, while simple, spawned many heated discussions between XNA apprentices: Safe Areas.
It all began years ago, when XNA was still freshly and incompletely summoned into this world. People realized that now that they could let their creations loose in the alternate reality plane of the [...]]]></description>
			<content:encoded><![CDATA[<p>This fine day, we will look back at a subject that, while simple, spawned many heated discussions between XNA apprentices: Safe Areas.</p>
<p>It all began years ago, when XNA was still freshly and incompletely summoned into this world. People realized that now that they could let their creations loose in the alternate reality plane of the Xbox. But there was a problem. While normal creations in the PC-land could be watched through a perfectly clear portal, looking into Xbox-land was often done through rounded looking-glasses, that made distortions at the edges. Because of this, apprentices had to take care to keep the most interesting and attractive parts of their masterpieces in the <a href="http://en.wikipedia.org/wiki/Safe_area">center of the looking-glass</a>.</p>
<p><a href="http://blogs.msdn.com/manders/default.aspx">Manders</a>, one of the high-wizards of DirectX-guild, was playing around with XNA, and he decided to help others out, by <a href="http://blogs.msdn.com/manders/archive/2006/11/28/helper-class-to-show-video-safe-areas.aspx">making a catalyst potion</a> (helper class) that apprentices could use to see how much the edges of rounded looking glasses could affect them.</p>
<p>As I am writing these lines, I realized in almost fell in the same trap as others have before me... The distortion at the edges of round looking-glasses also happens in newly crafted modern flat looking-glasses made from LCD or plasma materials. Keep that in mind always.</p>
<p>After a long time has passed, the arch-mages decided that the Third Incarnation of XNA should offer something to help with all the calculations that needed to be done for proper mirror-edge-distortion support. This was done by adding the minor enhancemet TitleSafeArea to the <a href="http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.graphics.viewport.titlesafearea.aspx">Viewport</a> and <a href="http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.graphics.displaymode.titlesafearea.aspx">DisplayMode </a>spell components. And to make sure everyone understand how to use this, they filled the land with a <a href="http://creators.xna.com/en-US/sample/safearea">free sample recipe</a>.</p>
<p>Other apprentices did not give up the struggle against edge distortions, and proposed alternate means of avoiding distortions, <a href="http://forums.xna.com/forums/p/21624/114778.aspx">through the Options and Zooming spells</a>. A great debate followed, obviously, with no side giving up on their opinions. The subject reappears again later, and you can see the opinions of several chroniclers<a href="http://forums.xna.com/forums/p/17676/92586.aspx"> here</a>. Also, if at any one time you think that the restrictions imposed by edge-distortion is <a href="http://forums.xna.com/forums/t/23818.aspx">too high</a>, think again, because not all mirrors are created equally.</p>
<p>In the end, I will let you study the writing of one of our favorite chronicler of XNA-history. <a href="http://blogs.msdn.com/shawnhar/archive/2009/01/27/overscan-title-safe-areas-and-test-cost.aspx">Here</a>, he talks about edge-distortions, and other problems that are closely intertwined with it. He then goes to recommend you to stick <a href="http://blogs.msdn.com/shawnhar/archive/2009/02/04/motogp-the-power-of-blu-tack.aspx">blue foreign substances</a> on you mirrors, to help out.... strange....</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sgtconker.com/2009/11/scrolls-from-the-past-safe-area/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Scrolls from the past: Profiling</title>
		<link>http://www.sgtconker.com/2009/11/scrolls-from-the-past-profiling/</link>
		<comments>http://www.sgtconker.com/2009/11/scrolls-from-the-past-profiling/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 09:00:28 +0000</pubDate>
		<dc:creator>Captain ZSquare</dc:creator>
				<category><![CDATA[Scrolls from the past]]></category>
		<category><![CDATA[XNA]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Garbage]]></category>
		<category><![CDATA[Profiling]]></category>

		<guid isPermaLink="false">http://www.sgtconker.com/?p=421</guid>
		<description><![CDATA[Because sometimes old things never gets old, and valuable knowledge gets lost with the passing of time, it is best to bring it back to attention, so that young generations can benefit from those that came before them. This week, we'll unearth a couple of scrolls talking about profiling your XNA games.
Let's start with the [...]]]></description>
			<content:encoded><![CDATA[<p>Because sometimes old things never gets old, and valuable knowledge gets lost with the passing of time, it is best to bring it back to attention, so that young generations can benefit from those that came before them. This week, we'll unearth a couple of scrolls talking about <em>profiling your XNA games</em>.</p>
<p>Let's start with the spring of 2007 (Year 1 of the Age of XNA). As brave programmers started using XNA, they started to worry about the effects that this new form of magic would have on their surroundings, which had to be kept free of residual energies (a.k.a. <em>garbage</em>). People were most worried about the <em>foreach </em>spell, rumored to generate such energies. Thus, the mighty wizard Eli looked into the problem, and wrote two scrolls on how the <em>foreach </em>spell is better used, but most importantly, he left us notes on how to investigate such problems ourselves, through a ritual called <em>memory profiling</em>, using the <em>CLR Profiler</em>, and the <em>XNA Framework Remote Performance Monitor for Xbox 360.</em> These two scrolls can be found and read in Eli's book <a href="http://blogs.msdn.com/etayrien/archive/2007/03/17/foreach-garbage-and-the-clr-profiler.aspx">here </a>and <a href="http://blogs.msdn.com/etayrien/archive/2007/04/19/foreach-and-garbage-part-2.aspx">here</a>.</p>
<p>At the same time, another XNA apprentice wrote about a related ritual called <em>CPU profiling</em>, through which other XNA apprentices could learn why their creations were slow, and lazy, by using a tool called <em>NProf</em>. Those that want to can still read <span><span>Thomas Aylesworth's writings <a href="http://swampthingtom.blogspot.com/2007/04/software-efficiency-and-optimization.html">here</a>.</span></span></p>
<p><span><span>Over a year later,</span></span> bittermanandy was writing a chronicle about what recipes and rituals he found most useful in his delvings into XNA, and in one of these chronicles, he touched on the subject of the <em>CLR Profiler</em> <a href="http://bittermanandy.wordpress.com/2008/08/20/tools-of-the-trade-part-three-clrprofiler/">again</a>. That same year, jwatte gave away a <a href="http://www.enchantedage.com/xna-profiler">free potion</a> that could be used for performing the profiling ritual in the kingdom of the Xbox 360, which was not possible using NProf. MJP made a comparison between <em>events</em> and <em>virtual functions</em>, using the <em>Stopwatch</em> spell, and left his writing for all to read in <a href="http://mynameismjp.wordpress.com/2009/01/23/profiling-events/">one of his scrolls</a>.</p>
<p>More recently, in Year 3 of the Age of XNA, the Grand Master Wizard Shawn, reminded all of us how important is that <a href="http://blogs.msdn.com/shawnhar/archive/2009/07/06/why-measure-when-you-can-guess.aspx">we use the profiling rituals</a> as often as possible, and gave us an example of using the blunt yet powerful spell <a href="http://blogs.msdn.com/shawnhar/archive/2009/07/07/profiling-with-stopwatch.aspx">Stopwatch</a>.</p>
<p>We hope you liked our return to past scrolls of wisdom, and found something of help in them. Please let us know what you think, and leave a note in the notebook below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sgtconker.com/2009/11/scrolls-from-the-past-profiling/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
