I want to load and display this animation model in WebGL on web browser.

blender file


I exported a JSON file as skeletal animation with an addon for three.js, and loaded it in WebGL, but it wasn't success. I uploaded my three.js code

I referenced this cite, but I couldn't understand well.


You can try using the experimental feature for exporting morph/skeletal animation when using that addon. I think that's the key.

enter image description here

| improve this answer | |
  • $\begingroup$ In the blog post it is stated that "... the following options must be enabled: skinning, bones and skeletal animation." But I can think of other possible causes, like no action selected for the object, or maybe it's required to make the object selected/active? Or it's on the three.js side, maybe wrong code to use the anim? $\endgroup$ – CodeManX Feb 13 '14 at 11:52
  • $\begingroup$ Thank you for your advice! But I selected this check, so I think three.js code is wrong. When a browser opened, it was black. I'm searching an easy example of three.js code for skeletal animation. $\endgroup$ – Momoko Feb 13 '14 at 13:14
  • $\begingroup$ @Momoko, I don't see a light source in your screenshot. Could that be why it is black? $\endgroup$ – adam0101 Apr 30 '15 at 15:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.