Posted: Mon Mar 26, 2012 3:07 am
I would also try the call to mdlc.exe WITHOUT the -optimize flag.Adaven wrote:QUOTE (Adaven @ Mar 23 2012, 10:09 PM) After having to monkey around a bit (I really fail at visual studio), I finally managed to use mdld a few times.
What I've noticed
1. acs01.mdl in my artwork folder is 12kb
2. If I extract it to a text mdl and run through mdlcThen acs01compiled is 139kb. This is the same result I got from running xmunge/mdlc (via makegeo.bat) using the MS .x files. As Compellor pointed out in another thread, apparently the texture is getting embedded in the compiled .mdl along with the model instead of referencing acs01bmp.mdl.Code: Select all
mdld.exe /file=acs01.mdl /out=acs01text.mdl mdlc.exe -optimze acs01text.mdl acs01compiled.mdl
Has anyone ever figured a way around this?
Also I think there is a little floating point error somewhere in the BinaryMDl -> TextMDL -> BinaryMDL Process.
When I do a diff on the original and the results after going thorugh the whole process I notice each float is off by 1.
I used beyond compare to check if the process is lossless, and its not quite there yet. Though it is likely not visible, but it may be if run through the process a lot of times.