Scobalula / Husky

Call of Duty BSP Extractor
GNU General Public License v3.0
104 stars 33 forks source link

Added new mtl file when generating obj file #1

Closed ApexModder closed 6 years ago

ApexModder commented 6 years ago

When importing the OBJ model into Maya it was not loading in any materials. Quick look around in the OBJ file and I noticed that the mesh's are named the same as the materials they use. This change just generates a extra file which creates material entries when the OBJ is imported.

Only missing from these map dumps now is collision, if we somehow get, remasters be crazy accurate.

Preview of generated materials in Maya Note: Some are colored to show they are actually bound to a mesh Preview

Original - Started of as some shitty JS script

Scobalula commented 6 years ago

I can't merge this as I've made drastic changes to my local branch which this conflicts with, but I will implement them on my new code. Thanks.