<?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>Blogging is for Chumps</title>
	<atom:link href="http://www.jonbradley.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jonbradley.com</link>
	<description></description>
	<lastBuildDate>Tue, 16 Aug 2011 00:48:35 +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>Spring/Mass Cameras, Skyboxes</title>
		<link>http://www.jonbradley.com/2011/08/15/springmass-cameras-skyboxes/</link>
		<comments>http://www.jonbradley.com/2011/08/15/springmass-cameras-skyboxes/#comments</comments>
		<pubDate>Tue, 16 Aug 2011 00:48:35 +0000</pubDate>
		<dc:creator>jdbrad</dc:creator>
				<category><![CDATA[Math is a Means]]></category>

		<guid isPermaLink="false">http://www.jonbradley.com/?p=21</guid>
		<description><![CDATA[The Spring/Mass Camera is an awesome example of math in action. If you rigidly fix the camera to the character, it feels like the world moves and he stands still (or gives the feeling like those helmet cams in the &#8230; <a href="http://www.jonbradley.com/2011/08/15/springmass-cameras-skyboxes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The Spring/Mass Camera is an awesome example of math in action.</p>
<p>If you rigidly fix the camera to the character, it feels like the world moves and he stands still (or gives the feeling like those helmet cams in the Worlds Fartiest Race).</p>
<p>A Spring/Mass Camera lets you get out a little before the camera starts following.  Take note of it next time you play a 3rd person game.</p>
<p>I like to implement it as two spring/masses one for <em>where</em> the camera is, and one for <em>what</em> the camera is looking at.</p>
<p>Check out the video:</p>
<p><a title="Spring Mass on Youtube" href="http://www.youtube.com/watch?v=7CswJKqefM4">http://www.youtube.com/watch?v=7CswJKqefM4</a></p>
<blockquote><p>Look at this awesometown math:<br />
<code><br />
float elapsed = (float)gameTime.ElapsedGameTime.TotalSeconds;</code></p>
<p>#region MATH_ALERT</p>
<p>//well, physic, whatever.</p>
<p>// Calculate spring force</p>
<p>Vector3 stretch = ActualPosition &#8211; DesiredPosition;</p>
<p>Vector3 force = -Stiffness * stretch &#8211; Damping * Velocity;</p>
<p>// Apply acceleration</p>
<p>Vector3 acceleration = force / Mass;</p>
<p>Velocity = Velocity + (acceleration * elapsed);</p>
<p>// Apply velocity</p>
<p>ActualPosition = ActualPosition + (Velocity * elapsed);</p>
<p>#endregion</p></blockquote>
<p>Also, I got skyboxes, turning characters and multiple characters going</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jonbradley.com/2011/08/15/springmass-cameras-skyboxes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Skinned Animation</title>
		<link>http://www.jonbradley.com/2011/08/12/skinned-animation/</link>
		<comments>http://www.jonbradley.com/2011/08/12/skinned-animation/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 12:15:06 +0000</pubDate>
		<dc:creator>jdbrad</dc:creator>
				<category><![CDATA[Math is a Means]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://www.jonbradley.com/?p=14</guid>
		<description><![CDATA[Woots.  I got the skinned model animation tutorial integrated.  It is very hard to find free useable models with baked in animations.   I&#8217;m about as far as possible from being able to make my own models/animations, so hopefully someone will &#8230; <a href="http://www.jonbradley.com/2011/08/12/skinned-animation/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Woots.  I got the skinned model animation tutorial integrated.  It is very hard to find <strong>free useable </strong>models with baked in animations.   I&#8217;m about as far as possible from being able to make my own models/animations, so hopefully someone will come along to help me with that.  I think if i get far enough with the rest of it, someone will.  It looks pretty chump to use the content from the demo.</p>
<p><a href="http://www.jonbradley.com/wp-content/uploads/2011/08/walking.wmv">Walk Hard</a>  &lt;&#8211; Check out the sweet video. I forgot that Fraps records the sound from iTunes, but it synched up so perfectly, I had to leave it in.</p>
<div id="attachment_16" class="wp-caption alignnone" style="width: 810px"><a href="http://www.jonbradley.com/wp-content/uploads/2011/08/TheMeans-2011-08-12-05-58-12-60.jpg"><img class="size-full wp-image-16" title="Walking" src="http://www.jonbradley.com/wp-content/uploads/2011/08/TheMeans-2011-08-12-05-58-12-60.jpg" alt="" width="800" height="480" /></a><p class="wp-caption-text">Now to find someone who wants to work for free &lt;G&gt;</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.jonbradley.com/2011/08/12/skinned-animation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.jonbradley.com/wp-content/uploads/2011/08/walking.wmv" length="780082" type="video/asf" />
		</item>
		<item>
		<title>Math is a Means</title>
		<link>http://www.jonbradley.com/2011/08/07/math-is-a-means/</link>
		<comments>http://www.jonbradley.com/2011/08/07/math-is-a-means/#comments</comments>
		<pubDate>Sun, 07 Aug 2011 23:16:54 +0000</pubDate>
		<dc:creator>jdbrad</dc:creator>
				<category><![CDATA[Math is a Means]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://jonbradleycom.ipower.com/wordpress/?p=7</guid>
		<description><![CDATA[I&#8217;ve started working on a project to use my love/ability for video games and my hatred/love/fear/admiration for math and my guilt-based feeling that I should make the world a better place. The fundamental thrust is this:  Calculators don&#8217;t make learning &#8230; <a href="http://www.jonbradley.com/2011/08/07/math-is-a-means/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve started working on a <em>project</em> to use my love/ability for video games and my hatred/love/fear/admiration for math and my guilt-based feeling that I should make the world a better place.</p>
<p>The fundamental thrust is this:  <strong>Calculators don&#8217;t make learning math a waste of time:  Tons of cool stuff is built on math. </strong> The parts of math that are fun and interesting are exactly the parts a calculator can&#8217;t help you with.  Math is taught as &#8220;<strong>STFU</strong> and do long division mechanics&#8221; as opposed to Math as a means to an end.  When you see math as the thing that enables you to make mp3s, or Shrek, or Halo, then math sounds pretty worthwhile.</p>
<p>So I&#8217;m writing a simple video game w/ pluggable math components (and corresponding teaching aids) to motivate children to learn math (obviously the motivation to learn math is a pre-req to actually learning the mechanics.).</p>
<p>A video game is basically all math.  From simple to crazy-hard.  Furthermore, it is stuffed to the gills with little modular math parts which can be removed, yielding a <strong>way less awesome game.  </strong>Now we can add the missing parts, using math, and make awesomeness.</p>
<p>I&#8217;ve got the framework, procedural terrain (hello math!) going.</p>
<div id="attachment_10" class="wp-caption alignnone" style="width: 310px"><a href="http://jonbradleycom.ipower.com/wordpress/wp-content/uploads/2011/08/TheMeans-2011-08-07-16-08-37-99.jpg"><img class="size-medium wp-image-10" title="Terrain Clamping" src="http://jonbradleycom.ipower.com/wordpress/wp-content/uploads/2011/08/TheMeans-2011-08-07-16-08-37-99-300x180.jpg" alt="Random model illustrates Terrain Clamping, thanks interpolation." width="300" height="180" /></a><p class="wp-caption-text">I could build a summer on the math required to get to this point</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jonbradley.com/2011/08/07/math-is-a-means/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

