Page 8 of 8

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

Posted: Fri May 08, 2020 5:31 pm
by Lazov
To convert shor_signed to float, the program seems to divide the number by 256 or 0xffff.

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

Posted: Sat May 09, 2020 12:55 am
by Segal
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 :] .

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

Posted: Thu May 21, 2020 6:51 pm
by Segal
Hi Mr. Lazov, thank you very much for your efforts, finally I found it! :D 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.

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

Posted: Thu May 21, 2020 7:00 pm
by Fiammanera628
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 :eek:

https://www.dropbox.com/s/3jf2kgw3f8nu28t/A10.mdl?dl=0

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

Posted: Fri May 22, 2020 1:55 am
by Segal
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 :eek:

https://www.dropbox.com/s/3jf2kgw3f8nu28t/A10.mdl?dl=0
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.
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

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

Posted: Fri May 22, 2020 12:32 pm
by Fiammanera628
Segal wrote:
Fri May 22, 2020 1:55 am
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 :eek:

https://www.dropbox.com/s/3jf2kgw3f8nu28t/A10.mdl?dl=0
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.
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
Thank you very much!

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

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

Posted: Sat May 23, 2020 2:06 am
by Segal
Fiammanera628 wrote:
Fri May 22, 2020 12:32 pm
Segal wrote:
Fri May 22, 2020 1:55 am
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 :eek:

https://www.dropbox.com/s/3jf2kgw3f8nu28t/A10.mdl?dl=0
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.
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
Thank you very much!

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
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.

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

Posted: Sat May 23, 2020 10:57 am
by Fiammanera628
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.
Ok, I link to you also my .tmr, so you check what I mistake, because I don't understand what I am wrong :wink:
the model (+ texture) and the template:
https://www.dropbox.com/s/lf53gnssadc4qvj/B1B.zip?dl=0

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

Posted: Sat May 23, 2020 11:53 am
by Lazov
Segal wrote:
Sat May 09, 2020 12:55 am
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
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.

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

Posted: Sun May 24, 2020 2:12 am
by Segal
Fiammanera628 wrote:
Sat May 23, 2020 10:57 am
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.
Ok, I link to you also my .tmr, so you check what I mistake, because I don't understand what I am wrong :wink:
the model (+ texture) and the template:
https://www.dropbox.com/s/lf53gnssadc4qvj/B1B.zip?dl=0
In .tmr template that you gave me all vertices, normals and UVs is right, but Model Researcher shows unorganized UVs, why?
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.
Image

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

Posted: Sun May 24, 2020 1:29 pm
by Fiammanera628
Oooooh, that's why... Thank you once again Segal! :D

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

Posted: Thu Jun 18, 2020 2:58 am
by aquaamann333
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

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

Posted: Sat Jun 27, 2020 6:59 am
by donaldregal1
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?
Hi ,

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