KnuckleCracker / CW4-bug-tracker

The gathering point for bugs and supporting information, or suggestions about additional features.
Creative Commons Attribution Share Alike 4.0 International
13 stars 1 forks source link

Add ability to export meshes and textures from a CPACK #1029

Closed knucracker closed 2 years ago

knucracker commented 2 years ago

Add ability to export meshes and textures from a CPACK.

knucracker commented 2 years ago

Added an export button to the mesh edit and texture edit panes. Meshes will be exported as obj files. Note: Only the information the game has on the mesh data is exported. If you import a model, say and FBX, the game only cares about vertices, faces, normals, and vertex colors (optionally). When you export a mesh, only that information is exported. The original model is not stored in the CPACK.

For textures, they are exported as PNG files regardless of the original import format.