Question

How does one export a 3D Studio animated model to OBJ format (if possible)? What will be the resulting file like? How would I read that?

Was it helpful?

Solution

No, .obj files do not support animation.

You can check the .obj specification for details of what it does support.

You could potentially export one .obj per frame, but that would be cumbersome. Depending on the tools, it may be possible to export one .obj per keyframe.

OTHER TIPS

Blender 2.63 can export animations in .obj, with each keyframe (as hypothesized above) being a complete .obj of it's own. Blender can handle this export func relatively quickly and efficiently. So 1, Blender is an excellent working proof of concept, and two, Blender may actually help you out code wise (it's open source and you can redistribute any edited code source), allowing you to completely bypass writing your own efficient, quick support for this operation.

Although the .obj specification doesnt support animations natively, by simply augmenting it with a seperate .anm file you can get brilliant albeit boneless animations.

Have a look at:- http://public.sanguinelabs.co.uk/expose/product.php?id=wastudio

This provides a very easy to use "animation maker" as well as the open-source model library (for OpenGL).

Note: I am the developer of Wavefront Animation Studio but also use it heavily in my own projects. Feel free to email me if you have any improvements or bugs to report :)

In fact you can animate wavefront format objects, you have to use groups within your model and transform them seperately in your code.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top