{"id":1450,"date":"2010-07-18T23:05:17","date_gmt":"2010-07-18T12:05:17","guid":{"rendered":"http:\/\/www.vectorstorm.org\/?p=1450"},"modified":"2010-07-18T23:05:17","modified_gmt":"2010-07-18T12:05:17","slug":"multipart-models","status":"publish","type":"post","link":"https:\/\/www.vectorstorm.com.au\/2010\/07\/18\/multipart-models\/","title":{"rendered":"Multipart models"},"content":{"rendered":"

\"\"<\/a>So I was hoping to get animations in and working today, but as it turns out, there was a dependency that I hadn’t thought about — to have animations work nicely, I really needed support for multi-part models. \u00a0That is, a single file which can contain a whole hierarchy of renderable objects, including their relative positions, orientations, and etc. \u00a0This wasn’t too difficult to implement, except that it exposed a bug in my file parsing code. \u00a0That file parsing code desperately needs a major refactoring, but I’m not going to do that until post-MS2 (or maybe never); \u00a0I’ve patched the bug, and will keep soldiering on with the current system.<\/p>\n

Today’s screenshot shows the very first quick test model — several meshes loaded from a single data file, and arranged in a hierarchy. \u00a0I’ve also set up the file format to easily (eventually) support VectorStorm’s future rendering path that I’ve talked about a few times in the past.<\/p>\n

Anyhow, now that I can load several meshes into a single hierarchy, I can start working on animating them.<\/p>\n","protected":false},"excerpt":{"rendered":"

So I was hoping to get animations in and working today, but as it turns out, there was a dependency that I hadn’t thought about — to have animations work nicely, I really needed support for multi-part models. \u00a0That is, a single file which can contain a whole hierarchy of renderable objects, including their relative…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[24,25],"tags":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/po9WK-no","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/1450"}],"collection":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/comments?post=1450"}],"version-history":[{"count":0,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/1450\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=1450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=1450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=1450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}