Fantacytc Posted July 20, 2018 Share Posted July 20, 2018 Hi I'm currently working on a simple game avatar animation using Blender (2.79) with the TOB exporter. The animation works perfectly in blender. However when TOB exporting to a BJS rendering canvas, It is hard to find the skeleton info of mesh / armatures even after using MeshFactory and instance function. Somehow I just don't find any function named like "defineskeleton" being called. I'm curious whether I miss something here so that the animation doesn't work ! Are there any step-by-step tutorials getting started for using TOB exporter .js file with blender animations? I found some resources such as scene.beginAnimation, mesh.skeleton.beginAnimation but no success! This is the playground I made https://willlinifm.github.io/Skeleton_Animation/ and .js file https://willlinifm.github.io/Skeleton_Animation/bone3.js Thank you so much Have a nice day! Quote Link to comment Share on other sites More sharing options...
Guest Posted July 20, 2018 Share Posted July 20, 2018 Pinging the TOB mastermind: @JCPalmer Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted July 22, 2018 Share Posted July 22, 2018 Looks like your gameavatar Mesh is finding an armature. I also see only positions, normals, & UV's being written. No matrix weights or indices. Without .blend or log file, can only guess: The Armature modifier on the mesh has been removed (though you say it is animating) You checked the ignore skeleton check in custom properties Quote Link to comment Share on other sites More sharing options...
Fantacytc Posted July 23, 2018 Author Share Posted July 23, 2018 Thank you very much. I'll give a try and check!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.