{"id":14,"date":"2008-07-26T08:07:13","date_gmt":"2008-07-26T14:07:13","guid":{"rendered":"http:\/\/www.realtimerendering.com\/blog\/?p=14"},"modified":"2008-07-26T08:37:17","modified_gmt":"2008-07-26T14:37:17","slug":"truespace-free-torque-for-the-iphone-cache-misses","status":"publish","type":"post","link":"https:\/\/www.realtimerendering.com\/blog\/truespace-free-torque-for-the-iphone-cache-misses\/","title":{"rendered":"TrueSpace Free, iPhone\/iPod engines, Cache misses"},"content":{"rendered":"<p>So you want to play with a 3D modeler, or want to teach a class using one, but have zero budget. <a href=\"http:\/\/www.caligari.com\/Products\/trueSpace\/tS75\/brochure\/intro.asp?Cate=BIntro\">TrueSpace <\/a>is now free. This is pretty darn wonderful; TrueSpace has been around approximately forever &#8211; I once wrote an exporter from the Trispectives modeler to its file format back in 1994 &#8211; and has grown in capabilities over the years.<\/p>\n<p>The <a href=\"http:\/\/www.garagegames.com\/products\/torque\/iPhone\/\">Torque game engine<\/a> is now available for making games on the iPhone. The licensing terms are of the &#8220;email us and we&#8217;ll tell you&#8221; type, but the standard Torque engine is ridiculously affordable for indie game developers at $150, including all source, etc. If you spent all your spare money on an iPhone, <a href=\"http:\/\/oolongengine.com\/\">oolong <\/a>is a free engine for games on the iPhone\/iPod, originated by Wolfgang Engel and Erwin Coumans, along with assets from PowerVR &#8211; it even has a physics engine.<\/p>\n<p>There&#8217;s an interesting performance post on <a href=\"http:\/\/onepartcode.com\/main\/tech\/work\/cache_misses.html\">cache misses<\/a> from Dave Moore. Dave Eberly told me a related tale recently: &#8220;I am the PS3 programmer. \u00a0I spent a lot of time trying to write code to avoid branching, to remove load-hit-stores, and to avoid cache misses. For example, our physics programmer decided that if one function in a class is virtual, then make them all virtual. \u00a0He did not realize that a look-up in the virtual function table invariably causes a cache miss. \u00a0Make a lot of function calls (like physics systems tend to do), and now you have a serious performance problem. \u00a0I removed all the unnecessary virtual modifiers and reduced frame time by 5 milliseconds. \u00a0When your goal is 30 fps (33 millisecond frame time), 5 ms is significant.&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So you want to play with a 3D modeler, or want to teach a class using one, but have zero budget. TrueSpace is now free. This is pretty darn wonderful; TrueSpace has been around approximately forever &#8211; I once wrote an exporter from the Trispectives modeler to its file format back in 1994 &#8211; and [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[31,30,35,36,29],"class_list":["post-14","post","type-post","status-publish","format-standard","hentry","category-resources","tag-cache-misses","tag-engine","tag-iphone","tag-ipod","tag-modeler"],"_links":{"self":[{"href":"https:\/\/www.realtimerendering.com\/blog\/wp-json\/wp\/v2\/posts\/14","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.realtimerendering.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.realtimerendering.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.realtimerendering.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.realtimerendering.com\/blog\/wp-json\/wp\/v2\/comments?post=14"}],"version-history":[{"count":0,"href":"https:\/\/www.realtimerendering.com\/blog\/wp-json\/wp\/v2\/posts\/14\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.realtimerendering.com\/blog\/wp-json\/wp\/v2\/media?parent=14"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.realtimerendering.com\/blog\/wp-json\/wp\/v2\/categories?post=14"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.realtimerendering.com\/blog\/wp-json\/wp\/v2\/tags?post=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}