RenolY2 / SuperBMD

A library to import and export various 3D model formats into the Binary Model (BMD) format. (Nintendo GC/Wii)
37 stars 10 forks source link

Only Add Shape Matrix Attributes If Mesh Rigged To > 1 Joint #54

Closed pish-pish closed 6 months ago

pish-pish commented 6 months ago

This feature ensures that shapes are only assigned matrix index attributes such as PositionMatrixIdx and Tex0Matrix - Tex7Matrix if the shape being assigned is under the influence of more than 1 joint. The vertices in each mesh are still assigned PositionMatrixIdx attributes to ensure they still have envelope matrix packets in EVP1.