<?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>FUNCTION</title>
	<atom:link href="http://www.functionblog.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.functionblog.com</link>
	<description>blog about AS3, PHP &#039;n tech</description>
	<lastBuildDate>Mon, 19 Sep 2011 20:29:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Little progress update!</title>
		<link>http://www.functionblog.com/?p=161</link>
		<comments>http://www.functionblog.com/?p=161#comments</comments>
		<pubDate>Mon, 01 Feb 2010 17:35:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[2D]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Physics]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.functionblog.com/?p=161</guid>
		<description><![CDATA[Between times full of study and work I found some time again to work on a few projects. But first I want to apologize to the people who commented on articles here in the period of about May &#8211; December 2009, due to the crapload of spam I recieved in the comments I wasn&#8217;t able [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" title="Verlet Physics Engine" src="http://www.functionblog.com/flash/verlet/verlet.jpg" alt="" width="266" height="109" />Between times full of study and work I found some time again to work on a few projects. But first I want to apologize to the people who commented on articles here in the period of about May &#8211; December 2009, due to the crapload of spam I recieved in the comments I wasn&#8217;t able to filter out spam from my readers. And have thus removed all the pending comments from that period. Now back to where I started, the projects I&#8217;m working on at the moment&#8230; Recently I made a mock up for a collaberative <strong>multi user chat/drawing application</strong> meant for sharing ideas, sketches, links and possibly files. Unfortunately I can&#8217;t share this with you now for technical and financial reasons. What I can share with you is the progress I made when I recently returned to my particle and constraint engine! Having learned a few more fundamental mathematical skills I found it worth looking at Thomas Jakobsen&#8217;s article<a title="Advanced Character Physics" href="http://www.teknikus.dk/tj/gdc2001.htm" target="_blank"> &#8216;Advanced Character Physics&#8217;</a> again. And a few day&#8217;s later we have the beginnings of a very scalable and probably efficient <strong>physics engine</strong> (see it in action after the read more link). In the coming weeks I will refine the engine, <strong>rewrite ponstructor</strong>, release ponstructor and possibly the physics engine as well!</p>
<p>There were a few people impressed and interested in the 3D engine, currently it is not high on my to do-list since there are many better and more efficient offerings out there like Papervision 3D, Away 3D and Sandy. But as soon as I release Ponstructor and the physics engine I might find time to revisit the 3D engine since there is room for a lot of improvement and rewriting.</p>
<p><span id="more-161"></span></p>
<p><object id="test" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="550" height="400" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="align" value="middle" /><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><param name="src" value="flash/verlet/test.swf" /><param name="allowfullscreen" value="false" /><embed id="test" type="application/x-shockwave-flash" width="550" height="400" src="flash/verlet/test.swf" bgcolor="#ffffff" quality="high" allowfullscreen="false" allowscriptaccess="sameDomain" align="middle"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.functionblog.com/?feed=rss2&amp;p=161</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Sketchup beta</title>
		<link>http://www.functionblog.com/?p=159</link>
		<comments>http://www.functionblog.com/?p=159#comments</comments>
		<pubDate>Tue, 15 Dec 2009 17:11:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.functionblog.com/?p=159</guid>
		<description><![CDATA[Wow, it&#8217;s been quite some time.. Just started studying again which was the primary focus for the past few months. Monday this idea and need came up to have some sort of basic and simple online paint, so quickly made a little prototype and expanded on it and voila a result, try it out tell [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" title="Sketchup" src="http://www.functionblog.com/sketch/sketchuplogo.jpg" alt="" width="100" height="100" />Wow, it&#8217;s been quite some time.. Just started studying again which was the primary focus for the past few months. Monday this idea and need came up to have some sort of basic and simple online paint, so quickly made a little prototype and expanded on it and voila a result, <a href="http://www.functionblog.com/sketch/" target="_blank">try it out</a> tell me what you think in the comments.</p>
<p>P.S. I liked to see some of my code being used in some really cool projects; check out: <a href="http://www.myxmastweet.com/" target="_blank">MyXmasTweet</a> and <a href="http://www.peternitsch.net/blog/?p=84" target="_blank">FlashTerm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.functionblog.com/?feed=rss2&amp;p=159</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ponstructor beta release!</title>
		<link>http://www.functionblog.com/?p=151</link>
		<comments>http://www.functionblog.com/?p=151#comments</comments>
		<pubDate>Sun, 11 Jan 2009 19:11:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[2D]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Physics]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Game]]></category>
		<category><![CDATA[LOL]]></category>
		<category><![CDATA[Released]]></category>

		<guid isPermaLink="false">http://www.functionblog.com/?p=151</guid>
		<description><![CDATA[Since the last post I&#8217;ve been quietly working on a real good version of the bridge builder game for flash.  Take a look at the result after the &#8216;Continue Reading&#8217; link and tell me what you think, (or if you spotted a bug) in the comments.


]]></description>
			<content:encoded><![CDATA[<p>Since the last post I&#8217;ve been quietly working on a real good version of the bridge builder game for flash.  Take a look at the result after the &#8216;Continue Reading&#8217; link and tell me what you think, (or if you spotted a bug) in the comments.</p>
<p><span id="more-151"></span></p>
<p><embed src="http://games.mochiads.com/c/g/ponstructor/ponstructor.swf" width="550" height="500"></p>
]]></content:encoded>
			<wfw:commentRss>http://www.functionblog.com/?feed=rss2&amp;p=151</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Bridge Builder Game! (Concept)</title>
		<link>http://www.functionblog.com/?p=142</link>
		<comments>http://www.functionblog.com/?p=142#comments</comments>
		<pubDate>Sun, 28 Dec 2008 15:39:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[2D]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Physics]]></category>
		<category><![CDATA[Proof of concepts]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Game]]></category>
		<category><![CDATA[Proof of concept]]></category>
		<category><![CDATA[Rigid Body]]></category>

		<guid isPermaLink="false">http://www.gamitude.nl/?p=142</guid>
		<description><![CDATA[
Some of you might remember a game called pontifex or bridge builder if you don&#8217;t; it&#8217;s a game in which you construct a bridge with beams and than let a train or car drive over it to see whether it holds. It is really fun and quite educational at the same time (equals morally appropriate [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;">
<div id="attachment_144" class="wp-caption aligncenter" style="width: 453px"><img class="size-full wp-image-144" title="bridge" src="http://www.gamitude.nl/wp-content/uploads/2008/12/bridge.jpg" alt="Constraint based bridge simulator" width="443" height="71" /><p class="wp-caption-text">Constraint based bridge simulator</p></div>
<p>Some of you might remember a game called pontifex or bridge builder if you don&#8217;t; it&#8217;s a game in which you construct a bridge with beams and than let a train or car drive over it to see whether it holds. It is really fun and quite educational at the same time (equals morally appropriate right?). After some more research into rigid body constraints I found out that pontifex probably used the same stuff like I used in the <a href="http://www.gamitude.nl/?p=134" target="_blank">2D constraint based rope</a>. So with some minor modifications it was easy to create a bridge simulator and with a littlebit more code even a bridge builder. It is still far from a game suitable for release and profit but it is definatly a playable minigame. Take a look at the working example by clicking the  &#8216;Continue Reading&#8217; link.</p>
<p><span id="more-142"></span></p>
<p>You can build beams by first selecting a particle and than clicking somewhere else (within the &#8216;build length&#8217;) to place a particle to connect it with. To connect two particles with each other select one, and than hover over the other to make it blue and click. To simulate the whether the bridge will hold you need to click the &#8216;Simulate&#8217; button. Press &#8216;Stop&#8217; to stop the simulation and return to the old state. In the simulation you can remove beams by clicking on them.</p>
<p style="text-align: center;"><object width="550" height="300" data="flash/bridgeBuilder/builder.swf" type="application/x-shockwave-flash"><param name="id" value="test" /><param name="align" value="middle" /><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><param name="src" value="flash/bridgeBuilder/builder.swf" /><param name="allowfullscreen" value="false" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.functionblog.com/?feed=rss2&amp;p=142</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>2D Constraint based rope</title>
		<link>http://www.functionblog.com/?p=134</link>
		<comments>http://www.functionblog.com/?p=134#comments</comments>
		<pubDate>Fri, 26 Dec 2008 16:24:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[2D]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Physics]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Rigid Body]]></category>

		<guid isPermaLink="false">http://www.gamitude.nl/?p=134</guid>
		<description><![CDATA[So I was looking into some cool stuff to do with my 3D engine when I came across this. I&#8217;ve always been a fan of physics simulation based realism so I began to work this out in 2D. The first demo was using elastic constraints between particles but that made a very instable system. It [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_133" class="wp-caption alignright" style="width: 135px"><img class="size-full wp-image-133" title="Constraint based rope" src="http://www.gamitude.nl/wp-content/uploads/2008/12/constraintrope.jpg" alt="Constraint based rope simulation" width="125" height="130" /><p class="wp-caption-text">Constraint based rope simulation</p></div>
<p>So I was looking into some cool stuff to do with my 3D engine when I came across <a href="http://seraf.mediabox.fr/wow-engine/wow-engine-technical-advanced-demo-cloth-demo-01/">this</a>. I&#8217;ve always been a fan of physics simulation based realism so I began to work this out in 2D. The first demo was using elastic constraints between particles but that made a very instable system. It can be improved with better integrators like RK4 but that still didn&#8217;t result in the desired result. I might have other plans for these elastic constraints later though. You can read more about elastic constraints <a title="Gaffer's Spring Physics" href="http://gafferongames.wordpress.com/game-physics/spring-physics/" target="_blank">here [Gaffer's tutorial on spring physics]</a> and <a title="Gamasutra's 'Exploring Spring models' tutorial" href="http://www.gamasutra.com/features/20011005/oliveira_01.htm" target="_blank">here [Gamasutra's "Exploring spring models"]</a>. So I went on with inelastic infinitely &#8217;stiff&#8217; constraints which were mentioned in <a title="Advanced Character Physics by Thomas Jakobsen" href="http://www.teknikus.dk/tj/gdc2001.htm" target="_blank">this ["Advanced Character Physics" by Thomas Jakobsen]</a> great resource on computer physics simulation. The result worked out pretty well and will be easy to port to 3D. Which will happen when I&#8217;m done with a little (very interesting) side project using the same code. More about that later&#8230; Check out the working demo after the &#8216;Continue Reading&#8217; link.  <span id="more-134"></span></p>
<p>Below is the working simulation, use your mouse to move the rope. The simulation uses quite a lightweight rope with little friction. Combinations of elastic and inelastic constraints can be used to simulate a lot of different interesting stuff like pudding, crashing cars, stresses on buildings and cloth. Expect more examples soon.</p>
<p style="text-align: center;"><object id="test" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="550" height="400" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="align" value="middle" /><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><param name="src" value="flash/rope/stick.swf" /><param name="allowfullscreen" value="false" /><embed id="test" type="application/x-shockwave-flash" width="550" height="400" src="flash/rope/stick.swf" bgcolor="#ffffff" quality="high" allowfullscreen="false" allowscriptaccess="sameDomain" align="middle"></embed></object></p>
<p><a title="Constraint based rope source code" href="http://www.functionblog.com/wp-content/uploads/2009/07/Constraint.zip" target="_blank">Download source code</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.functionblog.com/?feed=rss2&amp;p=134</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Perlin noise waves in AS3</title>
		<link>http://www.functionblog.com/?p=102</link>
		<comments>http://www.functionblog.com/?p=102#comments</comments>
		<pubDate>Fri, 05 Dec 2008 14:56:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.gamitude.nl/?p=102</guid>
		<description><![CDATA[Waves have always been really hard to code. But one day a smart guy called Ken Perlin figured out a kind of noise called &#8216;Perlin&#8217; noise that could be mapped in a picture with smooth transitions. These pictures can easily serve as heightmaps. Using the brightness of a certain place on the image to determine [...]]]></description>
			<content:encoded><![CDATA[<p>Waves have always been really hard to code. But one day a smart guy called Ken Perlin figured out a kind of noise called &#8216;Perlin&#8217; noise that could be mapped in a picture with smooth transitions. These pictures can easily serve as heightmaps. Using the brightness of a certain place on the image to determine the height of the surface on top of it. Check out the example behind the read more link:</p>
<div class="wp-caption aligncenter" style="width: 557px"><img title="Waves from a Perlin Noise Wavemap" src="http://www.gamitude.nl/flash/perlinwave/waves.jpg" alt="Waves from a Perlin Noise wavemap" width="547" height="398" /><p class="wp-caption-text">Waves from a Perlin Noise wavemap</p></div>
<p><span id="more-102"></span>The inspiration came from <a title="Flash 3D's article on Perlin Noise" href="http://www.onlinekarma.net/flash3d/index.php?option=com_content&amp;task=view&amp;id=16&amp;Itemid=1" target="_blank">Flash 3D</a>&#8217;s article on perlin noise and it took me quite some time to figure out that flash had a proprietary perlin noise method (<a title="Documentation on the BitmapData.perlinNoise() method" href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html#perlinNoise()" target="_blank">BitmapData.perlinNoise()</a>). Below is the example, it includes a floating box which is hacked to be drawn on top of everything because the carving is not working yet. But the effect is very convincing.</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="550" height="400" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="id" value="test" /><param name="align" value="middle" /><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="src" value="flash/perlinwave/test.swf" /><embed id="test" type="application/x-shockwave-flash" width="550" height="400" src="flash/perlinwave/test.swf" bgcolor="#000000" quality="high" allowfullscreen="false" allowscriptaccess="sameDomain" align="middle"></embed></object></p>
<p style="text-align: left;">The engine is coming closer and closer to it&#8217;s first release, more practical examples will follow soon. And for more information on perlin noise you can look <a title="Perlin Noise" href="http://freespace.virgin.net/hugo.elias/models/m_perlin.htm" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.functionblog.com/?feed=rss2&amp;p=102</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>10 Things to do before you die&#8230;</title>
		<link>http://www.functionblog.com/?p=104</link>
		<comments>http://www.functionblog.com/?p=104#comments</comments>
		<pubDate>Fri, 05 Dec 2008 09:20:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[LOL]]></category>

		<guid isPermaLink="false">http://www.gamitude.nl/?p=104</guid>
		<description><![CDATA[Last week I watched this very interesting lecture from Randy Pausch about achieving your childhood dreams and those of others. After watching the lecture (which you should if you haven&#8217;t done so yet) I thought to myself what would I love to have done in my life&#8230; So I made myself a list:

Fly a MiG-25 [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I watched <a title="Randy Pausch's last lecture" href="http://www.youtube.com/watch?v=ji5_MqicxSo" target="_blank">this</a> very interesting lecture from <a title="Randy Pausch" href="http://en.wikipedia.org/wiki/Randy_Pausch" target="_blank">Randy Pausch</a> about achieving your childhood dreams and those of others. After watching the lecture (which you should if you haven&#8217;t done so yet) I thought to myself what would I love to have done in my life&#8230; So I made myself a list:</p>
<ol>
<li><strong>Fly a MiG-25 to space<br />
</strong>What would be better than being in space or flying a jet? Doing both at the same time! There are multiple companies willing to bring you that delight with the Mikoyan-Gurevich 25, which packs 100.1 kN to thrust you right to the edge of space (~25.000 m up). All you have to do now is fork over $31,995. <a title="Space Adventures flight to the edge of space" href="http://sa.qa.elro.com/steps/edge" target="_blank">[link]</a></li>
<li><strong>(Accidentally) Drive a Caterpillar 797B over a car<br />
</strong>The Caterpillar 797B is the biggest truck in the world. Hauling around 623,700 kg with 3550 horsepower <span style="text-decoration: underline;"><em>is</em></span> fun. And since a rally with these trucks will unlikely ever happen I&#8217;ll settle with driving over a car (accidentally). Check out the video <a title="Landcruiser pancake!" href="http://www.youtube.com/watch?v=zB_pCmKJr_Y" target="_blank">here</a>.</li>
<li><strong>Be 007<br />
</strong>Everybody dreams of being 007! Driving your top of the line Aston Martin to the most luxurious and beautiful locations while saving the world from another villain with lots of tricked out gadgetry.</li>
<li><strong>Be a Mythbuster for a day<br />
</strong>The mythbusters have the best job in the whole world. Finding out all the cool stuf in the name of science. But since they are not to eager to hire anymore people on their team which I completely understand&#8230; it ought to be <a title="Mythbusters - Fun with gas" href="http://www.youtube.com/watch?v=d-XbjFn3aqE" target="_blank">fun</a> for just one day. (Please? <img src='http://www.functionblog.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> )</li>
<li><strong>Set foot on Mars<br />
</strong>Don&#8217;t we miss those days of explorers pioneering new land? What about being the first person to set foot on Mars!</li>
<li><strong>Laugh to death<br />
</strong>Obviously this should be the very last thing to do on our list&#8230; But is there anyone who could think of a better way to die?</li>
<li><strong>Do a monster truck rally/destruction derby with some friends<br />
</strong><a title="Monster Truck Compilation" href="http://www.youtube.com/watch?v=RNw7CL23h08" target="_blank">Pretty self explanatory&#8230;</a></li>
<li><strong>Drag a top fuel dragster<br />
</strong>I bet most of your friends won&#8217;t <a title="Top Fuel Dragster" href="http://www.youtube.com/watch?v=qTLyYFcv4AQ" target="_blank">top</a> the experience of a nitromethane powered 8000 horsepower rocket that will blast you to 450 km/h in just 200 meters.</li>
<li><strong>Have some fun with a mini gun<br />
</strong>Again this video probably says enough: <a title="Have some fun with a mini gun" href="http://www.youtube.com/watch?v=w4n--xOOoWE" target="_blank">[link]</a></li>
<li>Think of your own! Tell us in the comments&#8230;</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.functionblog.com/?feed=rss2&amp;p=104</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>3D Graphing in flash</title>
		<link>http://www.functionblog.com/?p=95</link>
		<comments>http://www.functionblog.com/?p=95#comments</comments>
		<pubDate>Sun, 02 Nov 2008 17:06:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Proof of concepts]]></category>
		<category><![CDATA[3D engine]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.gamitude.nl/?p=95</guid>
		<description><![CDATA[Made a few quick mock ups for simple graphing programs using my 3D engine in Flash. Currently there is still a lot of room for improvement in speed, light angles and (invisible) shadows are being calculated which is unnecessary. Check out the applications in realtime at the read link;

The first graph is a one variable [...]]]></description>
			<content:encoded><![CDATA[<p>Made a few quick mock ups for simple graphing programs using my 3D engine in Flash. Currently there is still a lot of room for improvement in speed, light angles and (invisible) shadows are being calculated which is unnecessary. Check out the applications in realtime at the read link;</p>
<div class="wp-caption aligncenter" style="width: 510px"><img title="One dimensional graph in 3D" src="http://www.gamitude.nl/flash/graphing/1dgraph.jpg" alt="One dimensional graph in 3D" width="500" height="350" /><p class="wp-caption-text">One variable graph in 3D</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><img title="Two dimensional graph in 3D" src="http://www.gamitude.nl/flash/graphing/2dgraph.jpg" alt="Two dimensional graph in 3D" width="500" height="350" /><p class="wp-caption-text">Two variable graph in 3D</p></div>
<p><span id="more-95"></span></p>
<p>The first graph is a one variable parameterized function, displaying the following formula;</p>
<p><img src="http://www.sitmo.com/gg/latex/latex2png.2.php?z=100&amp;eq=x%20%3D%20t" alt="x parameter" align="left" /><br />
<img src="http://www.sitmo.com/gg/latex/latex2png.2.php?z=100&amp;eq=y%20%3D%20%5Csin(t%5Cfrac%7B%5Cpi%7D%7B45%7D)" alt="y parameter" align="center" /> <img src="http://www.sitmo.com/gg/latex/latex2png.2.php?z=100&amp;eq=z%20%3D%20%5Ccos(t%5Cfrac%7B%5Cpi%7D%7B45%7D)" alt="z parameter" align="right" /></p>
<p>The second graph is a two variable surface graph of a modified sinc function. Two realtime examples below, move your mouse over them to rotate around the graph.</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="550" height="400" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="id" value="test" /><param name="align" value="middle" /><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="src" value="flash/graphing/1dgraph.swf" /><embed id="test" type="application/x-shockwave-flash" width="550" height="400" src="flash/graphing/1dgraph.swf" bgcolor="#000000" quality="high" allowfullscreen="false" allowscriptaccess="sameDomain" align="middle"></embed></object></p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="550" height="400" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="id" value="test" /><param name="align" value="middle" /><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="src" value="flash/graphing/2dgraph.swf" /><embed id="test" type="application/x-shockwave-flash" width="550" height="400" src="flash/graphing/2dgraph.swf" bgcolor="#000000" quality="high" allowfullscreen="false" allowscriptaccess="sameDomain" align="middle"></embed></object></p>
<p>Having multiple tabs open in your browser will significantly impact performance, so view in one tab before criticizing the frame rate! Once I get the dynamic text at points done there can be scales and titles for the axisses as well. And prepare for a few more very interesting demos soon&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.functionblog.com/?feed=rss2&amp;p=95</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>V0.65 &#8211; Shadows in 3D!</title>
		<link>http://www.functionblog.com/?p=90</link>
		<comments>http://www.functionblog.com/?p=90#comments</comments>
		<pubDate>Sat, 01 Nov 2008 11:17:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[3D engine]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.gamitude.nl/?p=90</guid>
		<description><![CDATA[Made a great lot of very usefull changes in this version. First and most basic being the addition of line and dot primitives in the rewritten frame loop. This allows for some really cool stuff you will see soon (3D graphs!). And the rewriting of the frame loop added a lot more possibilities for the [...]]]></description>
			<content:encoded><![CDATA[<p>Made a great lot of very usefull changes in this version. First and most basic being the addition of line and dot primitives in the rewritten frame loop. This allows for some really cool stuff you will see soon (3D graphs!). And the rewriting of the frame loop added a lot more possibilities for the future as well, with respect to light, shadows and glows. Checkout a realtime demo of the action after the read link.</p>
<div class="wp-caption aligncenter" style="width: 560px"><img title="Shadows in V0.65" src="http://www.gamitude.nl/flash/3DEngine/V065/shadow.jpg" alt="A demo of the AS3 3D Engine doing shadows, realtime demo after the read link." width="550" height="398" /><p class="wp-caption-text">A demo of the AS3 3D Engine doing shadows, realtime demo after the read link.</p></div>
<p><span id="more-90"></span></p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="550" height="400" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="id" value="test" /><param name="align" value="middle" /><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="src" value="flash/3DEngine/V065/test.swf" /><embed id="test" type="application/x-shockwave-flash" width="550" height="400" src="flash/3DEngine/V065/test.swf" bgcolor="#000000" quality="high" allowfullscreen="false" allowscriptaccess="sameDomain" align="middle"></embed></object></p>
<p>Bugfixes:</p>
<ul>
<li>Changed the frame loop to accept non-polygonal 3D objects (like lines and dots) in a better way.</li>
</ul>
<p>Known bugs:</p>
<ul>
<li>Not all rotation and translation functions for objects, rotate the vector normals and/or translate the object midpoints yet.</li>
<li>Sometimes undefined shadow faces are added to mShadowFaces, the error is now catched but still visible from time to time.</li>
<li>Some polygons are still incorrectly culled, have discovered the issue though.</li>
<li>Problem in the Z-buffering effecting relatively big differences in face sizes.</li>
<li>Cone shadows are incorrect.</li>
</ul>
<p>New features:</p>
<ul>
<li>Line primitive</li>
<li>Dot primitive (currently the size is not effected by distance)</li>
<li>Cull parameter for faces that should not be culled (planes for example)</li>
<li>Added object rotation, surface normals not yet rotating perfectly.</li>
<li>View frustum culling (very basic, still some work to be done)</li>
<li>Shadows</li>
</ul>
<p>Upcoming features:</p>
<ul>
<li>Textfields at 3D points</li>
<li>Performance increase</li>
<li>Object/face glow</li>
<li>Directional light and light with different colours</li>
<li>Roll camera movement</li>
<li>Texture perspective correction</li>
<li>Multiple cameras</li>
<li>Reflections!</li>
<li>2D primitives; planes, circles, etc.</li>
</ul>
<p>But before the next big changes I will probably upload a few nice examples of the 3D engine at work (games and graphing!). And if someone can help me understand the <a href="http://nyatla.jp/nyartoolkit/wiki/index.php?FLARToolKit" target="_blank">FLARtoolkit</a>, we might see some augmented reality with this 3D engine in flash as well! The source will be released when I feel the engine is stable enough to be released, check out earlier posts for credits to classes used with the 3D engine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.functionblog.com/?feed=rss2&amp;p=90</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Augmented Reality</title>
		<link>http://www.functionblog.com/?p=88</link>
		<comments>http://www.functionblog.com/?p=88#comments</comments>
		<pubDate>Sun, 12 Oct 2008 09:21:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Augmented Reality]]></category>

		<guid isPermaLink="false">http://www.gamitude.nl/?p=88</guid>
		<description><![CDATA[I always think this field has been overlooked way to long. Augmented reality is a technology in which virtual objects are inserted into reality, most commonly with video footage. This makes for very powerfull video games but for now there has been no game that made any significant impact with augmented reality. Let&#8217;s hope there [...]]]></description>
			<content:encoded><![CDATA[<p>I always think this field has been overlooked way to long. Augmented reality is a technology in which virtual objects are inserted into reality, most commonly with video footage. This makes for very powerfull video games but for now there has been no game that made any significant impact with augmented reality. Let&#8217;s hope there will be one day that Starcraft 4 or Rise of Nations 3 creates an entire battlemap of my desk. In the meanwhile check out this really cool video from Georg Klein and David Murray of the Active Vision Laboratory of the University of Oxford.</p>
<p style="text-align: center;"><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/Y9HMn6bd-v8&#038;hl=nl&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/Y9HMn6bd-v8&#038;hl=nl&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.functionblog.com/?feed=rss2&amp;p=88</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
