Join also our Discord channel! Click here.

3D Model Researcher - extract 3D models with Python

General game file tools that are useful for more than one game
AMDFreak2006
ultra-n00b
Posts: 1
Joined: Thu Sep 17, 2020 6:26 pm
Has thanked: 1 time

Re: 3D Model Researcher - extract 3D models with Python

Post by AMDFreak2006 » Sun Oct 04, 2020 7:18 pm

Hello Lazov,

at first thanks for your great program. It allowed me to analyze the 3D format of an old game.
I was able to correctly get vertices, faces, normals as well as uv-maps within your program.

Sadly I have some small problem left:

When the FLIP Button is switched ON (standard setting) in 3D Model Researcher, I get a wrong placing of the UV map within the texture picture file.
The UV-map is shown vertically flipped around the center of the texture picture.

FLIP Button switched ON (standard setting):
Image

This of course results in a wrong rendering too:
Image

By switching the FLIP button OFF, 3D Model Researcher correctly flips the UV and shows the correct location in the texture picture:

FLIP Button switched OFF:
Image

Of course the rendering is then also correct:
Image

When I now save the file as OBJ and open it in any other 3D model editor, for example Blender or even a simple viewer as Microsofts Windows 10 built-in 3D-Viewer, the model is textured as if the Button FLIP has never been switched to OFF.

Looking at the UV-Map in Blender, it shows that it is located as if the FLIP button has been set to ON.

Blender:
Image

Is this a bug in 3D Model Researcher? It neither seems to save the flip button state within the OBJ file nor does it change any of the UV map coordinates, etc.

How can I get a correctly textured OBJ model export?

Thanks and best regards

Lazov
advanced
Posts: 65
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 16 times
Been thanked: 44 times

Re: 3D Model Researcher - extract 3D models with Python

Post by Lazov » Mon Oct 05, 2020 10:48 pm

AMDFreak2006
Yes, the program does not take into account the position of the texture when saving the model. I will try to fix it in the new version.
Thanks for reporting the issue.

Post Reply