rickomax / psxprev

PSXPREV - Playstation (PSX) Files Previewer/Extractor
BSD 2-Clause "Simplified" License
193 stars 10 forks source link

Exported OBJ models are always merged #38

Closed Jaffacakelover closed 8 months ago

Jaffacakelover commented 2 years ago

My example is Chris Redfield's character model from Resident Evil 1. It consists of 1 EMD model and 19 Sub-Models. Ignoring that all Sub-Models are centered for now - assuming their positioning can be fixed using animations somehow.

2021-10-14 21_59_03-PSXPrev Alpha 0 9 8 2

I tick the checkbox for this model and use Models > Export Selected > Wavefront.OBJ. The existence of the Wavefront.OBJ - Merged options suggests that the option I picked will produce "un-merged". However, when I import the resulting OBJ file into Blender, all of the Sub-Models have been merged into 1 mesh.

2021-10-14 22_00_33-Blender

This limitation looks to be due to the contents of the exported OBJ file, rather than Blender's import function.

The program will not let me export Sub-Models individually, only Models.

Is it possible for the export to create the Sub-Models as seperate objects within an OBJ file, or even as 1 OBJ file per Sub-Model?

trigger-segfault commented 8 months ago

This feature has been added in the latest public release: https://github.com/rickomax/psxprev/releases/tag/0.9.9.2

You can change this by selecting the clicking the Group by Model dropdown and selecting Split by TMD ID.