Help me vet this MDL importer.

#13
Here (https://anon.swordofmoonlight.com/holy/S..._debug.exe) is a new version. I think this will be the last until I have some animations going.

I worked out the frame buffer mapping afaik. The files don't really seem consistent. I don't think the TIMs are limited to just the four "TIM Banks" I've seen ones which are not. But basically if a mapping to the framebuffer can't be made (a texture isn't where it should be) the first texture in the file seems to be used by default. This happens really fairly often. There aren't that many files with more than one texture and none with more than two afaik. Since there is no x2mdl program there's no way to know anything beyond what's in the mdl files themselves. We can test the limits of this sometime down the road I reckon.

I've also noticed enough of the TIMs have irregular coordinates in the frame buffer. Usually like they start on Y=1 instead of Y=0. If Som interprets this literally (or fails to -- if it was important to the modelers) it might explain the seams in the models. I will have to look into that further.


PS: If I get some of the transparency stuff working efficiently I will upload that / let you know. Assimp's transparency model is present overly conservative / probably broken. So it's more of a prob of leaning on Assimp's principal authors.
Reply



Messages In This Thread
Help me vet this MDL importer. - by HolyDiver - 2010-04-13, 05:35 AM
Re: Help me vet this MDL importer. - by HolyDiver - 2010-04-13, 08:52 AM
Re: Help me vet this MDL importer. - by HolyDiver - 2010-04-13, 10:23 AM
Re: Help me vet this MDL importer. - by dmpdesign - 2010-04-13, 01:25 PM
Re: Help me vet this MDL importer. - by HolyDiver - 2010-04-13, 09:57 PM
Re: Help me vet this MDL importer. - by HolyDiver - 2010-04-13, 10:10 PM
Re: Help me vet this MDL importer. - by dmpdesign - 2010-04-14, 01:09 AM
Re: Help me vet this MDL importer. - by HolyDiver - 2010-04-14, 06:31 AM
Re: Help me vet this MDL importer. - by HolyDiver - 2010-04-14, 12:22 PM
Re: Help me vet this MDL importer. - by HolyDiver - 2010-04-14, 10:56 PM
Re: Help me vet this MDL importer. - by HolyDiver - 2010-04-15, 06:22 AM
Re: Help me vet this MDL importer. - by HolyDiver - 2010-04-16, 01:41 AM
Re: Help me vet this MDL importer. - by HolyDiver - 2010-04-16, 08:09 AM
Re: Help me vet this MDL importer. - by HolyDiver - 2010-04-16, 08:16 AM
Re: Help me vet this MDL importer. - by HolyDiver - 2010-04-16, 10:53 AM
Re: Help me vet this MDL importer. - by HolyDiver - 2010-04-26, 01:11 AM
Re: Help me vet this MDL importer. - by HolyDiver - 2010-04-29, 01:45 AM
Re: Help me vet this MDL importer. - by HolyDiver - 2010-05-04, 05:20 AM
Re: Help me vet this MDL importer. - by HolyDiver - 2010-05-04, 11:30 PM
Re: Help me vet this MDL importer. - by Verdite - 2010-05-26, 07:29 PM
Re: Help me vet this MDL importer. - by HolyDiver - 2010-05-27, 09:39 PM
Re: Help me vet this MDL importer. - by Verdite - 2010-07-22, 11:52 AM
Re: Help me vet this MDL importer. - by dmpdesign - 2010-07-23, 01:34 PM
Re: Help me vet this MDL importer. - by HolyDiver - 2010-07-27, 12:40 AM
Re: Help me vet this MDL importer. - by Verdite - 2010-07-27, 01:01 AM
Re: Help me vet this MDL importer. - by HolyDiver - 2010-08-23, 02:39 AM
Re: Help me vet this MDL importer. - by Verdite - 2010-08-25, 12:15 PM
Re: Help me vet this MDL importer. - by HolyDiver - 2010-08-29, 06:43 AM
Re: Help me vet this MDL importer. - by HolyDiver - 2010-08-29, 07:07 AM



Users browsing this thread:
4 Guest(s)