Is it possible to export a model with its animation from MAX to .json?

I have a model with simple animation designed for 3Ds MAX (my version is 2013). How can I export it to the .json extension, including its animation (for use with Three.js)? I tried several times to export it using the tools from the Three.js package, but they disappear (the "morphTargets" array is still empty).
How can I deal with this problem? Is there any more? Should I use 3D Maya to create animations for my model?
Thank you for reading!

+4
source share
2 answers

To get morphing targets, you need to export each morphing target separately as a .obj file, including a raw mesh. Then you need to pass all of them into a python convert script found in /utils/converters/obj :

 python convert_obj_three.py -i unmorphedmesh.obj -m 'morphmesh1.obj morphmesh2.obj' -o comppiledTargets.js 

and then your morph goals will be filled.

If you need a bone / falsified mesh, I wrote a message about the details of all falsified exports 3ds max> threejs.

Currently, it is impossible to get both target and falsified mesh and morphing targets coming from 3ds max. There is an example of skinning and morphing in threejs, so this is possible, but this model was made in a blender.

+7
source

fooobar.com/questions/434227 / ... assumes that the "correct" path - Max> OBJ> ThreeJs - does not mean animation, since OBJ is not an animation format. The three JS Max exporters here also do not include animation (also not Maya), AFAICT

Sorry, I do not have a better offer.

0
source

Source: https://habr.com/ru/post/1485177/


All Articles