Marlamin / WoWExportTools

Tool for exporting WoW assets to more portable formats
MIT License
45 stars 15 forks source link

Adjusting M2 and WMO to be more compatible with OBJ spec, better 3DS … #76

Closed thunderysteak closed 4 years ago

thunderysteak commented 4 years ago

Fixing issue #75 that caused 3DS Max to error out on import and adjusting the file formatting to be within the spec. More sensitive OBJ importers should now be able to import the exported models error free. 3DS Max also requires a group name to be defined or it will error out. This unfortunately doesn't fix issues with 3DS Max 2018, as the OBJ importer itself is broken and Autodesk acknowledged the problem without providing a fix. Max 2018 users will encounter "Invalid texture index" error that can be only fixed by selecting "Import as single mesh" or running it through an external application to convert the model.

Marlamin commented 4 years ago

Looks fine, does the third value for texture coordinates actually do anything? All the reference I've found so far mention it being optional.

thunderysteak commented 4 years ago

No it doesn't. it's a leftover I missed removing when trying to fix the texture index issue before finding out that it's an issue with 3DS Max itself.

Marlamin commented 4 years ago

Should be fine as long as it doesn't cause any issues. Will merge but there's a remake of the exporter on the way so might have to keep an eye on that being compatible as well. It already follows the standard better by grouping the v/vn/vt's so should work fine.