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

Bounding sphere/box filled with what appears to be garbage data #35

Closed pish-pish closed 2 years ago

pish-pish commented 2 years ago

The data for bounding spheres/boxes per joints appears to be either all 0x00, or 0x7F7FFFFF for both min and max xyz. I noticed that if a model has more than one joint, it usually fills it with 0x00 otherwise, it fills it with the aforementioned garbage data.

This causes models to cull when the model origin is off screen, perhaps in the future this could be fixed.