Important information: this site is currently scheduled to go offline indefinitely by end of the year.
3D Model Researcher - extract 3D models with Python
-
- ultra-n00b
- Posts: 7
- Joined: Sat May 02, 2020 11:25 pm
- Has thanked: 3 times
- Been thanked: 2 times
Re: 3D Model Researcher - extract 3D models with Python
Please tell me how to do this calculation, this is an example:
Float ------> Short_signed
Vertices in float:
X = 34 80 45 C2 ----short_signed----> xx xx
Y = C1 F9 65 42 ----short_signed----> xx xx
Z = 94 F6 76 41 ----short_signed----> xx xx
UVs in float:
X = AD 69 0E 3F ----short_signed----> xx xx
Y = 5D FE 63 3F ----short_signed----> xx xx
Normals in float:
X = 66 96 66 BF ----short_signed----> xx xx
Y = 56 66 DE 3E ----short_signed----> xx xx
Z = 00 00 80 3F ----short_signed----> xx xx
Recently, I found a method called "Narrowing Primitive Conversion", it can convert the float to short_signed, but I don't know how to calculate it?
https://docs.oracle.com/javase/specs/jl ... #jls-5.1.3
Please if you know a model format with short_signed in vertices, UVs and normals, and we can convert the model to it, I think is better than this calculation.
Thanks in advance .
Float ------> Short_signed
Vertices in float:
X = 34 80 45 C2 ----short_signed----> xx xx
Y = C1 F9 65 42 ----short_signed----> xx xx
Z = 94 F6 76 41 ----short_signed----> xx xx
UVs in float:
X = AD 69 0E 3F ----short_signed----> xx xx
Y = 5D FE 63 3F ----short_signed----> xx xx
Normals in float:
X = 66 96 66 BF ----short_signed----> xx xx
Y = 56 66 DE 3E ----short_signed----> xx xx
Z = 00 00 80 3F ----short_signed----> xx xx
Recently, I found a method called "Narrowing Primitive Conversion", it can convert the float to short_signed, but I don't know how to calculate it?
https://docs.oracle.com/javase/specs/jl ... #jls-5.1.3
Please if you know a model format with short_signed in vertices, UVs and normals, and we can convert the model to it, I think is better than this calculation.
Thanks in advance .
Last edited by Segal on Thu May 21, 2020 7:01 pm, edited 1 time in total.
-
- ultra-n00b
- Posts: 7
- Joined: Sat May 02, 2020 11:25 pm
- Has thanked: 3 times
- Been thanked: 2 times
Re: 3D Model Researcher - extract 3D models with Python
Hi Mr. Lazov, thank you very much for your efforts, finally I found it! it's a simple way to convert any model to float or short_signed in all vertices, normals and UVs coordinates, and reimport him to the game again.
-
- veteran
- Posts: 96
- Joined: Sun Jan 07, 2018 6:51 pm
- Has thanked: 10 times
Re: 3D Model Researcher - extract 3D models with Python
Hi,
Perhaps is possible do extract something from these old MDL files? Because I found some verticles, but idk how to do with the faces and UVs
https://www.dropbox.com/s/3jf2kgw3f8nu28t/A10.mdl?dl=0
Perhaps is possible do extract something from these old MDL files? Because I found some verticles, but idk how to do with the faces and UVs
https://www.dropbox.com/s/3jf2kgw3f8nu28t/A10.mdl?dl=0
-
- ultra-n00b
- Posts: 7
- Joined: Sat May 02, 2020 11:25 pm
- Has thanked: 3 times
- Been thanked: 2 times
Re: 3D Model Researcher - extract 3D models with Python
Hi, Mr. Fiammanera628, I found on this file 55 models, I was extracted them to obj, also I saved all Model Resercher .tmr templates, for helping to extract other models.Fiammanera628 wrote: ↑Thu May 21, 2020 7:00 pm Hi,
Perhaps is possible do extract something from these old MDL files? Because I found some verticles, but idk how to do with the faces and UVs
https://www.dropbox.com/s/3jf2kgw3f8nu28t/A10.mdl?dl=0
Note before each vertices, normals and UVs, also the faces you will find a hex number convert it to decimal, and thats was the count.
You can find all files in this link:
https://drive.google.com/open?id=1CM3Cl ... rJyGJMRJbm
-
- veteran
- Posts: 96
- Joined: Sun Jan 07, 2018 6:51 pm
- Has thanked: 10 times
Re: 3D Model Researcher - extract 3D models with Python
Thank you very much!Segal wrote: ↑Fri May 22, 2020 1:55 amHi, Mr. Fiammanera628, I found on this file 55 models, I was extracted them to obj, also I saved all Model Resercher .tmr templates, for helping to extract other models.Fiammanera628 wrote: ↑Thu May 21, 2020 7:00 pm Hi,
Perhaps is possible do extract something from these old MDL files? Because I found some verticles, but idk how to do with the faces and UVs
https://www.dropbox.com/s/3jf2kgw3f8nu28t/A10.mdl?dl=0
Note before each vertices, normals and UVs, also the faces you will find a hex number convert it to decimal, and thats was the count.
You can find all files in this link:
https://drive.google.com/open?id=1CM3Cl ... rJyGJMRJbm
But is only a thing I don't understand: the UVs. How do you find the start address?
Because I tried to open 3 models into another file, and only one has got (more or less) the correct UVs
-
- ultra-n00b
- Posts: 7
- Joined: Sat May 02, 2020 11:25 pm
- Has thanked: 3 times
- Been thanked: 2 times
Re: 3D Model Researcher - extract 3D models with Python
If you knew the right vertices offsets and count, usually come after them the normals with float or short_signed and with the same vertices count, and after the normals comes the UVs also with float or short_signed and with the same vertices and normals count, like in the .tmr examples that I gave you. If you had a problem to find UVs, you can put a link for these models, I can help you to find them.Fiammanera628 wrote: ↑Fri May 22, 2020 12:32 pmThank you very much!Segal wrote: ↑Fri May 22, 2020 1:55 amHi, Mr. Fiammanera628, I found on this file 55 models, I was extracted them to obj, also I saved all Model Resercher .tmr templates, for helping to extract other models.Fiammanera628 wrote: ↑Thu May 21, 2020 7:00 pm Hi,
Perhaps is possible do extract something from these old MDL files? Because I found some verticles, but idk how to do with the faces and UVs
https://www.dropbox.com/s/3jf2kgw3f8nu28t/A10.mdl?dl=0
Note before each vertices, normals and UVs, also the faces you will find a hex number convert it to decimal, and thats was the count.
You can find all files in this link:
https://drive.google.com/open?id=1CM3Cl ... rJyGJMRJbm
But is only a thing I don't understand: the UVs. How do you find the start address?
Because I tried to open 3 models into another file, and only one has got (more or less) the correct UVs
-
- veteran
- Posts: 96
- Joined: Sun Jan 07, 2018 6:51 pm
- Has thanked: 10 times
Re: 3D Model Researcher - extract 3D models with Python
Ok, I link to you also my .tmr, so you check what I mistake, because I don't understand what I am wrongIf you knew the right vertices offsets and count, usually come after them the normals with float or short_signed and with the same vertices count, and after the normals comes the UVs also with float or short_signed and with the same vertices and normals count, like in the .tmr examples that I gave you. If you had a problem to find UVs, you can put a link for these models, I can help you to find them.
the model (+ texture) and the template:
https://www.dropbox.com/s/lf53gnssadc4qvj/B1B.zip?dl=0
-
- veteran
- Posts: 84
- Joined: Sat Oct 08, 2016 11:56 am
- Has thanked: 17 times
- Been thanked: 55 times
Re: 3D Model Researcher - extract 3D models with Python
It depends on the program that uses this data format. Model Researcher divides by 256. It turns out that this formula should work:
float * 256 = short_s.
-
- ultra-n00b
- Posts: 7
- Joined: Sat May 02, 2020 11:25 pm
- Has thanked: 3 times
- Been thanked: 2 times
Re: 3D Model Researcher - extract 3D models with Python
In .tmr template that you gave me all vertices, normals and UVs is right, but Model Researcher shows unorganized UVs, why?Fiammanera628 wrote: ↑Sat May 23, 2020 10:57 amOk, I link to you also my .tmr, so you check what I mistake, because I don't understand what I am wrongIf you knew the right vertices offsets and count, usually come after them the normals with float or short_signed and with the same vertices count, and after the normals comes the UVs also with float or short_signed and with the same vertices and normals count, like in the .tmr examples that I gave you. If you had a problem to find UVs, you can put a link for these models, I can help you to find them.
the model (+ texture) and the template:
https://www.dropbox.com/s/lf53gnssadc4qvj/B1B.zip?dl=0
Because they are outside the image bounds, just save the obj and open it with any 3D software, for example I use Blender. And you will see the full UVs.
-
- veteran
- Posts: 96
- Joined: Sun Jan 07, 2018 6:51 pm
- Has thanked: 10 times
Re: 3D Model Researcher - extract 3D models with Python
Oooooh, that's why... Thank you once again Segal!
-
- ultra-n00b
- Posts: 5
- Joined: Fri May 15, 2020 5:57 am
- Has thanked: 2 times
Re: 3D Model Researcher - extract 3D models with Python
If anyone knows how to extract models well, can you extract the models from Ben 10 Vilgax Attacks and Ben 10 Cosmic Destruction and send them to me? Specifically Chromastone, Alien X, Jetray, and Amphibian
-
- ultra-n00b
- Posts: 1
- Joined: Sat Jun 27, 2020 6:57 am
Re: 3D Model Researcher - extract 3D models with Python
Hi ,Ditta wrote: ↑Fri Dec 29, 2017 9:27 pm Please, tell how to run this program on Windows 7 x64? When I tried to run it, it required api-ms-win-crt-runtime-l1-1-0.dll. I downloaded these Dlls for both Win32 and Win64 versions, copied them in system\win32 and system\WoW64 folders, but it doesn't help. Now the program shows the error message 0xc000007b and I cannot run it. What to do to fix that issue?
Surely I am here to help you.
Follow these steps.
Firstly check your windows whether it”s updated or not
If Windows is updated and everything looks fine, try re-installing the particular program that is reverting https://dll.one/how-to-fix-api-ms-win-c ... ing-error/
Repair installed Visual C++ 2015 Redistributable package[/b]
if you already have the Visual C++ 2015 Redistributable package installed on your computer and still getting the error, there’s a high chance that it can be fixed by repairing the program.
Install Microsoft Visual C++ Redistributable Update.
Register the DLL file:
Copy-paste the api-ms-win-crt-runtime-l1-1-0.dll file
Next, plug the drive on your computer and copy that file and head over to C:\Windows\System32\downlevel and paste it there, and that’s it.
Hope your problem get solved by following these steps.
Donald Regal Toss
Re: 3D Model Researcher - extract 3D models with Python
Hello, I was wondering, is 3d model researcher expecting certain file formats for the textures?
I currently have a .tga file I am importing but seem to be having some issues.
Figured I would ask, though am guessing it is an error on my side.
I currently have a .tga file I am importing but seem to be having some issues.
Figured I would ask, though am guessing it is an error on my side.
-
- ultra-n00b
- Posts: 8
- Joined: Sat Dec 29, 2018 8:02 pm
- Been thanked: 1 time
Re: 3D Model Researcher - extract 3D models with Python
Hy there friends, i have a problem finding normals address for one model, so i was wondering if could someone help
with finding normals for the model, i found vertices and polygons, just need to find normals?
i would be very grateful for little help.
Thanks!
Here is the link with model file and tamplate file.
https://drive.google.com/file/d/1csfUxh ... sp=sharing
with finding normals for the model, i found vertices and polygons, just need to find normals?
i would be very grateful for little help.
Thanks!
Here is the link with model file and tamplate file.
https://drive.google.com/file/d/1csfUxh ... sp=sharing