lucasvinbr / blender_io_GTA5Ped

import-export of parts of OpenIV's openFormats for peds
GNU General Public License v3.0
29 stars 7 forks source link

Overall improvements to bring .mesh export on-par with OpenIV. Further improve skeleton import. #7

Closed mctrollin closed 9 months ago

mctrollin commented 9 months ago

General: Add vertex color support. Import: Improve skeleton bone orientations, fix for incorrect secondary bone axis. Export: Update tangent space support. Export: Improve bone weights, fix for distorted vertex positions influenced by facial bones. Export: Adjust unused uv and bone weight format to match OpenIV export.

mctrollin commented 9 months ago

Hi, I'm currently switching over from 3ds max to blender and was updating this addon during the process. Hope you don't mind. So testing my changes directly on my assets. But some further testing won't hurt. The thing with the bone weight adjustment was keeping me awake this week and was also broken in Sollumz. Not sure if GIMS was doing it correctly. Anyways, here we go! Cheers.

lucasvinbr commented 9 months ago

Wow, thanks a lot again hahahah! I'll try to test it ASAP

mctrollin commented 9 months ago

Added a submit to fix issues as you described if the model has no valid channels for weights or vertex colors.

lucasvinbr commented 9 months ago

So, I exported some more models and I think everything is fine now. Thanks again!

mctrollin commented 9 months ago

Good point about the defautl vVolor!