add IQM format support into lib/picomodel
This is a combination of 2 commits.
- add IQM format support into lib/picomodel
- Merge illwieckz their portability fix
eukara said on GtkRadiant PR:
This adds support for the InterQuake Model format that engines such as ioQuake3, FTE QuakeWorld and many more support. Animations are not supported (just like most other included model formats) so it'll only load the base pose.
eukara also said on #radiant @ QuakeNet IRC:
I want to get away from having to maintain this and get it into mainline editors.
The code is ported from WorldSpawn (Radiant fork): https://github.com/VeraVisions/worldspawn
It replaces the previous radiant-only iqmmodel plugin:
- import iqmmodel support from aaradiant
- plugins/iqmmodel: apply textures on surfaces
It looks the same:
But since picomodel is also supported by q3map2, it allows to bake iqm models in bsp, unlike the previous radiant-only iqmmodel plugin:
Edit (2021-08-22): the patch just got merged in DarkRadiant as well: