r8533 - trunk/zmodel

divverent at icculus.org divverent at icculus.org
Sat Oct 18 12:09:38 EDT 2008


Author: divverent
Date: 2008-10-18 12:09:38 -0400 (Sat, 18 Oct 2008)
New Revision: 8533

Modified:
   trunk/zmodel/zmodel.c
Log is attached.
Move the place where modelscale is applied away from making the bone matrices to reading the .smd file and applying it directly to the bone and triangle xyz coords. Fixes zmodel creating zyms with a root bone that contains a scaling component in its matrix, causing weird effects in darkplaces (like, attached weapons getting displayed smaller/larger by the modelscale factor).


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20081018.160938.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20081018/546d5771/attachment.diff>


More information about the twilight-commits mailing list