{"id":2665,"date":"2017-08-27T19:49:30","date_gmt":"2017-08-28T00:49:30","guid":{"rendered":"http:\/\/www.jhclaura.com\/?p=2665"},"modified":"2017-08-27T19:49:30","modified_gmt":"2017-08-28T00:49:30","slug":"reminder-maya-blender-three-js","status":"publish","type":"post","link":"http:\/\/www.jhclaura.com\/reminder-maya-blender-three-js\/","title":{"rendered":"Reminder: Maya => Blender => Three.js"},"content":{"rendered":"

\"\"<\/p>\n

AHHH why is it so difficult to export rigged model to Three.js?<\/p>\n

This is a reminder post of how did I export with correct joint rotations.<\/p>\n

 <\/p>\n

[From Maya] – export selection as FBX, set Up Axis from Y to Z<\/p>\n

\"\"<\/p>\n

 <\/p>\n

[Import to Blender] – Scale up!<\/p>\n

 <\/p>\n

[Export to Three.js] – Select Mesh and export as Three.js. Geometry: also select “Bones” and “Skinning”. Type: choose “Geometry” instead of BufferGeometry. Skeletal animations: select “Rest” instead of “Pose”<\/p>\n

\"\" \"\"<\/p>\n

 <\/p>\n

[Import to Three.js] – Load with THREE.JSONLoader. Set “skinning: true” in material. Create with\u00a0THREE.SkinnedMesh. And finally manipulate with\u00a0THREE.SkinnedMesh’s skeleton.bones array.<\/p>\n

 <\/p>\n

Geez.<\/p>\n","protected":false},"excerpt":{"rendered":"

AHHH why is it so difficult to export rigged model to Three.js? This is a reminder post of how did I export with correct joint rotations.   [From Maya] –… Read The Rest →<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[127],"tags":[312,147,313,182],"_links":{"self":[{"href":"http:\/\/www.jhclaura.com\/wp-json\/wp\/v2\/posts\/2665"}],"collection":[{"href":"http:\/\/www.jhclaura.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jhclaura.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jhclaura.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jhclaura.com\/wp-json\/wp\/v2\/comments?post=2665"}],"version-history":[{"count":1,"href":"http:\/\/www.jhclaura.com\/wp-json\/wp\/v2\/posts\/2665\/revisions"}],"predecessor-version":[{"id":2670,"href":"http:\/\/www.jhclaura.com\/wp-json\/wp\/v2\/posts\/2665\/revisions\/2670"}],"wp:attachment":[{"href":"http:\/\/www.jhclaura.com\/wp-json\/wp\/v2\/media?parent=2665"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jhclaura.com\/wp-json\/wp\/v2\/categories?post=2665"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jhclaura.com\/wp-json\/wp\/v2\/tags?post=2665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}