Urban Wars

Urban Wars => Urban Wars Suggestions => Topic started by: DukeInstinct on July 13, 2010, 02:04:28 am



Title: .iqm model format
Post by: DukeInstinct on July 13, 2010, 02:04:28 am
InterQuakeModel

http://lee.fov120.com/iqm/ (http://lee.fov120.com/iqm/)
http://dpwiki.slipgateconstruct.com/index.php?title=Modeling_for_DP (http://dpwiki.slipgateconstruct.com/index.php?title=Modeling_for_DP)

The .md3 version of our M4Carbine first person model has a file size of 2,808,280 bytes. (2.67 MB)
The .iqm  version of our M4Carbine first person model has a file size of 283,940 bytes. (0.27 MB) 10% of .md3 file size.

The .iqm also renders faster, has more features than .md3, and is already supported by DarkPlaces.


Title: Re: .iqm model format
Post by: Nixtwiz on July 13, 2010, 02:30:16 am
sounds good to me. is there a blender export script?


Title: Re: .iqm model format
Post by: DukeInstinct on July 13, 2010, 03:12:26 am
Quote
is there a blender export script?

Yes, for both 2.49 and 2.5. I uploaded them to the drop box in the models folder.


I should also mention that animation blending can be done with the .iqm format via CSQC. So if we had a weapon select animation for the player model that only used the arms and hands, we could blend that with his run animation.

I've also heard you can also manipulate individual bones from CSQC as well. Meaning we could make a player model's head track certain objects.

The only problem is that the .iqm models aren't showing up in game yet. I think it might be caused by this warning I get when exporting:
Quote
574: DeprecationWarning: struct integer overflow masking is deprecated


Title: Re: .iqm model format
Post by: Nixtwiz on July 13, 2010, 07:18:27 pm
and that means?...


Title: Re: .iqm model format
Post by: DukeInstinct on July 13, 2010, 08:37:26 pm
Deprecation is basically another word for obsolete. An obsolete function or method is being used, apparently.