Important information: this site is currently scheduled to go offline indefinitely by end of the year.

3D Model Researcher - extract 3D models with Python

General game file tools that are useful for more than one game
Post Reply
Lazov
veteran
Posts: 84
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 17 times
Been thanked: 55 times

3D Model Researcher - extract 3D models with Python

Post by Lazov »

3D Model Researcher is a program for studying binary files of 3D models. Model Researcher allows to display and visualize the data read from the file with the specified parameters, and also save them in the 3D Obj format. The program is a great help with the search for vertex data, faces, texture coordinates and normal vectors in an unknown 3D format. The main feature of the program is the support of the scripts in the programming language Python, which allows to extract models from almost any format.

Image
Image
Image

Opportunities
- Analyze the 3D model files, search of vertices, faces, texture coordinates, normal vectors
- Data output is presented textually
- Data visualization in 3D format
- Visualization of texture coordinates
- Highlight data structure in the built-in Hex-Viewer
- Applying textures to the model
- Support of Python scripts
- Normals vectors
- System of submeshes
- Loading and saving templates with form values
- Data export in Obj format

Video:
Work of the program

Page of the program:
http://mr.game-viewer.org/

Guide:
http://mr.game-viewer.org/tutorial.php
Scripts usage:
http://mr.game-viewer.org/tutorial.php? ... mr_scripts
Description of API functions:
http://mr.game-viewer.org/tutorial.php?name=API

Thanks to herbert3000 for developing the program Model Inspector. The interface was copied from it.
Last edited by Lazov on Sat Sep 17, 2022 7:49 pm, edited 23 times in total.
luxox18
mega-veteran
mega-veteran
Posts: 176
Joined: Fri Jul 29, 2011 9:18 pm
Has thanked: 54 times
Been thanked: 46 times

Re: 3D Model Researcher - mesh viewer

Post by luxox18 »

amazing! I will stay tuned to your tool for new updates.
User avatar
cra0
ultra-veteran
ultra-veteran
Posts: 438
Joined: Fri Apr 27, 2012 9:37 am
Has thanked: 29 times
Been thanked: 189 times
Contact:

Re: 3D Model Researcher - mesh viewer

Post by cra0 »

I was going to code something like this but never got around to it.
Thankyou!
Lazov
veteran
Posts: 84
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 17 times
Been thanked: 55 times

Re: 3D Model Researcher - mesh viewer

Post by Lazov »

Updated the program.
Now the program has all the functions that I planned to add.
flipdark95
n00b
Posts: 13
Joined: Sun May 08, 2016 5:24 am
Been thanked: 2 times

Re: 3D Model Researcher - mesh viewer

Post by flipdark95 »

So just wondering, is there a basic guide for using this? Do I use it directly on model files?
Lazov
veteran
Posts: 84
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 17 times
Been thanked: 55 times

Re: 3D Model Researcher - mesh viewer

Post by Lazov »

flipdark95 wrote:So just wondering, is there a basic guide for using this? Do I use it directly on model files?
Yes, such a guide will be published on the program page. The new version of the program will support texture!
Image
Ronny
ultra-n00b
Posts: 8
Joined: Fri Jun 09, 2017 3:33 pm
Has thanked: 3 times

Re: 3D Model Researcher - mesh viewer

Post by Ronny »

Will it support animations in near future.
Lazov
veteran
Posts: 84
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 17 times
Been thanked: 55 times

Re: 3D Model Researcher - mesh viewer

Post by Lazov »

I already thought about it, it would be great. But with animation, everything is much more complicated: there are already bones, matrices, weights. It's not so easy to add support.
Lazov
veteran
Posts: 84
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 17 times
Been thanked: 55 times

Re: 3D Model Researcher - mesh viewer

Post by Lazov »

A new version has been released! Added support for textures. The guide will soon be translated into English.
Lazov
veteran
Posts: 84
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 17 times
Been thanked: 55 times

Re: 3D Model Researcher - mesh viewer

Post by Lazov »

Update
The guide is translated into English!
http://lazov.ru/mr/tutorial.php

What changed?
- Now the program supports Half-Float and Short
- A grid is drawn when UVs is displayed
- In the 3D View tab, added a small button - the function of centering the camera on the model.
- Changing the height and zoom of the camera
- You can change the background color, grid color, polygon color, vertex color. Saving settings.

The new version does not support Windows XP. If you need support for this operating system, write to me.
You do not have the required permissions to view the files attached to this post.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: 3D Model Researcher - mesh viewer

Post by Acewell »

Lazov wrote:The new version does not support Windows XP. If you need support for this operating system, write to me.
If you could just add support for half-float and shorts and skip FF bytes in face indices to the previous version that would suffice. :D
Lazov
veteran
Posts: 84
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 17 times
Been thanked: 55 times

Re: 3D Model Researcher - mesh viewer

Post by Lazov »

AceWell,The type of half-float appeared in new versions of Python, which do not support Windows XP.
What are the FF bytes? I heard about it, but I did not see such models. Can you give an example?
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: 3D Model Researcher - mesh viewer

Post by chrrox »

Lazov wrote:AceWell,The type of half-float appeared in new versions of Python, which do not support Windows XP.
What are the FF bytes? I heard about it, but I did not see such models. Can you give an example?

FF bytes are used to indicate a triangle strip reset normally.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: 3D Model Researcher - mesh viewer

Post by Acewell »

Lazov wrote:What are the FF bytes? I heard about it, but I did not see such models. Can you give an example?
there is a sample attached (si00bobj006_01_1.xfbin) to the bottom of this post that has the "FF FF" bytes in the face indices
viewtopic.php?p=80935#p80935
Lazov
veteran
Posts: 84
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 17 times
Been thanked: 55 times

Re: 3D Model Researcher - mesh viewer

Post by Lazov »

Thanks guys!
Update the program. In the old version, there was a large memory leak in the text output of the data.
Post Reply