-
Notifications
You must be signed in to change notification settings - Fork 51
CreatingAnimatedCharacterData
Igor Karpov edited this page Apr 26, 2015
·
1 revision
- 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.