gdkchan / SPICA

Experimental H3D tool
The Unlicense
95 stars 46 forks source link

Please add support for monster hunter X #20

Open freedom12 opened 7 years ago

freedom12 commented 7 years ago

https://drive.google.com/file/d/0ByJuVVFkcEVzZWVMZGViamZscEk/view?usp=sharing

This is an arc file form monster hunter X I extract some files (such like MOD,TEX) from it,but it does not work

sorry for missing the lfx file. https://drive.google.com/open?id=0ByJuVVFkcEVzamh1Y1ltNWFpZmM

CarlosFdez commented 6 years ago

Pardon my complete lack of expertise, but I started digging around recently (with a weapon instead), and after cross referencing with existing converters, it seems like part of the cause may have something to do with mipmaps?

I added some code to skip past the mipmap offset section (plus set MipmapSize to the parsed value on the texture), and while the loaded texture looks significantly better, the actual model leaves something to be desired.

image

Unfortunately, I don't know if the problem with the model is because of UV unwrapping or because its only loading the first mipmap. It doesn't seem like the application uses the MipMapSize field?

I opened the exported collada model in blender and I didn't see any UV map so 🤷‍♂️ .