<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by Squarespace Site Server v5.11.5 (http://www.squarespace.com/) on Fri, 30 Jul 2010 23:00:26 GMT--><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rss="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:cc="http://web.resource.org/cc/"><rss:channel rdf:about="http://www.mikeriegger.com/unity-journal/"><rss:title>Unity Journal</rss:title><rss:link>http://www.mikeriegger.com/unity-journal/</rss:link><rss:description></rss:description><dc:language>en-US</dc:language><dc:date>2010-07-30T23:00:26Z</dc:date><admin:generatorAgent rdf:resource="http://www.squarespace.com/">Squarespace Site Server v5.11.5 (http://www.squarespace.com/)</admin:generatorAgent><rss:items><rdf:Seq><rdf:li rdf:resource="http://www.mikeriegger.com/unity-journal/2009/12/13/importing-fbx.html"/><rdf:li rdf:resource="http://www.mikeriegger.com/unity-journal/2009/12/13/fps-in-maya.html"/><rdf:li rdf:resource="http://www.mikeriegger.com/unity-journal/2009/12/6/sigbus-errors.html"/><rdf:li rdf:resource="http://www.mikeriegger.com/unity-journal/2009/11/23/micropausing-when-destroying-enemies.html"/><rdf:li rdf:resource="http://www.mikeriegger.com/unity-journal/2009/11/22/unity-iphone-axis.html"/><rdf:li rdf:resource="http://www.mikeriegger.com/unity-journal/2009/11/22/pivots.html"/><rdf:li rdf:resource="http://www.mikeriegger.com/unity-journal/2009/11/21/errors-with-skeleton-warrior-head.html"/><rdf:li rdf:resource="http://www.mikeriegger.com/unity-journal/2009/10/19/plan-of-attack.html"/><rdf:li rdf:resource="http://www.mikeriegger.com/unity-journal/2009/10/19/exporting-notes.html"/><rdf:li rdf:resource="http://www.mikeriegger.com/unity-journal/2009/10/19/the-cammy-test.html"/></rdf:Seq></rss:items></rss:channel><rss:item rdf:about="http://www.mikeriegger.com/unity-journal/2009/12/13/importing-fbx.html"><rss:title>Importing FBX</rss:title><rss:link>http://www.mikeriegger.com/unity-journal/2009/12/13/importing-fbx.html</rss:link><dc:creator>Mike Riegger</dc:creator><dc:date>2009-12-13T13:02:37Z</dc:date><dc:subject></dc:subject><content:encoded><![CDATA[<p>5 am and I've finally sort-of figured it out.</p>
<p>First, the iPhone version of Unity is a fork of an old skew. Export all from Maya using FBX200611.</p>
<p>My settings:</p>
<p>Geometry: Smoothing Groups checked, along with Instances to Objects, and Referenced Containers Content</p>
<p>Animation: Bake animation checked.</p>
<p>Deformed Models: Skins checked, Blend shapes NOT checked</p>
<p>Curve Filters: unchecked</p>
<p>Constraints: unchecked</p>]]></content:encoded></rss:item><rss:item rdf:about="http://www.mikeriegger.com/unity-journal/2009/12/13/fps-in-maya.html"><rss:title>FPS in Maya</rss:title><rss:link>http://www.mikeriegger.com/unity-journal/2009/12/13/fps-in-maya.html</rss:link><dc:creator>Mike Riegger</dc:creator><dc:date>2009-12-13T10:15:09Z</dc:date><dc:subject></dc:subject><content:encoded><![CDATA[<p>So I bought a model from 3DRT but was confused as to why I would have fewer frames in Maya than I did in Max.</p>
<p>The issue is that Maya defaults to 24 fps (film). Unity and presumably Max use 30fps.</p>
<p>To fix this, in Maya</p>
<p>Windows -&gt; Settings / Preferences -&gt; Settings -&gt; Time NTSC [30 fps]</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded></rss:item><rss:item rdf:about="http://www.mikeriegger.com/unity-journal/2009/12/6/sigbus-errors.html"><rss:title>SIGBUS Errors</rss:title><rss:link>http://www.mikeriegger.com/unity-journal/2009/12/6/sigbus-errors.html</rss:link><dc:creator>Mike Riegger</dc:creator><dc:date>2009-12-06T18:52:47Z</dc:date><dc:subject></dc:subject><content:encoded><![CDATA[<p>I was getting these when running a new version of the game with no valid callstack. Problem was this line of script:</p>
<p>transform.postion = spawnPoint.position.</p>
<p>I had not set the spawnPoint for that object, so it was null. This works fine in preview but dies on the iphone.</p>
<p>Run the iPhone version often.</p>]]></content:encoded></rss:item><rss:item rdf:about="http://www.mikeriegger.com/unity-journal/2009/11/23/micropausing-when-destroying-enemies.html"><rss:title>Micropausing when destroying enemies</rss:title><rss:link>http://www.mikeriegger.com/unity-journal/2009/11/23/micropausing-when-destroying-enemies.html</rss:link><dc:creator>Mike Riegger</dc:creator><dc:date>2009-11-23T19:59:47Z</dc:date><dc:subject></dc:subject><content:encoded><![CDATA[<p>There is a micropause when destroying skeleton warriors. I am betting this is due to all the Instantiates and GetComponents that are floating around at that point. There are also Resource.Load calls in there as well.</p>
<p>Solution is to preinstantiate everything. Store a set number of debris pieces in a manager along with references to all textures.</p>
<p>Well, first I need to figure out how to make a game with <em><strong>multiple</strong></em> enemies first eh?</p>]]></content:encoded></rss:item><rss:item rdf:about="http://www.mikeriegger.com/unity-journal/2009/11/22/unity-iphone-axis.html"><rss:title>Unity iPhone Axis</rss:title><rss:link>http://www.mikeriegger.com/unity-journal/2009/11/22/unity-iphone-axis.html</rss:link><dc:creator>Mike Riegger</dc:creator><dc:date>2009-11-22T16:19:57Z</dc:date><dc:subject></dc:subject><content:encoded><![CDATA[<p>Y and Z appear to be the same between Maya and Unity iPhone, but the X axis is flipped. This appears to be a Unity / iPhone / camera issue.</p>]]></content:encoded></rss:item><rss:item rdf:about="http://www.mikeriegger.com/unity-journal/2009/11/22/pivots.html"><rss:title>Pivots</rss:title><rss:link>http://www.mikeriegger.com/unity-journal/2009/11/22/pivots.html</rss:link><dc:creator>Mike Riegger</dc:creator><dc:date>2009-11-22T16:18:24Z</dc:date><dc:subject></dc:subject><content:encoded><![CDATA[<p>Was running into a baffling bug where if I translated a mesh somewhere, the translation was being ignored by Unity. What I had to do was move the pivot to the origin. This is done by zeroing out the 'World Space' fields in the transform attribute in Maya.</p>
<p>What a pain.</p>]]></content:encoded></rss:item><rss:item rdf:about="http://www.mikeriegger.com/unity-journal/2009/11/21/errors-with-skeleton-warrior-head.html"><rss:title>Errors with skeleton warrior head</rss:title><rss:link>http://www.mikeriegger.com/unity-journal/2009/11/21/errors-with-skeleton-warrior-head.html</rss:link><dc:creator>Mike Riegger</dc:creator><dc:date>2009-11-22T02:13:11Z</dc:date><dc:subject></dc:subject><content:encoded><![CDATA[<p>Head #2 (index 1) had a different set of euler angles in the transform. This caused some issues with the head I was spawning as a smackable as always being oriented 90 degrees to one side. Possibly the order of euler angles is different between Maya / Unity import?</p>]]></content:encoded></rss:item><rss:item rdf:about="http://www.mikeriegger.com/unity-journal/2009/10/19/plan-of-attack.html"><rss:title>Plan of Attack</rss:title><rss:link>http://www.mikeriegger.com/unity-journal/2009/10/19/plan-of-attack.html</rss:link><dc:creator>Mike Riegger</dc:creator><dc:date>2009-10-19T16:59:31Z</dc:date><dc:subject></dc:subject><content:encoded><![CDATA[<p>Get the model Travis is working on into the free game asap. Don't worry about FPS. Once gameplay is locked down (or at least working), we will get someone to half the polygon count, merge meshes (if necessary) and at armor.&nbsp;</p>
<p>Skeletons need to be done right the first time though.</p>
<p>&nbsp;</p>]]></content:encoded></rss:item><rss:item rdf:about="http://www.mikeriegger.com/unity-journal/2009/10/19/exporting-notes.html"><rss:title>Exporting notes</rss:title><rss:link>http://www.mikeriegger.com/unity-journal/2009/10/19/exporting-notes.html</rss:link><dc:creator>Mike Riegger</dc:creator><dc:date>2009-10-19T06:51:05Z</dc:date><dc:subject></dc:subject><content:encoded><![CDATA[<p>Should export to FBX from Maya rather than getting Unity to import. This is because we can get export information from Maya. Also, hints on what to do when nothing appears in Unity.</p>
<p>For instance, I smoothed a mesh in Maya and the game load failed. This is because I needed to go Delete- &gt; Delete by Type -&gt; Non Deformer History.</p>]]></content:encoded></rss:item><rss:item rdf:about="http://www.mikeriegger.com/unity-journal/2009/10/19/the-cammy-test.html"><rss:title>The Cammy Test</rss:title><rss:link>http://www.mikeriegger.com/unity-journal/2009/10/19/the-cammy-test.html</rss:link><dc:creator>Mike Riegger</dc:creator><dc:date>2009-10-19T05:30:16Z</dc:date><dc:subject></dc:subject><content:encoded><![CDATA[<p>Lerpz uprated to 15K, this is the same triangle count as Cammy but only 1 draw call. Vert count is lower (7,844 versus 10,293). Rigid skinned.</p>
<p>3 Lerpz enemies emulating skeletons. Nonskinned for performance.</p>
<p>----------------------------------------<br />iPhone Unity internal profiler stats:<br />cpu-player&gt;&nbsp;&nbsp;&nbsp; min: 13.4&nbsp;&nbsp; max: 16.9&nbsp;&nbsp; avg: 15.3<br />cpu-ogles-drv&gt; min: 10.3&nbsp;&nbsp; max: 12.9&nbsp;&nbsp; avg: 11.7<br />cpu-present&gt;&nbsp;&nbsp; min:&nbsp; 1.4&nbsp;&nbsp; max:&nbsp; 3.3&nbsp;&nbsp; avg:&nbsp; 2.3<br />frametime&gt;&nbsp;&nbsp;&nbsp;&nbsp; min: 32.1&nbsp;&nbsp; max: 35.4&nbsp;&nbsp; avg: 33.7<br />draw-call #&gt;&nbsp;&nbsp; min:&nbsp; 34&nbsp;&nbsp;&nbsp; max:&nbsp; 34&nbsp;&nbsp;&nbsp; avg:&nbsp; 34&nbsp;&nbsp;&nbsp;&nbsp; | batched:&nbsp;&nbsp;&nbsp;&nbsp; 9<br />tris #&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; min: 59353&nbsp; max: 59353&nbsp; avg: 59353&nbsp;&nbsp; | batched:&nbsp;&nbsp; 838<br />verts #&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; min: 22772&nbsp; max: 22772&nbsp; avg: 22772&nbsp;&nbsp; | batched:&nbsp;&nbsp; 419<br />player-detail&gt; physx:&nbsp; 0.4 animation:&nbsp; 2.9 culling&nbsp; 0.6 skinning:&nbsp; 8.3 batching:&nbsp; 0.3 render:&nbsp; 2.1 fixed-update-count: 1 .. 2<br />mono-scripts&gt;&nbsp; update:&nbsp; 0.1&nbsp;&nbsp; fixedUpdate:&nbsp; 0.0 coroutines:&nbsp; 0.0 <br />mono-memory&gt;&nbsp;&nbsp; used heap: 151552 allocated heap: 196608&nbsp; max number of collections: 0 collection total duration:&nbsp; 0.0<br />----------------------------------------</p>
<p>Fantastic. I had serious performance issues with multiple rigid skinned Lerpz. Changing to unskinned skeletons worked great. It starts to drop to 24 FPS with 6 Lerpz + CammyLerpz. So 3-4 should be good.</p>
<p>&nbsp;</p>]]></content:encoded></rss:item></rdf:RDF>