MeltyPlayer / FinModelUtility

Model viewer and command-line tools for extracting models from various GCN/3DS/PC games en-masse.
GNU General Public License v3.0
89 stars 9 forks source link

[Pikmin 1] Add support for materials #35

Open bingusgaming490 opened 6 months ago

bingusgaming490 commented 6 months ago

I dumped the models of Pikmin 1 with the batch file and viewed both the .fbx and .glb of models such as the Pikmin and Olimar and they don't seem to have any vertex and/or material colors Screenshot 2023-12-12 070155 Screenshot 2023-12-12 070217

Did I do something wrong? Is this something you couldn't figure out? I downloaded the latest repository from the source code

MeltyPlayer commented 6 months ago

Thanks for filing an issue!

These characters’ colors are actually specified via material shaders rather than vertex colors, and unfortunately I haven’t figured out the material format for Pikmin 1 yet.

You should be able to work around this by recreating the materials in whatever tool/engine you were hoping to import the models into. You could also just rip the models from Pikmin 2 instead (which has significantly better material support), though I believe that also specifies colors in the shader so that might also require some tinkering.