Open Ebola16 opened 7 years ago
Found the issue, material reference Texture Coordinates and Texture Matrix Effect have strange values. Multiple stages have similar, strange material references values so this may have something to do with a method for editing DAE before importing into Brawlbox.
Perhaps we could add a check before saving to make sure coordinates aren't scaled by 0, especially in material reference Texture Coordinates? We could change scaled coordinates of 0 to 1 in case the changes are unintentional. I think some users also try using scaling coordinates by 0 to hide objects but I think the message should include that scaling by 0.00001 is a better way to do that (someone please verify). That will solve most of this issue but I still have no idea where the values in Texture Matrix Effect are coming from.
In the image below, the left two instances of Brawlbox show a stage with the strange values. The rightmost instance shows how the problem can be corrected:
See below image. The left side shows the collision editor preview and the right shows Dolphin's proper rendering of the stage.
Here is the stage: Forest of Death.zip