<?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>pings from the void &#187; physics</title>
	<atom:link href="http://thequietvoid.com/archives/tag/physics/feed" rel="self" type="application/rss+xml" />
	<link>http://thequietvoid.com</link>
	<description>· )  -) --)  ---) ----) ------) ---------) --------------)  --------------------)</description>
	<lastBuildDate>Sat, 01 Jan 2011 08:03:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Another Unity Test</title>
		<link>http://thequietvoid.com/archives/95</link>
		<comments>http://thequietvoid.com/archives/95#comments</comments>
		<pubDate>Sat, 09 Jan 2010 11:59:09 +0000</pubDate>
		<dc:creator>Matt Ditton</dc:creator>
				<category><![CDATA[Silly]]></category>
		<category><![CDATA[Tests]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[physics]]></category>

		<guid isPermaLink="false">http://thequietvoid.com/?p=95</guid>
		<description><![CDATA[In which we try a second method of showing Unity work on a wordpress blog. This one wasn&#8217;t hard at all. &#60;‹←·•·→›&#62; This version is using ShadowBox.js as a method of showing the unity piece. So no embedding, it&#8217;s just linking to another page. It&#8217;s actually the exported page from a unity web build. Well [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://thequietvoid.com/wp-content/uploads/Pendulum.png" rel="shadowbox[sbpost-95];player=img;"><img src="http://thequietvoid.com/wp-content/uploads/Pendulum-300x187.png" alt="" title="Pendulum" width="300" height="187" class="aligncenter size-medium wp-image-92" /></a></p>
<p>In which we try a second method of showing Unity work on a wordpress blog. This one wasn&#8217;t hard at all.</p>
<p style="text-align: center;">&lt;‹←·•·→›&gt;<br />
<span id="more-95"></span></p>
<p>This version is using <a href="http://www.shadowbox-js.com/index.html">ShadowBox.js</a> as a method of showing the unity piece.  So no embedding, it&#8217;s just linking to another page. It&#8217;s actually the exported page from a unity web build. Well I changed the background to black and got rid of the text. But apart from that it&#8217;s untouched.</p>
<p>So without further ado <a rel="shadowbox" href="http://thequietvoid.com/wp-content/uploads/Pendulum.html">the pendulum (click the image)</a> when you&#8217;re done click the x in the bottom right.</p>
<p><a rel="shadowbox" href="http://thequietvoid.com/wp-content/uploads/Pendulum.html"><img class="aligncenter size-full wp-image-92" title="Pendulum" src="http://thequietvoid.com/wp-content/uploads/Pendulum.png" alt="" width="640" height="400" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://thequietvoid.com/archives/95/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unity Test</title>
		<link>http://thequietvoid.com/archives/35</link>
		<comments>http://thequietvoid.com/archives/35#comments</comments>
		<pubDate>Fri, 08 Jan 2010 04:28:29 +0000</pubDate>
		<dc:creator>Matt Ditton</dc:creator>
				<category><![CDATA[Game]]></category>
		<category><![CDATA[Tests]]></category>
		<category><![CDATA[physics]]></category>
		<category><![CDATA[Unity]]></category>

		<guid isPermaLink="false">http://thequietvoid.com/?p=35</guid>
		<description><![CDATA[In which I test the uploading of a Unity Scene. How hard can it be? ‹‘−’› Please view the full post to see the Unity content. Getting this working took 4 hours. Not the scene. Just the posting to the web part. I&#8217;m not getting that time back. But for all who come after, know [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://thequietvoid.com/wp-content/uploads/Physics_CollisionTests_Screen.jpg" rel="shadowbox[sbpost-35];player=img;"><img class="aligncenter size-medium wp-image-56" title="Physics_CollisionTests_Screen" src="http://thequietvoid.com/wp-content/uploads/Physics_CollisionTests_Screen-300x187.jpg" alt="" width="300" height="187" /></a></p>
<p>In which I test the uploading of a Unity Scene. How hard can it be?</p>
<p style="text-align: center;">‹‘−’›<br />
<span id="more-35"></span>
<p><em>Please view the full post to see the Unity content.</em></p>
</p>
<p style="text-align: left;">
<p style="text-align: left;">Getting this working took 4 hours. Not the scene. Just the posting to the web part. I&#8217;m not getting that time back.</p>
<p style="text-align: left;">But for all who come after, know this. thequietvoid is hosted through godaddy.com and at current they do not support the .unity3d file type as a known file. So after following the instructions from the Unity site. <a href="http://unity3d.com/support/resources/assets/unity-wordpress-blog-plugin" target="_self">Installing the WP_UnityObject plugin</a>. Making the changes to the functions.php that would allow .unity3d file uploads. Still nothing worked. The advice I found was to change the web.config file so that .unity3d is an allowed mim type on the server.</p>
<p style="text-align: left;">But web.config in the root has been hijacked by wordpress, so everytime I changed the xml the site stopped working. Sigh.</p>
<p style="text-align: left;">So how does it work at the moment you may ask ? Well, and don&#8217;t try this at home kids. I renamed the .unity3d file to .jpg. Made the change to src tag in WP_UnityObject and viola, the HACK IS ALIVE.</p>
<p style="text-align: left;">But it&#8217;s not right and I&#8217;m sure it&#8217;s going to break things if the scene try&#8217;s to access the browser. So now I have to go through the process of getting this fixed.</p>
<p style="text-align: left;">Bugger.</p>
<p style="text-align: left;">UPDATE: later that night</p>
<p style="text-align: left;">Ok, now it works. I had a nap. Thought on it. Fixed it. The trick is I just had to add a unique web.config file into the wordpress upload folder allowing the webserver to serve out the file. There now it works correctly. Before I forget this is the secret ingredient. Adding this to a file called web.config in the wordpress upload directory fixes the last of the problems.</p>
<p>[cce lang="xml"]<br />
<?xml version="1.0" encoding="UTF-8"?><br />
<configuration><br />
    <system.webServer><br />
        <staticContent><br />
            <mimeMap fileExtension=".unity3d" mimeType="application/vnd.unity" /><br />
     </staticContent><br />
    </system.webServer><br />
</configuration><br />
[/cce]</p>
]]></content:encoded>
			<wfw:commentRss>http://thequietvoid.com/archives/35/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

