Created attachment 2761[details]
IQM version 2 support, drops version 1 support. Adds a warning for unsupported versions.
IQM format was updated on May 31 2011 to version 2. See http://lee.fov120.com/iqm/ The change is joints and poses now save quaternion w component.
The attached patch does not continue to support version 1, does anyone think ioq3 should?
No, ioq3 should not support the older, broke version. This is so new for ioq3 at least that there's no large library of "old" content that won't work anymore. I mean, looking at this:
The IQM development kit can be downloaded here (iqm-2011-06-05.tar.gz, 2324KB). It includes:
- format descriptions for IQM and IQE
- IQM compiler for MD5, SMD, and IQE models
- Blender exporter (versions 2.49, 2.56, and 2.57) for both IQM and IQE formats
- sample code/demos for loading and rendering IQM models
If the exporters and the compiler are all updated to version 2, then again, I think it's wise to go with the latest bugfixed version. The toolchain's updated so I think there's no disadvantage to ioq3.
BTW, thanks for updating the patch to the latest!
Created attachment 2774[details]
Update iqm.h for IQM v2, fixed a IQM warning
Sorry, I missed including the iqm.h changes in the patch. Also fixed a warning I introduced in another IQM patch.
Created attachment 2774 [details] Update iqm.h for IQM v2, fixed a IQM warning Sorry, I missed including the iqm.h changes in the patch. Also fixed a warning I introduced in another IQM patch.