<?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>Jilted Reality</title>
	<atom:link href="http://www.jiltedreality.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.jiltedreality.com/blog</link>
	<description>“As our circle of knowledge expands, so does the circumference of darkness surrounding it.”</description>
	<lastBuildDate>Sun, 14 Nov 2010 06:12:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Very Helpful Math and Physics pages.</title>
		<link>http://www.jiltedreality.com/blog/?p=162</link>
		<comments>http://www.jiltedreality.com/blog/?p=162#comments</comments>
		<pubDate>Sun, 14 Nov 2010 06:12:25 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[3d math]]></category>

		<guid isPermaLink="false">http://www.jiltedreality.com/blog/?p=162</guid>
		<description><![CDATA[While reading a thread on TechArtists.org, I found a thread that had a lot of links to math and physics related pages. I thought I should collate them here, rather than bother with that book mark marlarkey. Wish I had these while I was going through uni. Always good to see multiple explanations of the [...]]]></description>
			<content:encoded><![CDATA[<p>While reading a thread on TechArtists.org, I found a thread that had a lot of links to math and physics related pages.</p>
<p>I thought I should collate them here, rather than bother with that book mark marlarkey. Wish I had these while I was going through uni. Always good to see multiple explanations of the same concept.</p>
<p><a href="http://ocw.mit.edu/courses/mathematics/">http://ocw.mit.edu/courses/mathematics/</a></p>
<p><a href="http://www.euclideanspace.com/">http://www.euclideanspace.com/</a></p>
<p><a href="http://www.myphysicslab.com/">http://www.myphysicslab.com/</a></p>
<p><a href="http://my.hrw.com/math06_07/nsmedia/tools/Graph_Calculator/graphCalc.html">http://my.hrw.com/math06_07/nsmedia/tools/Graph_Calculator/graphCalc.html</a></p>
<p><a href="http://www.physicsforums.com/index.php">http://www.physicsforums.com/index.php</a></p>
<p><a href="http://www.khanacademy.org/">http://www.khanacademy.org/</a></p>
<p><a href="http://www.isner.com/Transform/IsnerTransformManip_04.htm">http://www.isner.com/Transform/IsnerTransformManip_04.htm</a></p>
<p><a href="http://www.isner.com/tutorials/quatSpells/quaternion_spells_14.htm">http://www.isner.com/tutorials/quatSpells/quaternion_spells_14.htm</a></p>
<p><a href="http://www.gizma.com/easing/">http://www.gizma.com/easing/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jiltedreality.com/blog/?feed=rss2&#038;p=162</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More Sculptris</title>
		<link>http://www.jiltedreality.com/blog/?p=157</link>
		<comments>http://www.jiltedreality.com/blog/?p=157#comments</comments>
		<pubDate>Wed, 27 Oct 2010 10:38:59 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[sculptris]]></category>

		<guid isPermaLink="false">http://www.jiltedreality.com/blog/?p=157</guid>
		<description><![CDATA[Have a bit of an addiction with this program now&#8230; The adaptive sub-division is really what all these scuplting programs have been missing for a while&#8230;.]]></description>
			<content:encoded><![CDATA[<p>Have a bit of an addiction with this program now&#8230; The adaptive sub-division is really what all these scuplting programs have been missing for a while&#8230;.</p>
<p><a href="http://www.jiltedreality.com/blog/wp-content/uploads/2010/10/face2.jpg" rel="lightbox[157]"><img class="alignnone size-medium wp-image-158" title="Rawr" src="http://www.jiltedreality.com/blog/wp-content/uploads/2010/10/face2-287x300.jpg" alt="" width="287" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jiltedreality.com/blog/?feed=rss2&#038;p=157</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sculptris</title>
		<link>http://www.jiltedreality.com/blog/?p=145</link>
		<comments>http://www.jiltedreality.com/blog/?p=145#comments</comments>
		<pubDate>Thu, 21 Oct 2010 12:28:48 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[sculptris]]></category>
		<category><![CDATA[zbrush]]></category>

		<guid isPermaLink="false">http://www.jiltedreality.com/blog/?p=145</guid>
		<description><![CDATA[This schweet little program is rad. Free, as in Beer, with the functionality of Z-Brush&#8217;s clay modelling. Had a muck around and created this in an hour with the help of some reference. You can download the App at the following page: http://www.zbrushcentral.com/showthread.php?t=090617 It is Windows only at this stage, but there does appear to [...]]]></description>
			<content:encoded><![CDATA[<p>This schweet little program is rad. Free, as in Beer, with the functionality of Z-Brush&#8217;s clay modelling.</p>
<p>Had a muck around and created this in an hour with the help of some reference.</p>
<p><a href="http://www.jiltedreality.com/blog/wp-content/uploads/2010/10/myFace1.jpg" rel="lightbox[145]"><img class="alignnone size-medium wp-image-146" title="sculptrisFace1" src="http://www.jiltedreality.com/blog/wp-content/uploads/2010/10/myFace1-300x238.jpg" alt="" width="300" height="238" /></a></p>
<p>You can download the App at the following page:</p>
<p><a href="http://www.zbrushcentral.com/showthread.php?t=090617">http://www.zbrushcentral.com/showthread.php?t=090617</a></p>
<p>It is Windows only at this stage, but there does appear to be a WINE compatible build that someone has made for OSX here:</p>
<p><a href="http://www.zbrushcentral.com/showthread.php?t=91628&amp;highlight=mac">http://www.zbrushcentral.com/showthread.php?t=91628&amp;highlight=mac</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jiltedreality.com/blog/?feed=rss2&#038;p=145</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert a Vector to a Matrix</title>
		<link>http://www.jiltedreality.com/blog/?p=118</link>
		<comments>http://www.jiltedreality.com/blog/?p=118#comments</comments>
		<pubDate>Mon, 13 Sep 2010 11:19:21 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[3d math]]></category>
		<category><![CDATA[maya]]></category>

		<guid isPermaLink="false">http://www.jiltedreality.com/blog/?p=118</guid>
		<description><![CDATA[I wanted to place several items on an undulating surface that orientated themselves to the surface normals. I queried particles that were attached to a surface which returned the particles Location and Normal Vector. To place an object at the particle&#8217;s location was simple enough, and was a case of using object.setPosition(particle.position) I now needed [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">I wanted to place several items on an undulating surface that orientated themselves to the surface normals. I queried particles that were attached to a surface which returned the particles Location and Normal Vector.<span id="more-118"></span></p>
<p style="text-align: left;"><a href="http://www.jiltedreality.com/blog/wp-content/uploads/2010/09/matrix1.jpg" rel="lightbox[118]"><img class="alignnone size-full wp-image-119" title="Normal" src="http://www.jiltedreality.com/blog/wp-content/uploads/2010/09/matrix1.jpg" alt="" width="265" height="239" /></a></p>
<p style="text-align: left;">To place an object at the particle&#8217;s location was simple enough, and was a case of using</p>
<p style="text-align: left;">object.setPosition(particle.position)</p>
<p style="text-align: left;">I now needed to convert the normal vector into rotational information to orient the object to that of the surface.</p>
<p style="text-align: left;">My first approach was to use arcTan and SOHCAHTOA to determine the angle of theta for each axis of rotation. This was quite involved, and was not working correctly (Now that I look back, it was probably due to my vector&#8217;s not being normalised).</p>
<p style="text-align: left;">After a handy tip from Chad Vernon on the Maya-Python list, I discovered the super-magic matrix that allows you to map 3 orthonormal basis vectors directly to a signal matrix. This is what it looks like.</p>
<pre>⎡  x.x      x.y     x.z     0  ⎤
⎢  n.x      n.y     n.z     0  ⎥
⎢  t.x      t.y     t.z     0  ⎥
⎣  0        0       0       1  ⎦</pre>
<p style="text-align: left;">This uses three vectors <strong><em>x</em></strong>, <strong><em>n</em></strong> and <strong><em>t</em></strong> where each vector is defined as:</p>
<p style="text-align: left;"><strong><em>n</em></strong> = The normal vector from querying the surface.</p>
<p style="text-align: left;"><strong><em>t</em></strong> = A vector that is at tangent to vector <strong><em>n</em></strong></p>
<p style="text-align: left;"><strong><em>x</em></strong> = A Vector that is orthogonal to <strong><em>n</em></strong> and <strong><em>t</em></strong></p>
<p style="text-align: left;">Starting with one vector, we need to construct the other two. First we need create a temporary vector that will help decide roughly which direction the <strong>x </strong>vector will point. I defined vector <strong><em>temp</em></strong> as simply {0.0, 1.0, 0.0}, which points straight up in Y.</p>
<p style="text-align: left;"><a href="http://www.jiltedreality.com/blog/wp-content/uploads/2010/09/matrix2.jpg" rel="lightbox[118]"><img class="alignnone size-full wp-image-120" title="First Normal" src="http://www.jiltedreality.com/blog/wp-content/uploads/2010/09/matrix2.jpg" alt="" width="207" height="209" /></a></p>
<p style="text-align: left;">By now calculating the cross product of <strong><em>n</em></strong><strong> </strong>and <strong><em>temp</em></strong> we receive vector <strong><em>t</em></strong>. The angle of ∂ is not 90°, but thats ok as the angle between <strong><em>n</em></strong> and <strong><em>t</em></strong> is.</p>
<p style="text-align: left;"><a href="http://www.jiltedreality.com/blog/wp-content/uploads/2010/09/matrix3.jpg" rel="lightbox[118]"><img class="alignnone size-medium wp-image-122" title="Second Vector" src="http://www.jiltedreality.com/blog/wp-content/uploads/2010/09/matrix3-194x300.jpg" alt="" width="194" height="300" /></a></p>
<p style="text-align: left;">Now by finding the cross product of <strong><em>n</em> ∙ <em>t</em></strong><strong> </strong>we receive vector <strong><em>x</em></strong></p>
<p style="text-align: left;"><a href="http://www.jiltedreality.com/blog/wp-content/uploads/2010/09/matrix4.jpg" rel="lightbox[118]"><img class="alignnone size-medium wp-image-123" title="Third Vector" src="http://www.jiltedreality.com/blog/wp-content/uploads/2010/09/matrix4-176x300.jpg" alt="" width="176" height="300" /></a></p>
<p style="text-align: left;">We need to normalize each vector first. Now with <strong><em>n</em></strong>, <strong><em>t</em></strong> and <strong><em>x</em></strong> we can substitute these back into the matrix, and apply it to an object at the surface position.</p>
<p style="text-align: left;"><a href="http://www.jiltedreality.com/blog/wp-content/uploads/2010/09/matrix5.jpg" rel="lightbox[118]"><img class="alignnone size-full wp-image-124" title="Oriented Object" src="http://www.jiltedreality.com/blog/wp-content/uploads/2010/09/matrix5.jpg" alt="" width="241" height="240" /></a></p>
<p style="text-align: left;">Voila, we now have an object that is placed at a given point on a mesh&#8217;s surface, and oriented to the surface normal.</p>
<p style="text-align: left;">I also found Adam Mechtley&#8217;s video tutorial aim-constraints handy to visualise the need for the <strong><em>temp</em><span style="font-weight: normal;"> vector:</span></strong></p>
<p style="text-align: left;"><a href="http://adammechtley.com/tutorials/rigging/aim-constraints/">http://adammechtley.com/tutorials/rigging/aim-constraints/</a></p>
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://www.jiltedreality.com/blog/?feed=rss2&#038;p=118</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Python for Shell Scripts</title>
		<link>http://www.jiltedreality.com/blog/?p=106</link>
		<comments>http://www.jiltedreality.com/blog/?p=106#comments</comments>
		<pubDate>Wed, 25 Aug 2010 12:13:46 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[quicktime]]></category>
		<category><![CDATA[rv]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.jiltedreality.com/blog/?p=106</guid>
		<description><![CDATA[Today I needed to write a script that would use RV&#8217;s frameburn overlay script to add Frame numbers to a bunch of existing quicktimes. Initially I was going to use shell script, but on further research I found Python&#8217;s optparse module. This handy module makes it easy to create Usage and Option documentation for a [...]]]></description>
			<content:encoded><![CDATA[<p>Today I needed to write a script that would use RV&#8217;s frameburn overlay script to add Frame numbers to a bunch of existing quicktimes. Initially I was going to use shell script, but on further research I found Python&#8217;s <strong>optparse</strong> module.<span id="more-106"></span></p>
<p>This handy module makes it easy to create Usage and Option documentation for a shell-like script.</p>
<p>More information on optparse can be found <a href="http://docs.python.org/library/optparse.html">here.</a></p>
<p>I did not end up using any extra options, but utilised its ability to process the argument string.</p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">#!/usr/bin/env python</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">os</span>
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">optparse</span>
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">shutil</span>
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">glob</span>
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">sys</span>
<span style="color: #ff7700;font-weight:bold;">from</span> <span style="color: #dc143c;">subprocess</span> <span style="color: #ff7700;font-weight:bold;">import</span> call
&nbsp;
<span style="color: #ff7700;font-weight:bold;">def</span> findMovs<span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>:
    currentPath = <span style="color: #dc143c;">os</span>.<span style="color: black;">getcwd</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
    movList = <span style="color: #dc143c;">glob</span>.<span style="color: #dc143c;">glob</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'*.mov'</span><span style="color: black;">&#41;</span>
    <span style="color: #ff7700;font-weight:bold;">for</span> mov <span style="color: #ff7700;font-weight:bold;">in</span> movList:
        convertMov<span style="color: black;">&#40;</span>mov<span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">def</span> convertMov<span style="color: black;">&#40;</span>mov<span style="color: black;">&#41;</span>:
    <span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">&quot;Burning &quot;</span> + mov + <span style="color: #483d8b;">&quot;'s Frames...&quot;</span>
    destPath = arguments<span style="color: black;">&#91;</span><span style="color: #ff4500;">0</span><span style="color: black;">&#93;</span> + <span style="color: #dc143c;">os</span>.<span style="color: black;">sep</span> + mov
    <span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">&quot;Dest Path: &quot;</span> + destPath
    rvBinPath=<span style="color: #483d8b;">&quot;blah&quot;</span>
    <span style="color: #ff7700;font-weight:bold;">try</span>:
        retcode = call<span style="color: black;">&#40;</span><span style="color: black;">&#91;</span>rvBinPath, <span style="color: #008000;">str</span><span style="color: black;">&#40;</span>mov<span style="color: black;">&#41;</span> ,<span style="color: #483d8b;">'-o'</span> , destPath, <span style="color: #483d8b;">'-overlay'</span>,
                               <span style="color: #483d8b;">'frameburn'</span>, <span style="color: #483d8b;">'0.5'</span>, <span style="color: #483d8b;">'0.5'</span>, <span style="color: #483d8b;">'200.0'</span><span style="color: black;">&#93;</span>, shell=<span style="color: #008000;">False</span><span style="color: black;">&#41;</span>
        <span style="color: #ff7700;font-weight:bold;">if</span> retcode <span style="color: #66cc66;">&amp;</span>lt<span style="color: #66cc66;">;</span> <span style="color: #ff4500;">0</span>:
            <span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #66cc66;">&amp;</span>gt<span style="color: #66cc66;">;&amp;</span>gt<span style="color: #66cc66;">;</span>sys.<span style="color: black;">stderr</span>, <span style="color: #483d8b;">&quot;Child was terminated by signal&quot;</span>, -retcode
        <span style="color: #ff7700;font-weight:bold;">else</span>:
            <span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #66cc66;">&amp;</span>gt<span style="color: #66cc66;">;&amp;</span>gt<span style="color: #66cc66;">;</span>sys.<span style="color: black;">stderr</span>, <span style="color: #483d8b;">&quot;Child returned code: &quot;</span>, retcode
    <span style="color: #ff7700;font-weight:bold;">except</span> <span style="color: #008000;">OSError</span>, e:
        <span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #66cc66;">&amp;</span>gt<span style="color: #66cc66;">;&amp;</span>gt<span style="color: #66cc66;">;</span>sys.<span style="color: black;">stderr</span>, <span style="color: #483d8b;">&quot;Execution failed:&quot;</span>, e
&nbsp;
<span style="color: #ff7700;font-weight:bold;">if</span> __name__ == <span style="color: #483d8b;">&quot;__main__&quot;</span>:
    usage =<span style="color: #483d8b;">&quot;usage: %prog [options] destinationPath&quot;</span>
    <span style="color: #dc143c;">parser</span> = <span style="color: #dc143c;">optparse</span>.<span style="color: black;">OptionParser</span><span style="color: black;">&#40;</span>usage=usage,
                    description=<span style="color: #483d8b;">&quot;Adds Frame Burn ins to .movs&quot;</span>,
                    version=<span style="color: #483d8b;">&quot;%prog 0.1&quot;</span><span style="color: black;">&#41;</span>
&nbsp;
    options, arguments = <span style="color: #dc143c;">parser</span>.<span style="color: black;">parse_args</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
    <span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #008000;">len</span><span style="color: black;">&#40;</span>arguments<span style="color: black;">&#41;</span> == <span style="color: #ff4500;">1</span>:
        findMovs<span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
    <span style="color: #ff7700;font-weight:bold;">else</span>:
        <span style="color: #dc143c;">parser</span>.<span style="color: black;">print_help</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.jiltedreality.com/blog/?feed=rss2&#038;p=106</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Colour Profiles.</title>
		<link>http://www.jiltedreality.com/blog/?p=81</link>
		<comments>http://www.jiltedreality.com/blog/?p=81#comments</comments>
		<pubDate>Thu, 29 Jul 2010 11:59:46 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[colour profiles]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://www.jiltedreality.com/blog/?p=81</guid>
		<description><![CDATA[I have been trying to understand how colour management profiles work with the various cintiq&#8217;s, dell&#8217;s and the HP Dream Colour&#8217;s at work. After a bit of research I thought drawing it would help visualise what is happening behind the scenes. Page 24 of http://media-arts.rmit.edu.au/Les_Walkling/Colour_Management_Notes.pdf explains how to use photoshops &#8220;proof colours&#8221; option to preview [...]]]></description>
			<content:encoded><![CDATA[<p>I have been trying to understand how colour management profiles work with the various cintiq&#8217;s, dell&#8217;s and the HP Dream Colour&#8217;s at work.</p>
<p>After a bit of research I thought drawing it would help visualise what is happening behind the scenes.<span id="more-81"></span></p>
<p><a href="http://www.jiltedreality.com/blog/wp-content/uploads/2010/07/ColourProfile.jpg" rel="lightbox[81]"><img class="alignnone size-medium wp-image-82" title="ColourProfile" src="http://www.jiltedreality.com/blog/wp-content/uploads/2010/07/ColourProfile-300x204.jpg" alt="Colour Profile Management." width="300" height="204" /></a></p>
<p>Page 24 of <a href="http://media-arts.rmit.edu.au/Les_Walkling/Colour_Management_Notes.pdf" target="_blank">http://media-arts.rmit.edu.au/Les_Walkling/Colour_Management_Notes.pdf</a> explains how to use photoshops &#8220;proof colours&#8221; option to preview an image in another colour space. This is a useful final step for artists, that need to apply an adjustment layer to their final image so that it appears the same as how they painted it, in another colourspace/on another monitor.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jiltedreality.com/blog/?feed=rss2&#038;p=81</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Daft Punk to do soundtrack for TRON!</title>
		<link>http://www.jiltedreality.com/blog/?p=60</link>
		<comments>http://www.jiltedreality.com/blog/?p=60#comments</comments>
		<pubDate>Wed, 28 Jul 2010 11:16:17 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://www.jiltedreality.com/blog/?p=60</guid>
		<description><![CDATA[Rad! zomgski&#8217;s What is TRON? Only the next raddest moofie evar!! Tron Trailer]]></description>
			<content:encoded><![CDATA[<p>Rad!</p>
<p><a href="http://www.jiltedreality.com/blog/wp-content/uploads/2010/07/Screen-shot-2010-07-28-at-9.18.59-PM-28-Jul.jpg" rel="lightbox[60]"><img class="alignnone size-medium wp-image-68" title="zee shiny helmet man" src="http://www.jiltedreality.com/blog/wp-content/uploads/2010/07/Screen-shot-2010-07-28-at-9.18.59-PM-28-Jul-300x209.jpg" alt="shiny helmet" width="300" height="209" /></a></p>
<p><a href="http://blogs.1077theend.com/internbryce/2010/07/22/new-daft-punk-zomg/" target="_blank">zomgski&#8217;s</a></p>
<p>What is TRON? Only the next raddest moofie evar!!</p>
<p><a href="http://www.youtube.com/watch?v=1AwvuirSEAA">Tron Trailer</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jiltedreality.com/blog/?feed=rss2&#038;p=60</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IOS 4.0 viewDidLoad&#8230;. or did it?</title>
		<link>http://www.jiltedreality.com/blog/?p=45</link>
		<comments>http://www.jiltedreality.com/blog/?p=45#comments</comments>
		<pubDate>Tue, 27 Jul 2010 12:14:31 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://www.jiltedreality.com/blog/?p=45</guid>
		<description><![CDATA[Now that the new IOS 4.0 has multitasking builtin, jumping out of an app and back into it will not force a view to re-load. I realised this while trying to complete Hour 15 of the Iphone Development in 24 hours book. The trigger to read in the prefs from the system bundle was supposed [...]]]></description>
			<content:encoded><![CDATA[<p>Now that the new IOS 4.0 has multitasking builtin, jumping out of an app and back into it will not force a view to re-load.<span id="more-45"></span></p>
<p>I realised this while trying to complete Hour 15 of the Iphone Development in 24 hours book.</p>
<p>The trigger to read in the prefs from the system bundle was supposed to fire on</p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #002200;">-</span><span style="color: #002200;">&#40;</span><span style="color: #a61390;">void</span><span style="color: #002200;">&#41;</span>viewDidLoad <span style="color: #002200;">&#123;</span>
 <span style="color: #002200;">&#91;</span>self setValuesFromPreferences<span style="color: #002200;">&#93;</span>;
 <span style="color: #002200;">&#91;</span>super viewDidLoad<span style="color: #002200;">&#93;</span>;</pre></div></div>

<p>However this does not fire if the app is already running (when you double tap the home key, and see it down the bottom).</p>
<p>To catch an already open app, being reopened, it is probably better to use:</p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;">applicationDidBecomeActive</pre></div></div>

<p>For an excellent diagram on how app flow works in iphone land I suggest looking at this page by Dr Touch??? &#8211; that name just scares me.</p>
<p><a href="http://www.drobnik.com/touch/2010/07/understanding-ios-4-backgrounding-and-delegate-messaging/" target="_blank">http://www.drobnik.com/touch/2010/07/understanding-ios-4-backgrounding-and-delegate-messaging/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jiltedreality.com/blog/?feed=rss2&#038;p=45</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Static Analysis in XCode.</title>
		<link>http://www.jiltedreality.com/blog/?p=16</link>
		<comments>http://www.jiltedreality.com/blog/?p=16#comments</comments>
		<pubDate>Tue, 27 Jul 2010 10:31:50 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://www.jiltedreality.com/blog/?p=16</guid>
		<description><![CDATA[A friend told me about static analysis in Xcode today, and that its a feature that is not enabled by default. The &#8220;Build and Analyze&#8221; menu option will fire off the extra inspection, but here is how to add an extra build target: http://developer.apple.com/mac/library/featuredarticles/StaticAnalysis/index.html This extra level of debugging will keep an eye out for [...]]]></description>
			<content:encoded><![CDATA[<p>A friend told me about static analysis in Xcode today, and that its a feature that is not enabled by default. The &#8220;Build and Analyze&#8221; menu option will fire off the extra inspection, but here is how to add an extra build target:</p>
<p><a href="http://developer.apple.com/mac/library/featuredarticles/StaticAnalysis/index.html" target="_blank">http://developer.apple.com/mac/library/featuredarticles/StaticAnalysis/index.html</a></p>
<p>This extra level of debugging will keep an eye out for wasted memory allocation and initialisation errors.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jiltedreality.com/blog/?feed=rss2&#038;p=16</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XCode 4.0</title>
		<link>http://www.jiltedreality.com/blog/?p=3</link>
		<comments>http://www.jiltedreality.com/blog/?p=3#comments</comments>
		<pubDate>Tue, 27 Jul 2010 00:19:08 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://www.jiltedreality.com/blog/?p=3</guid>
		<description><![CDATA[Wow. Looks like apple are finally integrating all their separate components into one IDE. I think I also see two split panes in the editor. I wonder if iphone dev accounts will get early access to it. http://developer.apple.com/technologies/tools/whats-new.html]]></description>
			<content:encoded><![CDATA[<p>Wow. Looks like apple are finally integrating all their separate components into one IDE. I think I also see two split panes in the editor. I wonder if iphone dev accounts will get early access to it.</p>
<p><a href="http://developer.apple.com/technologies/tools/whats-new.html" target="_blank">http://developer.apple.com/technologies/tools/whats-new.html</a></p>
<div id="attachment_14" class="wp-caption alignnone" style="width: 310px"><a href="http://www.jiltedreality.com/blog/wp-content/uploads/2010/07/new_single_window.jpg" rel="lightbox[3]"><img class="size-medium wp-image-14" title="new_single_window" src="http://www.jiltedreality.com/blog/wp-content/uploads/2010/07/new_single_window-300x188.jpg" alt="TwoPanes" width="300" height="188" /></a><p class="wp-caption-text">Oooh Two Panes</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.jiltedreality.com/blog/?feed=rss2&#038;p=3</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

