{"id":156,"date":"2012-07-03T19:20:11","date_gmt":"2012-07-03T19:20:11","guid":{"rendered":"http:\/\/unorthodoxgamestudios.co.uk\/blog\/?p=156"},"modified":"2012-07-03T19:21:41","modified_gmt":"2012-07-03T19:21:41","slug":"project-update-game-engine","status":"publish","type":"post","link":"https:\/\/unorthodoxgamestudios.co.uk\/blog\/project-update-game-engine\/","title":{"rendered":"Project Update &#8211; Game Engine"},"content":{"rendered":"<p>So I though I&#8217;d just post a little update on the progress I&#8217;ve made since my last post. To start I did spend a good while trying to make some decisions on the architecture of the engine it really took longer than I was\u00a0originally\u00a0planning but I got there in the end. So I lost some time to that, also I&#8217;ve spent a bit of time researching and doing other things not even\u00a0necessarily\u00a0related to the engine so maybe I\u00a0haven&#8217;t\u00a0spent as much time on the engine as I should have. Although I&#8217;m already ahead of the game as far as the project is concerned anyway and I&#8217;ve made some good progress nether the less.<\/p>\n<p>Last time I was talking about getting the Assimp library integrated and now it pretty much is, I loaded my first model into the engine and everything ran smoothly with no issues.<\/p>\n<p>As far as the\u00a0implementation\u00a0is concerned the content manager\u00a0recursively loads all the models within a file directory when the engine is started, it then extracts information related to the all the meshes in the file and unloads the data. it does not store any data related to vertices positions,\u00a0normal, texture\u00a0coordinates\u00a0or whatever else. It just takes information relating to each mesh and where it is located in the model so that at a later stage when the asset is needed it will use this information to load the mesh into the cache. At the moment to some degree its still incomplete as I&#8217;m yet to maintain all the data obtained from the assimp importer and sustain the\u00a0hierarchical\u00a0structure in the model file which does lead to some issues with the more complicated formats. But that&#8217;ll come with time I still\u00a0haven&#8217;t\u00a0100% planned how its going to work. Anyway I&#8217;m being a bit to vague to understand I&#8217;m sure.<\/p>\n<p>This diagram will give you a kinda vague idea of whats going. It will become more clear overtime.<\/p>\n<p><a href=\"http:\/\/unorthodoxgamestudios.co.uk\/blog\/wp-content\/uploads\/2012\/07\/idea.png\"><img loading=\"lazy\" class=\"wp-image-157 aligncenter\" style=\"border: 1px solid black;\" title=\"idea\" src=\"http:\/\/unorthodoxgamestudios.co.uk\/blog\/wp-content\/uploads\/2012\/07\/idea-1024x537.png\" alt=\"\" width=\"640\" height=\"335\" srcset=\"https:\/\/unorthodoxgamestudios.co.uk\/blog\/wp-content\/uploads\/2012\/07\/idea-1024x537.png 1024w, https:\/\/unorthodoxgamestudios.co.uk\/blog\/wp-content\/uploads\/2012\/07\/idea-300x157.png 300w, https:\/\/unorthodoxgamestudios.co.uk\/blog\/wp-content\/uploads\/2012\/07\/idea.png 1266w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So I though I&#8217;d just post a little update on the progress I&#8217;ve made since my last post. To start I did spend a good while trying to make some decisions on the architecture of the engine it really took longer than I was\u00a0originally\u00a0planning but I got there in the end. So I lost some [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,11,4],"tags":[],"_links":{"self":[{"href":"https:\/\/unorthodoxgamestudios.co.uk\/blog\/wp-json\/wp\/v2\/posts\/156"}],"collection":[{"href":"https:\/\/unorthodoxgamestudios.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unorthodoxgamestudios.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unorthodoxgamestudios.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unorthodoxgamestudios.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=156"}],"version-history":[{"count":2,"href":"https:\/\/unorthodoxgamestudios.co.uk\/blog\/wp-json\/wp\/v2\/posts\/156\/revisions"}],"predecessor-version":[{"id":159,"href":"https:\/\/unorthodoxgamestudios.co.uk\/blog\/wp-json\/wp\/v2\/posts\/156\/revisions\/159"}],"wp:attachment":[{"href":"https:\/\/unorthodoxgamestudios.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unorthodoxgamestudios.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unorthodoxgamestudios.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}