This add-on allows importing .md2 model files. This hasn't been natively supported by Blender for a decade now.
Please note that this add-on is still incomplete. Bug reports and feature requests are welcome!
Developed and tested with Blender 3.6.5 and Python 3.10.13. Older versions might still (partially) work.
>>> bpy.path.extensions_image
frozenset({'.tx', '.png', '.cin', '.tiff', '.bmp', '.rgb', '.tga', '.sgi', '.jpeg', '.dpx', '.psd', '.jp2', '.j2c', '.hdr', '.webp', '.rgba', '.exr', '.pdd', '.jpg', '.psb', '.dds', '.tif'})
Install the provided .zip via the Edit > Preferences > Add-ons menu.
When loading a .pcx file, a message referring to this README is shown.
pip install scipy
with pip install pillow
.
On old Blender / Python versions, an upgrade of pip might be necessary.Follow these instructions with adjustments for this repository.
The script can be accessed via File > Import:
Checking "Load custom skin" allows loading a UV map different from the one specified in the .md2 file. By entering a "displayed name" the object and mesh name in the outliner is specified.
Model keyframes are loaded with 9 empty frames in between and displayed in the dope sheet.
In the UV editor you can see both the UV map and the UV layout.
Using texture paint mode, this allows easily editing and adding new UV maps. The current importer does not support exporting a modified UV layout though.