You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Igor Karpov edited this page Apr 26, 2015
·
1 revision
To produce an md2 file containing animated character data that can be used in OpenNERO:
Create an animated model in a program that can export the obj format.
* I've used Maya for this project, but obj is a simple and common format, so other programs are likely to work as well.
* The md2 format requires that all textures for this model be contained in a single image file.
Export one obj file for each frame of each animation you want your character to have
* Example filenames: run001.obj, run002.obj, ... , stand001.obj, stand002.obj ...
* For Maya, I have included a script that I used to automate this process. (This script will require some straightforward modification to match your particular animation.)
Run obj_to_md2 on these obj files and their texture file.
* Compile from obj_to_md2.cpp and Makefile.
* Run obj_to_md2 with no arguments to display usage.