{"id":305,"date":"2018-06-21T23:26:26","date_gmt":"2018-06-22T04:26:26","guid":{"rendered":"http:\/\/www.chroniclesoftright.com\/blog\/?p=305"},"modified":"2018-06-21T23:26:26","modified_gmt":"2018-06-22T04:26:26","slug":"even-more-animation-frustration","status":"publish","type":"post","link":"https:\/\/www.chroniclesoftright.com\/blog\/2018\/06\/21\/even-more-animation-frustration\/","title":{"rendered":"Even more animation frustration"},"content":{"rendered":"<p>I&#8217;m at the point where I need a reliable method to import animated assets into Lyridia.\u00a0 I&#8217;ve been back and forth with several different options from the THREE.js native JSON format, to .fbx files, to glTF files.\u00a0 I currently don&#8217;t like any of them, but it seems like glTF will have the best standardization and support going forward, so that&#8217;s what I&#8217;d really like to use.\u00a0 I&#8217;ve been using .fbx files but I&#8217;ve noticed that the animations I&#8217;m creating just don&#8217;t look right.\u00a0 It&#8217;s like what is shown in the game is a watered down version of what I see in Blender.\u00a0 I realize that makes no sense, but that&#8217;s what I&#8217;m consistently seeing.\u00a0 As a test I made an animation where the player&#8217;s leg raises up to the side at a 90 degree angle.\u00a0 In Blender it comes right up to 90 degrees then drops back down.\u00a0 When I export the animation to a .fbx file and play that same animation using THREE.js, the characters leg only goes up about 60-70 degrees.\u00a0 That makes absolutely no sense to me, but I can see it with my eyes.\u00a0 Fortunately the glTF exports seem to be better, but importing .glb files into THREE.js is a process on its own and has the whole game broken at the moment.<\/p>\n<p>As much as I was looking forward to putting out a release in the next day or so, I feel like I just have to spend the time to figure this out now.\u00a0 So I&#8217;m going to take at least a few days and set up a .glb importing test environment so that I can figure out exactly how to export the animations from Blender and import them into THREE.js.\u00a0 The joys of using rapidly evolving open source tools.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m at the point where I need a reliable method to import animated assets into Lyridia.\u00a0 I&#8217;ve been back and forth with several different options from the THREE.js native JSON format, to .fbx files, to glTF files.\u00a0 I currently don&#8217;t like any of them, but it seems like glTF will have the best standardization and&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],"tags":[],"class_list":["post-305","post","type-post","status-publish","format-standard","hentry","category-planning-and-development"],"_links":{"self":[{"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/posts\/305","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/comments?post=305"}],"version-history":[{"count":1,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/posts\/305\/revisions"}],"predecessor-version":[{"id":306,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/posts\/305\/revisions\/306"}],"wp:attachment":[{"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/media?parent=305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/categories?post=305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chroniclesoftright.com\/blog\/wp-json\/wp\/v2\/tags?post=305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}