scurest / apicula

Convert Nintendo DS .nsbmd models
BSD Zero Clause License
160 stars 19 forks source link

Extracting Sequenced animations #49

Open the10thWiz opened 2 years ago

the10thWiz commented 2 years ago

While attempting to extract the models from Pictocross 3D, I discovered that some models are exported in a slightly odd way, with multiple overlapping meshes. The one interesting feature I noticed is that they contain multiple 0x02 render commands.

My best guess for what the 0x02 render command actually does is apply an animation to the model, identified by the first parameter. The second parameter actually identifies whether this call is the final one, so every call is zero, except the final one.