Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do Wavefront .obj files support animation?

Tags:

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?

like image 803
zaratustra Avatar asked Apr 16 '09 17:04

zaratustra


People also ask

Can OBJ files contain animations?

If animation or scenes are needed, OBJ files won't work. COLLADA, 3DS, X3D, FBX, and STEP are better options.

Does OBJ export animation?

Export an OBJ Sequence as an OBJ file on every frame of an animation. Exporting a 1 second animation with a 30 fps standard will result in 30 OBJ files being exported. → The Save File window opens. Select the desired file and click OK.

Do OBJ files have rigging?

OBJ files don't contain any kind of rigging, so you'll likely have to manually do this in a program of your choice (Maya, Max, Blender, etc).


2 Answers

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.

like image 176
Brian Campbell Avatar answered Oct 16 '22 13:10

Brian Campbell


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.

like image 39
2 revs, 2 users 75% Avatar answered Oct 16 '22 13:10

2 revs, 2 users 75%