{"id":1052,"date":"2011-01-07T15:23:44","date_gmt":"2011-01-07T06:23:44","guid":{"rendered":"http:\/\/www.codedojo.com\/?p=1052"},"modified":"2011-01-07T16:03:34","modified_gmt":"2011-01-07T07:03:34","slug":"irrlicht-driven-with-proton-sdk-demo-now-running-on-android-nexus-one-movie-and-download","status":"publish","type":"post","link":"https:\/\/www.codedojo.com\/?p=1052","title":{"rendered":"Irrlicht (driven with Proton SDK) demo now running on Android Nexus One (movie and download)"},"content":{"rendered":"<p>Finally got around to making a .mak and doing the required tweaks to get the RT3DApp demo to run on Android.<\/p>\n<p><iframe loading=\"lazy\" title=\"YouTube video player\" class=\"youtube-player\" type=\"text\/html\" width=\"640\" height=\"390\" src=\"https:\/\/www.youtube.com\/embed\/nP40CUnBohY?rel=0&#038;hd=1\" frameborder=\"0\"><\/iframe><\/p>\n<p>For some reason Irrlicht&#8217;s zip file system mounter refused to open the .apk right (it&#8217;s just a zip), so I wrote CProtonReader, a &#8220;FileArchive&#8221; that lets Irrlicht transparently use Proton&#8217;s entire file system under the hood.  Works beautifully!<\/p>\n<p>Rough fps info:<\/p>\n<ul>\n<li> Nexus One: 20-38 fps<\/li>\n<li>G1: 4-10 fps (it does render perfectly on this old 1.6 device though, was worried it might not)<\/li>\n<\/ul>\n<h2>Downloads:<\/h2>\n<p>If you&#8217;d like to try this demo on your own Android device:  <a href=\"http:\/\/www.rtsoft.com\/proton\/demos\/RT3DApp-debug.apk\">http:\/\/www.rtsoft.com\/proton\/demos\/RT3DApp-debug.apk<\/a> (13 MB)<\/p>\n<p>Source:  <a href=\"http:\/\/www.protonsdk.com\">www.protonsdk.com<\/a><\/p>\n<p>Note: This demo doesn&#8217;t currently handle reloading textures when Android task switches.  My modified Irrlicht is based on the 1.7.1 beta GLES branch.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Finally got around to making a .mak and doing the required tweaks to get the RT3DApp demo to run on Android. For some reason Irrlicht&#8217;s zip file system mounter refused to open the .apk right (it&#8217;s just a zip), so I wrote CProtonReader, a &#8220;FileArchive&#8221; that lets Irrlicht transparently use Proton&#8217;s entire file system under [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,16,6],"tags":[],"class_list":["post-1052","post","type-post","status-publish","format-standard","hentry","category-development","category-proton","category-tech-tips"],"_links":{"self":[{"href":"https:\/\/www.codedojo.com\/index.php?rest_route=\/wp\/v2\/posts\/1052","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codedojo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codedojo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codedojo.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codedojo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1052"}],"version-history":[{"count":23,"href":"https:\/\/www.codedojo.com\/index.php?rest_route=\/wp\/v2\/posts\/1052\/revisions"}],"predecessor-version":[{"id":1071,"href":"https:\/\/www.codedojo.com\/index.php?rest_route=\/wp\/v2\/posts\/1052\/revisions\/1071"}],"wp:attachment":[{"href":"https:\/\/www.codedojo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codedojo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codedojo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}