<?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>Don&#039;t Panic / Jeroen Baert&#039;s Blog</title>
	<atom:link href="http://www.forceflow.be/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.forceflow.be</link>
	<description>It&#039;s too late for the government to train me as a secret weapon.</description>
	<lastBuildDate>Fri, 10 Feb 2012 17:55:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Volume Rendering : An Overview</title>
		<link>http://www.forceflow.be/2012/02/10/volume-rendering-an-overview/</link>
		<comments>http://www.forceflow.be/2012/02/10/volume-rendering-an-overview/#comments</comments>
		<pubDate>Fri, 10 Feb 2012 14:21:30 +0000</pubDate>
		<dc:creator>Jeroen</dc:creator>
				<category><![CDATA[en]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[phd]]></category>
		<category><![CDATA[direct volume rendering]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[kd-tree]]></category>
		<category><![CDATA[octree]]></category>
		<category><![CDATA[sparse voxel octrees]]></category>
		<category><![CDATA[texture mapping]]></category>

		<guid isPermaLink="false">http://www.forceflow.be/?p=2113</guid>
		<description><![CDATA[I made a presentation which outlines the different methods for Volume Rendering, going into detail about Sparse Voxel Octrees ray casting. It gives a good overview on how to tackle the problem of rendering huge datasets. Keywords: Direct volume rendering, &#8230; <a href="http://www.forceflow.be/2012/02/10/volume-rendering-an-overview/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I made a presentation which outlines the different methods for Volume Rendering, going into detail about Sparse Voxel Octrees ray casting. It gives a good overview on how to tackle the problem of rendering huge datasets.</p>
<p><strong>Keywords</strong>: <em>Direct volume rendering, texture mapping, splatting, ray marching, octree, kd-tree, memory management, GPU.</em></p>
<p><iframe src="https://docs.google.com/present/embed?id=dcfjnm52_558fj3qgbc9" frameborder="0" width="410" height="342"></iframe></p>
<p>There&#8217;s also a <a href="http://www.forceflow.be/wp-content/uploads/2012/02/vr_overview.pdf">PDF version</a> available.</p>
<p>I&#8217;m providing this material because I think this is useful for other people interested in the subject. You won&#8217;t find any PhD-critical info, of course <img src='http://www.forceflow.be/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
 <p><a href="http://www.forceflow.be/?flattrss_redirect&amp;id=2113&amp;md5=d8bb15b751b623a30784b60c350973ec" title="Flattr" target="_blank"><img src="http://www.forceflow.be/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.forceflow.be/2012/02/10/volume-rendering-an-overview/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<atom:link rel="payment" href="http://www.forceflow.be/?flattrss_redirect&amp;id=2113&amp;md5=d8bb15b751b623a30784b60c350973ec" type="text/html" />
	</item>
		<item>
		<title>Bye bye Coke &amp; Code</title>
		<link>http://www.forceflow.be/2012/01/31/bye-bye-coke-code/</link>
		<comments>http://www.forceflow.be/2012/01/31/bye-bye-coke-code/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 23:27:39 +0000</pubDate>
		<dc:creator>Jeroen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.forceflow.be/?p=2105</guid>
		<description><![CDATA[During the last years (and certainly when I was still studying) I drank a lot of coca-cola, especially when I was up late night writing code or text. Ahhh &#8230; the golden days. This week, I&#8217;m putting a stop to &#8230; <a href="http://www.forceflow.be/2012/01/31/bye-bye-coke-code/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>During the last years (and certainly when I was still studying) I drank a lot of coca-cola, especially when I was up late night writing code or text. <em>Ahhh &#8230; the golden days</em>.</p>
<p><a href="http://www.forceflow.be/wp-content/uploads/2012/01/stopcola.jpg"><img class=" wp-image-2106 alignnone" style="margin: 0px;" title="stopcola" src="http://www.forceflow.be/wp-content/uploads/2012/01/stopcola.jpg" alt="" width="161" height="161" /></a></p>
<p>This week, I&#8217;m putting a stop to this. No more coke, and once I&#8217;m completely detoxed, we&#8217;ll see what my weekly intake should be. That is, if I don&#8217;t fail. I&#8217;m quitting because I consumed too much sugar, and my PhD research is mostly done sitting at a desk. In comes the fat! Also, lowering my cafeine dependency to actually be awake in the morning could be helpful. Mind you; a lot of criticism and health effects you believe are true about coca-cola, <a href="http://en.wikipedia.org/wiki/Coca-Cola#Health_effects">are not</a>.</p>
 <p><a href="http://www.forceflow.be/?flattrss_redirect&amp;id=2105&amp;md5=9698a9b41f160369b60bed42d3a6050f" title="Flattr" target="_blank"><img src="http://www.forceflow.be/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.forceflow.be/2012/01/31/bye-bye-coke-code/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<atom:link rel="payment" href="http://www.forceflow.be/?flattrss_redirect&amp;id=2105&amp;md5=9698a9b41f160369b60bed42d3a6050f" type="text/html" />
	</item>
		<item>
		<title>Artifacts</title>
		<link>http://www.forceflow.be/2012/01/20/artifacts/</link>
		<comments>http://www.forceflow.be/2012/01/20/artifacts/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 01:21:33 +0000</pubDate>
		<dc:creator>Jeroen</dc:creator>
				<category><![CDATA[en]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[meme]]></category>
		<category><![CDATA[phd]]></category>
		<category><![CDATA[rendering]]></category>
		<category><![CDATA[siggraph]]></category>
		<category><![CDATA[y u no]]></category>

		<guid isPermaLink="false">http://www.forceflow.be/?p=2100</guid>
		<description><![CDATA[Whilst creating some slides on Volume Rendering, I finally found an opportunity to use this graphics-flavored version of a silly internet meme. Original found  in Two uses of Voxels in LittleBigPlanet 2&#8242;s Engine from SIGGRAPH 2011, Advances in Real-Time Rendering. PDF &#8230; <a href="http://www.forceflow.be/2012/01/20/artifacts/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Whilst creating some slides on Volume Rendering, I finally found an opportunity to use this graphics-flavored version of a <a href="http://knowyourmeme.com/memes/y-u-no-guy">silly internet meme</a>. Original found  in <em>Two uses of Voxels in LittleBigPlanet 2&#8242;s Engine</em> from SIGGRAPH 2011, Advances in Real-Time Rendering. <a href="http://advances.realtimerendering.com/s2011/index.html">PDF here</a>.</p>
<p><a href="http://www.forceflow.be/wp-content/uploads/2012/01/499057450.png"><img class="aligncenter size-full wp-image-2101" title="499057450" src="http://www.forceflow.be/wp-content/uploads/2012/01/499057450.png" alt="" width="600" height="351" /></a></p>
<p>I guess I did it for the <em>lulz</em>.</p>
 <p><a href="http://www.forceflow.be/?flattrss_redirect&amp;id=2100&amp;md5=08004d9d4c599f44814a861568d200cb" title="Flattr" target="_blank"><img src="http://www.forceflow.be/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.forceflow.be/2012/01/20/artifacts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="http://www.forceflow.be/?flattrss_redirect&amp;id=2100&amp;md5=08004d9d4c599f44814a861568d200cb" type="text/html" />
	</item>
		<item>
		<title>Oh, Internet.</title>
		<link>http://www.forceflow.be/2012/01/15/oh-internet/</link>
		<comments>http://www.forceflow.be/2012/01/15/oh-internet/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 18:50:31 +0000</pubDate>
		<dc:creator>Jeroen</dc:creator>
				<category><![CDATA[en]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[humor]]></category>
		<category><![CDATA[kangaroo]]></category>
		<category><![CDATA[picture]]></category>

		<guid isPermaLink="false">http://www.forceflow.be/?p=2095</guid>
		<description><![CDATA[You did it again.]]></description>
			<content:encoded><![CDATA[<p>You did it again.</p>
<p><a href="http://www.forceflow.be/wp-content/uploads/2012/01/kangoeroe.jpg"><img class="aligncenter size-medium wp-image-2096" title="kangoeroe" src="http://www.forceflow.be/wp-content/uploads/2012/01/kangoeroe-300x200.jpg" alt="" width="300" height="200" /></a></p>
 <p><a href="http://www.forceflow.be/?flattrss_redirect&amp;id=2095&amp;md5=1324044abfcd696581adc0ae18a25600" title="Flattr" target="_blank"><img src="http://www.forceflow.be/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.forceflow.be/2012/01/15/oh-internet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="http://www.forceflow.be/?flattrss_redirect&amp;id=2095&amp;md5=1324044abfcd696581adc0ae18a25600" type="text/html" />
	</item>
		<item>
		<title>Unlocking / Rooting the Motorola Atrix 4G</title>
		<link>http://www.forceflow.be/2012/01/15/unlocking-rooting-the-motorola-atrix-4g/</link>
		<comments>http://www.forceflow.be/2012/01/15/unlocking-rooting-the-motorola-atrix-4g/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 15:01:12 +0000</pubDate>
		<dc:creator>Jeroen</dc:creator>
				<category><![CDATA[en]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[4G]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[atrix]]></category>
		<category><![CDATA[clockworkmod]]></category>
		<category><![CDATA[cyanogenmod]]></category>
		<category><![CDATA[fastboot]]></category>
		<category><![CDATA[motorola]]></category>
		<category><![CDATA[rooting]]></category>
		<category><![CDATA[unlocking]]></category>

		<guid isPermaLink="false">http://www.forceflow.be/?p=2077</guid>
		<description><![CDATA[Yesterday my new phone arrived: a Motorola Atrix 4G, which should be a real upgrade from my trusty old HTC Wildfire. I bought it for €239 in an iBood sale. Pros where the big screen, dual core and 4G support. &#8230; <a href="http://www.forceflow.be/2012/01/15/unlocking-rooting-the-motorola-atrix-4g/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.forceflow.be/wp-content/uploads/2012/01/atrix_2_fastboot.jpg"><img class="alignleft size-medium wp-image-2084" title="atrix_2_fastboot" src="http://www.forceflow.be/wp-content/uploads/2012/01/atrix_2_fastboot-197x300.jpg" alt="" width="197" height="300" /></a>Yesterday my new phone arrived: a Motorola Atrix 4G, which should be a real upgrade from my trusty old HTC Wildfire. I bought it for €239 in an iBood sale. Pros where the big screen, dual core and 4G support. A possible contra was the doubt that any official Ice Cream Sandwich Android distribution would be released for the phone, but I wasn&#8217;t planning on sticking with the official updates anyway.</p>
<p>I&#8217;ll say it again: the unnecessary customizations vendors are pushing onto Android phones is what really irritates me. Motorola came up with a network called <em>MotoBlur. </em>Sigh.</p>
<p>Vendors, I don&#8217;t want to create an account on your private cloud and link my phone to your little part of the web <em>forever</em>. It&#8217;s a good thing that Google&#8217;s now <a href="http://www.theverge.com/2012/1/3/2680410/google-holo-theme-android-4-0-required">requiring the default Holo theme for vendor phones with ICS</a>.</p>
<p>Anyhow, here&#8217;s how it went. My phone came with Gingerbread 2.3.4, and a carrier firmware version 2.3.4-4.5.2A-74_OLE-25. Instructions behind the cut!</p>
<h1><span id="more-2077"></span><strong><span style="text-decoration: underline;">Unlocking: A first dissapointment</span></strong></h1>
<p><em>If you&#8217;re in a hurry, you can skip this section.</em></p>
<p>Mind you: I bought the international version of the phone, so it wasn&#8217;t locked to a specific network, but the bootloader itself was locked &#8211; I had to unlock it in order to be able to install ClockworkMod Recovery (or any other custom recovery). Anyhow, I thought this would be a breeze, since Motorola released an unlockable bootloader with the Gingerbread update, Unfortunately, the firmware version that came with my device (2.3.4-4.5.2A-74_OLE-25) did not support it, which I thought was weird. (<strong>edit: </strong>After some googling, it seems they had <a href="http://briefmobile.com/motorola-updates-atrix-4g-to-gingerbread-2-3-4">the unlock in place for 2.3.3, but disabled it again for 2.3.4</a>. FlipFloppers.)</p>
<p>When I connected to the phone via fastboot and did a <em>fastboot oem unlock</em>, I got this result:</p>
<pre dir="ltr">... INFOOEM unlock is not implemented
OKAY [  0.001s]</pre>
<p>If you get a similar result, you can be pretty sure your stock bootloader is not unlockable. I used this <a href="http://www.forceflow.be/wp-content/uploads/2012/01/fastboot.zip">fastboot</a> distribution, but any fastboot install (from the Android SDK, for example) will do.</p>
<p>When I tried to install an <strong>official update</strong> (I thought it would give me a new bootloader) by registering with Motoblur and using the update functionality in the original distribution, it would download the update, but after that, the phone just kept rebooting and the screen said:</p>
<pre dir="ltr">Boot failed 2
Starting RDS Protocol ...</pre>
<p>Pulling the battery and powering it back up would boot me into Android again, which would then immediately restart to apply the update again. Great job Motorola, even your official updates make my device bootloop. Luckily, I could fix this annoying behaviour by doing a fastboot wipe of cache and user data (essentially resetting the phone to factory state):</p>
<pre dir="ltr">fastboot -w</pre>
<h1><span style="text-decoration: underline;">Unlocking: This time, we do it right</span></h1>
<p>So yes, it was time to hit the XDA Developer forums, looking for a way to unlock the bootloader. Since most of the guides and auto-tools were for AT&amp;T phones, I had to find a way to do it for international phones.</p>
<p>It was time to get dirty with SBF&#8217;s, which are Single Binary Files. It&#8217;s Motorola&#8217;s proprietary way of flashing new firmware. You can seriously brick your phone if you don&#8217;t know what you&#8217;re doing with this &#8211; double check the instructions in the relevant XDA threads if you&#8217;re unsure about something. This is <strong><a href="http://forum.xda-developers.com/showthread.php?t=1154600">an excellent starting point</a></strong>, although mainly oriented on AT&amp;T users.</p>
<p>After a bit of research, I ended up following <a href="http://forum.xda-developers.com/showthread.php?t=1136261">this thread</a>, and did all the unlocking/rooting on a Windows XP SP3 32-bit installation. Any recent windows version should do, though.</p>
<p>Download the following:</p>
<ul>
<li><a href="http://www.motorola.com/Support/US-EN/Support-Homepage/Software_and_Drivers/USB-and-PC-Charging-Drivers">Motorola Android Drivers</a></li>
<li>RSDLite: Google for RSD Lite 5.5 or more (<a href="http://forum.xda-developers.com/showthread.php?t=1348587">here</a>, for example).</li>
<li>The IHOP/Bell SBF file from <a href="http://forum.xda-developers.com/showthread.php?t=1136261">this thread</a></li>
<li>A Fastboot package (for example, from <a href="http://gititbit.ch/FAST">here</a>, or from the android SDK)</li>
</ul>
<p>As some of you noticed, <a href="http://briefmobile.com/how-to-unlock-the-atrix-4g-bootloader">this guide</a> pretty much tells the same story and has all the downloads handy in place &#8211; your pick! <img src='http://www.forceflow.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Here we go. As always:<strong><span style="color: #ff0000;"> I&#8217;m not responsible for any damage, yada yada. </span></strong>We&#8217;re well beyond safe waters here, but as long as you follow the instructions carefully and don&#8217;t panic (NEVER pull a battery whilst flashing an SBF), it will be fine.</p>
<ul>
<li>Make sure your phone is plugged in / fully charged, and if you&#8217;re using a laptop, make sure it has got power too.</li>
<li>Power off the phone.</li>
<li>Power it back up again whilst holding the <strong>power</strong> and the <strong>volume up </strong>button.</li>
<li>The screen will display: <strong>Starting RDS protocol</strong></li>
<li>You can release the buttons now <img src='http://www.forceflow.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>Run RSD Lite on your computer</li>
<li>Click open and browse to the downloaded SBF file (which you have unzipped)</li>
<li>Plug in your phone using the USB cable. In RSDLite, it should show up as &#8220;Model: NS Flash Olympus&#8221;, and should say &#8220;Connected&#8221;.</li>
<ul>
<li>If it doesn&#8217;t, the Motorola Drivers were not correctly installed &#8211; reinstall them or reboot your pc.</li>
</ul>
<li>Hit start. <strong>Don&#8217;t touch the phone</strong>.This can take a while (about 2/3 minutes in my case)</li>
<li>The phone will reboot automatically.</li>
<li>Open the windows command (start-&gt;run-&gt;type &#8220;cmd&#8221;) prompt and navigate to the place where you unzipped the fastboot package. It&#8217;s probably easiest if you unzip it in <em>C:/fastboot</em>. You can navigate to that directory by using (where cd stands for &#8220;Change Directory&#8221;):</li>
<ul>
<li><em>cd C:/fastboot</em></li>
<li>If you don&#8217;t manage to get into the right directory, you can always use auto-completion (TAB) to make the cmd prompt help you to form the correct command.</li>
</ul>
<li>Power off the phone</li>
<li>Connect it to the computer</li>
<li>Power it back up again whilst holding the <strong>power</strong> and <strong>volume down</strong> button (mind you: it&#8217;s the down button now)</li>
<li>Hold it until you see &#8220;fastboot&#8221; on the screen</li>
<li>Click the <strong>power up</strong> button once, to start fastboot mode.</li>
<li>In the windows command prompt, you can issue the following commands. if they don&#8217;t get recognized, you have not navigated to your fastboot directory correctly:</li>
<ul>
<li><em>fastboot oem unlock</em></li>
<ul>
<li>You&#8217;ll see a warning and a Device ID. Copy it, or write it down somewhere, then issue the following command, while inserting the device id at the indicated place:</li>
</ul>
<li><em>fastboot oem unlock &lt;deviceid&gt;</em></li>
<ul>
<li>You&#8217;ll get a &#8220;Congratulations, your phone is unlocked&#8221; message</li>
</ul>
<li><em>fastboot reboot</em></li>
<ul>
<li>Phone will reboot.</li>
</ul>
</ul>
</ul>
<p>If any of the above steps don&#8217;t work, you can verify the following:</p>
<ul>
<li>Have you installed the Motorola drivers correctly? (Might be required to reboot after you installed them)</li>
<li>Are you using an RSDLite version &gt; 5.x ? (This is a requirement)</li>
<li>Did you press the correct button combinations? Can be confusing sometimes <img src='http://www.forceflow.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
<h1><strong><span style="text-decoration: underline;">Rooting</span></strong></h1>
<p>Woojay, unlocked! Now what&#8217;s next? If we root the Atrix, we can install a custom recovery to our newly unlocked bootloader and start flashing new ROM&#8217;s, as well as taking a complete backup of the current one.</p>
<p>There&#8217;s an<strong> <a href="http://forum.xda-developers.com/showthread.php?t=1255548">excellent one-click-root method available here</a></strong> for 2.3.4 ROMs. This is the one I&#8217;ve used. Make sure your phone is in charge-only mode. I had to retry it a couple of times (2 / 3), but it did work eventually. Don&#8217;t worry, it&#8217;s pretty safe. The Atrix is mentioned nowhere on the tool&#8217;s page, but it does work. An alternative is: <a href="http://forum.xda-developers.com/showpost.php?p=15872818">this thread</a>, but I haven&#8217;t tried that one.</p>
<p>I&#8217;m not going to repeat the steps here: it&#8217;s basicly : unzip the tool, connect the phone, make sure it&#8217;s in USB debugging mode (<em>settings-&gt;applications-&gt;development settings-&gt;enable debugging mode</em>) and run the tool.</p>
<h1><span style="text-decoration: underline;">Installing ClockWorkMod Recovery</span></h1>
<p>After you&#8217;ve rooted and rebooted, it&#8217;s time to install a ClockWorkMod Recovery. This is an excellent tool. It&#8217;s a mini-os which you can start when the phone boots, which allows you to flash custom ROMS, take backups and much more!</p>
<ul>
<li>Go to the Android market and download <strong>ROM Manager</strong></li>
<li>Open ROM Manager, and use the top item: <strong>Flash ClockWorkMod Recovery</strong></li>
<ul>
<li>Select Atrix from the list</li>
<li>It will flash the default CWM Recovery now</li>
</ul>
<li>For Atrix, there&#8217;s a better recovery available: <strong><a href="http://forum.xda-developers.com/showthread.php?t=1204500">Romracer&#8217;s CWM</a></strong></li>
<li>Download your favorite flavor (it comes in several colors) it and place it on your sdcard.</li>
<li>In ROM Manager, select <strong>Install Rom From SD-Card</strong>, and browse to the zip file you downloaded.</li>
<li>The phone will reboot and replace the default recovery with the Romracer&#8217;s Recovery.</li>
</ul>
<h1><span style="text-decoration: underline;">Installing a custom ROM (Cyanogenmod 7)</span></h1>
<p>Yay, home-free! I&#8217;ll refer to <a href="http://forum.xda-developers.com/showpost.php?p=19986512&amp;post=234">this excellent guide</a> for flashing Cyanogenmod 7: Another good resource for all things Atrix is<a href="http://forum.xda-developers.com/showthread.php?t=1154600"> this thread </a>and the<a href="http://forum.xda-developers.com/forumdisplay.php?f=994"> XDA forum itself</a>, of course.</p>
<p>Have fun!</p>
<p>&nbsp;</p>
 <p><a href="http://www.forceflow.be/?flattrss_redirect&amp;id=2077&amp;md5=e3eb418dadd19c2aec6a1dea43c4b3a2" title="Flattr" target="_blank"><img src="http://www.forceflow.be/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.forceflow.be/2012/01/15/unlocking-rooting-the-motorola-atrix-4g/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<atom:link rel="payment" href="http://www.forceflow.be/?flattrss_redirect&amp;id=2077&amp;md5=e3eb418dadd19c2aec6a1dea43c4b3a2" type="text/html" />
	</item>
		<item>
		<title>Interesting TOR talk</title>
		<link>http://www.forceflow.be/2011/12/29/interesting-tor-talk/</link>
		<comments>http://www.forceflow.be/2011/12/29/interesting-tor-talk/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 16:59:47 +0000</pubDate>
		<dc:creator>Jeroen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.forceflow.be/?p=2027</guid>
		<description><![CDATA[I spent the morning watching this hugely interesting talk about the TOR project and the censoring problems it had this year.It has been an important tool for dissidents and activists trying to get the truth out in an oppressive regime. The &#8230; <a href="http://www.forceflow.be/2011/12/29/interesting-tor-talk/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I spent the morning watching this hugely interesting talk about the <a href="https://www.torproject.org/">TOR project</a> and the censoring problems it had this year.It has been an important tool for dissidents and activists trying to get the truth out in an oppressive regime. The talk was given yesterday at the CCC&#8217;s crypto <a href="http://events.ccc.de/tag/27c3-2/">event</a> by Roger Ingledine and Jacob Appelbaum (worth following on <a href="https://twitter.com/#!/ioerror">twitter</a>).</p>
<p><a href="https://www.torproject.org/about/overview.html.en">Read up a bit</a> on TOR (The Onion Router), adn then watch the video embedded below. Don&#8217;t stop there though &#8211; <a href="https://www.torproject.org/donate/donate.html.en">donate</a> some money to the project, help out in the development and/or <a href="https://www.torproject.org/docs/tor-doc-relay.html.en">set up your own TOR relay</a>!</p>
<p><iframe src="http://www.youtube.com/embed/DX46Qv_b7F4" frameborder="0" width="560" height="315"></iframe></p>
 <p><a href="http://www.forceflow.be/?flattrss_redirect&amp;id=2027&amp;md5=4f1da58be7967f62cd915605e9bad41d" title="Flattr" target="_blank"><img src="http://www.forceflow.be/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.forceflow.be/2011/12/29/interesting-tor-talk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="http://www.forceflow.be/?flattrss_redirect&amp;id=2027&amp;md5=4f1da58be7967f62cd915605e9bad41d" type="text/html" />
	</item>
		<item>
		<title>Efficient rendering using Sparse Voxel Octrees</title>
		<link>http://www.forceflow.be/2011/12/04/efficient-rendering-using-sparse-voxel-octrees/</link>
		<comments>http://www.forceflow.be/2011/12/04/efficient-rendering-using-sparse-voxel-octrees/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 00:50:46 +0000</pubDate>
		<dc:creator>Jeroen</dc:creator>
				<category><![CDATA[en]]></category>
		<category><![CDATA[cg]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[voxels]]></category>

		<guid isPermaLink="false">http://www.forceflow.be/?p=1991</guid>
		<description><![CDATA[I&#8217;ve been reading a lot lately about using voxels in CG. I&#8217;ve always been fascinated by ways of moving away from the traditional polygon-based pipeline, and things are really starting to look good for voxels. Sampling all geometric and texture &#8230; <a href="http://www.forceflow.be/2011/12/04/efficient-rendering-using-sparse-voxel-octrees/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been reading a lot lately about using voxels in CG. I&#8217;ve always been fascinated by ways of moving away from the traditional polygon-based pipeline, and things are really starting to look good for voxels.</p>
<p>Sampling all geometric and texture data on a regular grid allows for unique content, theoretically. No more repeating textures, pieces of scenery, &#8230; artists can basically create a scene and add little customizations to every object, without sacrificing rendering budget, as long as you&#8217;ve got a good way of streaming the right data to the GPU. Interesting work is done by Cyril Crassin on <a href="http://maverick.inria.fr/Members/Cyril.Crassin/">Gigavoxels</a>, a paper which shows a working implementation of the Voxels-in-a-tree concept.</p>
<p><span id="more-1991"></span>I think it&#8217;s a nice way to introduce some kind of ray casting (and all the benefits it brings) into a modern-day real-time graphics pipeline, instead of the traditional way of splatting polygons down on a canvas and using several shaders to fake effects which are gained automatically when shooting rays. It would also simplify a lot of algorithms if you can treat geometry and (for example) texture information as being on the same grid and resolution.</p>
<p>In 2011, Nvidia research also published a paper on Sparse Voxel Octrees (<a href="http://www.nvidia.com/docs/IO/88889/laine2010i3d_paper.pdf">link</a>), following a demo on I3D. Some of the code was published <a href="http://code.google.com/p/efficient-sparse-voxel-octrees/">here</a>. Interesting read!</p>
<p>Also, a quote from Carmack in a recent<a href="http://www.pcper.com/reviews/Graphics-Cards/John-Carmack-id-Tech-6-Ray-Tracing-Consoles-Physics-and-more"> interview</a> on ID Tech 6:</p>
<blockquote><p> It’s interesting in that the algorithms would be something that, it’s almost unfortunate in the aspect that these algorithms would take great advantage of simpler bit-level operations in many cases and they would wind up being implemented on this 32-bit floating point operation-based hardware.  Hardware designed specifically for sparse voxel ray casting would be much smaller and simpler and faster than a general purpose solution</p></blockquote>
<p>&nbsp;</p>
 <p><a href="http://www.forceflow.be/?flattrss_redirect&amp;id=1991&amp;md5=f086bc2969fb595c9b9cfba4482e813c" title="Flattr" target="_blank"><img src="http://www.forceflow.be/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.forceflow.be/2011/12/04/efficient-rendering-using-sparse-voxel-octrees/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="http://www.forceflow.be/?flattrss_redirect&amp;id=1991&amp;md5=f086bc2969fb595c9b9cfba4482e813c" type="text/html" />
	</item>
		<item>
		<title>Next Girl</title>
		<link>http://www.forceflow.be/2011/11/17/next-girl/</link>
		<comments>http://www.forceflow.be/2011/11/17/next-girl/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 16:47:04 +0000</pubDate>
		<dc:creator>Jeroen</dc:creator>
				<category><![CDATA[en]]></category>
		<category><![CDATA[black keys]]></category>
		<category><![CDATA[dinosaurs]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[next girl]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.forceflow.be/?p=1988</guid>
		<description><![CDATA[Dinosaurs and babes. Videoclip of the year?]]></description>
			<content:encoded><![CDATA[<p>Dinosaurs and babes. Videoclip of the year?</p>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/x_PrT25o8Vs?rel=0" frameborder="0" allowfullscreen></iframe></p>
 <p><a href="http://www.forceflow.be/?flattrss_redirect&amp;id=1988&amp;md5=c6ef84253d0933af4a92d21b8fd3b163" title="Flattr" target="_blank"><img src="http://www.forceflow.be/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.forceflow.be/2011/11/17/next-girl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="http://www.forceflow.be/?flattrss_redirect&amp;id=1988&amp;md5=c6ef84253d0933af4a92d21b8fd3b163" type="text/html" />
	</item>
		<item>
		<title>Migrating from CakePHP 1.3 to 2.0</title>
		<link>http://www.forceflow.be/2011/11/12/migrating-from-cakephp-1-3-to-2-0/</link>
		<comments>http://www.forceflow.be/2011/11/12/migrating-from-cakephp-1-3-to-2-0/#comments</comments>
		<pubDate>Sat, 12 Nov 2011 15:48:08 +0000</pubDate>
		<dc:creator>Jeroen</dc:creator>
				<category><![CDATA[en]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[cakephp]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.forceflow.be/?p=1944</guid>
		<description><![CDATA[I love CakePHP. It&#8217;s a PHP framework with a clear and strict Model / View / Controller (MVC) separation and a great abstraction layer for reading, updating and saving objects to the database. Recently, the CakePHP team released CakePHP 2.0, &#8230; <a href="http://www.forceflow.be/2011/11/12/migrating-from-cakephp-1-3-to-2-0/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.forceflow.be/wp-content/uploads/2011/11/cake-logo.png"><img class="alignleft size-thumbnail wp-image-1948" title="cake-logo" src="http://www.forceflow.be/wp-content/uploads/2011/11/cake-logo-150x150.png" alt="" width="150" height="150" /></a>I love <a href="http://www.cakephp.org">CakePHP</a>. It&#8217;s a PHP framework with a clear and strict Model / View / Controller (<a href="http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller">MVC</a>) separation and a great abstraction layer for reading, updating and saving objects to the database. Recently, the CakePHP team released CakePHP 2.0, and I started updating my projects to this new version. Since it was my first big version jump with the framework,  and a lot of substantial changes were made compared to the 1.3.x branch , I ran into some quibbles, which I thought would be nice to document here.<br />
<span id="more-1944"></span></p>
<h4>Getting started</h4>
<p>There are several ways to update, but for small to medium projects, I found it best to just unzip the new CakePHP 2 structure, and manually copy over your Controllers and Views to their new folders. Mind you that the folder structure has changed significantly. For instance, the <em>controllers</em> map is now <em>Controller</em>. Pay attention to where you copy the files &#8211; don&#8217;t worry about the filenames themselves, we&#8217;ll come to that later.</p>
<p>Make sure you update <em>core.php </em>and <em>database.php</em> (now located in (cakephp root)/app/Config) with the values for your application. Make sure to copy over the salt and cipherseed values from your old installation too, since CakePHP will continue whining when you use the default ones &#8211; it&#8217;s a security risk. Also, to get the database connection up and running again, the syntax was changed:</p>
<pre>'driver' =&gt; 'mysqli'</pre>
<p>becomes</p>
<pre>'datasource' =&gt; 'Database/Mysql'</pre>
<h4>Bulk work: Upgrade via console</h4>
<p>In order to rename all your app files to the new CakePHP file structure, there is a console command. New to CakePHP 2.0 is that each application now has its own console. Navigate to your app&#8217;s console (<em>not the Console in /lib/Cake !</em>) in /app/Console, make sure the Console command is executable by doing a <em>chmod +x </em>on it, and execute:</p>
<pre>./cake upgrade all</pre>
<p>This will rename all files to the new cake standard, and update all references within your PHP code.</p>
<h4>Cleaning Up</h4>
<p>Unfortunately, this is not the end. Chances are thin that your code will just run fine now. Have a look at the <a href="http://book.cakephp.org/2.0/en/appendices/2-0-migration-guide.html">CakePHP 2.0 migration guide</a> for more information. I&#8217;ll sum up the issues I&#8217;ve dealt with the most here:</p>
<ul>
<ul>
<ul>
<li>In your views, you now have to address the Helper classes through the <em>$this</em> object. No more calling, for example <em>$html-&gt;link(</em> , it&#8217;s <em>$this-&gt;Html-&gt;link(</em> now, sir.</li>
<li>The <em>JavascriptHelper</em> is now called <em>JsHelper.</em></li>
<li>The <em>Auth </em>component has changed significantly. The login() action is not automatically added when you use the component, you&#8217;ve got to manually specify it now. Check the new <a href="http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html">Auth component documentation</a> for more info.</li>
<li>The <em>AjaxHelper </em>has been removed, along with the handy functions for AJAX-style searches, like <em>observefield</em>. I&#8217;ve cooked my own <em>observefield </em>using jQuery &#8211; use at your own risk. I serialise a form, which in this case holds a query input box which allows me to do a live-search-and-update for Reservations :</li>
</ul>
<pre>$this->Js->get('#query')->event('keyup', $this->Js->request(
array('controller' => 'sales','action' => 'searchReservations', $event['Event']['id']),
array(
'update' => '#view',
'async' => true,
'dataExpression' => true,
'method' => 'post',
'data' => $this->Js->serializeForm(array('isForm' => false, 'inline' => true))) </pre>
 <p><a href="http://www.forceflow.be/?flattrss_redirect&amp;id=1944&amp;md5=2850ee5b785ee8c777d004ce45ad38ea" title="Flattr" target="_blank"><img src="http://www.forceflow.be/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.forceflow.be/2011/11/12/migrating-from-cakephp-1-3-to-2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="http://www.forceflow.be/?flattrss_redirect&amp;id=1944&amp;md5=2850ee5b785ee8c777d004ce45ad38ea" type="text/html" />
	</item>
		<item>
		<title>Game Graphics Tech Talks</title>
		<link>http://www.forceflow.be/2011/10/26/game-graphics-tech-talks/</link>
		<comments>http://www.forceflow.be/2011/10/26/game-graphics-tech-talks/#comments</comments>
		<pubDate>Wed, 26 Oct 2011 13:18:15 +0000</pubDate>
		<dc:creator>Jeroen</dc:creator>
				<category><![CDATA[en]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.forceflow.be/?p=1931</guid>
		<description><![CDATA[Here&#8217;s some recent game graphics talks I&#8217;ve been enjoying. First one is Carmack on Quakecon 2011 &#8211; it&#8217;s a very technical talk, but very interesting on how they do texture streaming on consoles, compared to pc systems. Here&#8217;s the Q&#38;A &#8230; <a href="http://www.forceflow.be/2011/10/26/game-graphics-tech-talks/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s some recent game graphics talks I&#8217;ve been enjoying.</p>
<p>First one is Carmack on Quakecon 2011 &#8211; it&#8217;s a very technical talk, but very interesting on how they do texture streaming on consoles, compared to pc systems.</p>
<p><iframe src="http://www.youtube.com/embed/4zgYG-_ha28?rel=0" frameborder="0" width="560" height="315"></iframe></p>
<p><span id="more-1931"></span>Here&#8217;s the Q&amp;A section, which is even more technical, but contains some interesting question on id&#8217;s coding style.</p>
<p><iframe src="http://www.youtube.com/embed/00Q9-ftiPVQ" frameborder="0" width="560" height="315"></iframe></p>
<p>More recently, here&#8217;s DICE&#8217;s Johan Andersson talking about the graphics technology in Battlefield 3, which seems to be a perfected deferred-shading pipeline. It&#8217;s interesting to see which decisions they made in order to have certain effects stand out, and how they calculate the rendering budget for each scene. Talk starts of a bit generalised, but once you get to parts 2 and 3 he goes into more detail.</p>
<p><iframe src="http://www.youtube.com/embed/KMaL6j7Ry6c" frameborder="0" width="560" height="315"></iframe></p>
 <p><a href="http://www.forceflow.be/?flattrss_redirect&amp;id=1931&amp;md5=a7b40da9721cf95079bc55df0faaee1e" title="Flattr" target="_blank"><img src="http://www.forceflow.be/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.forceflow.be/2011/10/26/game-graphics-tech-talks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="http://www.forceflow.be/?flattrss_redirect&amp;id=1931&amp;md5=a7b40da9721cf95079bc55df0faaee1e" type="text/html" />
	</item>
	</channel>
</rss>

