Jump to content

How to Get The Material List of a 3D Model?


Recommended Posts

Hi. :helpsmilie:

 

Simple question with an example: How can I get the material list of Mig-29 cockpit? :music_whistling: or Bf-109K4, or any one...

 

I'm about to cry for this information.

I figured that my modding life was literally attached to uboats! After his outdated app, I'm finished!!! :D

 

If I buy a 3D Modelling software, can I reach list of a model by opening it in the software?

 

Ttthhhaaannnkkksss!

i7-2600 @3.4GHz | Corsair 16GB @1600MHz. | MSI GTX1660Ti Gaming X | Samsung 256GB SSD (Win10HPx64)
Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | Saitek X-55 Rhino & Rudder | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5
>>MY MODS<< | Discord: Devrim#1068

Link to comment
Share on other sites

Hi. :helpsmilie:

 

Simple question with an example: How can I get the material list of Mig-29 cockpit? :music_whistling: or Bf-109K4, or any one...

 

I'm about to cry for this information.

I figured that my modding life was literally attached to uboats! After his outdated app, I'm finished!!! :D

 

If I buy a 3D Modelling software, can I reach list of a model by opening it in the software?

 

Ttthhhaaannnkkksss!

 

You can analyze the edm with notepad++ and figure out "manually" the materials name.

About one hour of work and your description.lua for MiG-29 is ready:D

description.lua

MainMenulogo.png.6e3b585a30c5c1ba684bc2d91f3e37f0.png

 

ACER Predator Orion 9000: W10H | Intel i9-7900X OC@4.5Ghz | 8x16GB Crucial Ballistix Sport | Sapphire GTX1080TI | Intel 900P 480GB | Intel 600P 256GB | HP EX950 1TB | Seagate Firecuda 2TB

ACER Predator XB281HK: 28" TN G-SYNC 4K@60hz

ThrustMaster Warthog Hotas, TPR, MFD Cougar Pack, HP Reverb Pro

Link to comment
Share on other sites

Wow. You're the man, Automan.

 

Actually, probably we looked at the EDM in the same time. I glanced it via a HEX Editor. I've found some traces and read some words, like "cockpit" and "TX1" but couldn't get them together like you did.

 

I'll try to "analyze" EDMs via Notepad++.

 

Thank you so much Automan, and thank for your one hour. :)

i7-2600 @3.4GHz | Corsair 16GB @1600MHz. | MSI GTX1660Ti Gaming X | Samsung 256GB SSD (Win10HPx64)
Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | Saitek X-55 Rhino & Rudder | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5
>>MY MODS<< | Discord: Devrim#1068

Link to comment
Share on other sites

Hey Automan.

 

Now... I have some questions.

 

These lines are what I see in EDM.

Mig-29-13_cockpit_TX3
SHADOWS
TEXTURES

mig29-13_cockpit_tx3
mig29-13_cockpit_tx3_normal
mig29-13_cockpit_tx3_roughmet
UNIFORMS
specPower
specFactor
reflectionBlurring
reflectionValue
diffuseValue
specMapValue
diffuseShift
normalMapValue
ANIMATED_UNIFORMS

self_illum_material
Mig-29-13_cockpit_TX1
mig29-13_cockpit_tx1
mig29-13_cockpit_tx1_normal
mig29-13_cockpit_tx1_roughmet
multiplyDiffuse
selfIlluminationColor
phosphor
selfIlluminationValue
Mig-29-13_cockpit_HUD_tx
mig-29-13_cockpit_hud
mig-29-13_cockpit_hud_normal
mig-29-13_cockpit_hud_roughmet

glass_instrumental_material
Mig-29_cptHUD_glass
mig-29_cpthud_glass
Mig-29-13_cockpit_TX2
mig29-13_cockpit_tx2
mig29-13_cockpit_tx2_normal
mig29-13_cockpit_tx2_roughmet

transparent_self_illum_material
Mig-29_cpt_lamps
mig-29_cpt_lamps
Mig-29-13_cockpit_Shadow
mig-29_cockpit-sh

glass_material
Mig-29_Cockpit_glass
mig-29-13_cpt_glass
mig29_cpt-glass_nrm
mig-29-13_cpt_glasscolor
decalShift

mirror_material
Mig-29_cockpit_Mirrors
mirror_mig29

Material
#0
Mig-29_cptHUD_glass-2
Mig-29_cockpit_K-36
mig-29_cpt_k36
mig-29_cpt_k36_normal
mig-29_cpt_k36_roughmet
Mig-29_cpt_INSTR_Refl
mig-29-cpt_instr_refl
SI_cpt_KI-13
mig-29-cpt_ki-13
Mig-29-13_cpt_KI-13
Mig-29_cpt_EKRAN_1
mig-29-cpt_ekr
Mig-29_cpt_EKRAN_2
Mig-29_cpt_EKRAN_3
Mig-29_cpt_EKRAN_4-1
Mig-29_cpt_EKRAN_5
Mig-29_cpt_EKRAN_6
Mig-29_cpt_EKRAN_7
Mig-29_cpt_EKRAN_8

 

1st confusion of mine is that I missed the "dash" symbol between "Mig" and "29". There's a mix > "Mig-29" or "Mig29"... Anyway...

 

2nd; In this line:

{"Mig-29-13_cockpit_TX1", ROUGHNESS_METALLIC ,"Mig29-13_cockpit_TX1_roughmet",false};

"2" won't work anymore! (WHY? Why ED?) Instead, "ROUGHNESS_METALLIC" phrase works. How do you know or see that?

 

Could you please tell me; how do you pick phrases and put together?

Thank you.


Edited by Devrim

i7-2600 @3.4GHz | Corsair 16GB @1600MHz. | MSI GTX1660Ti Gaming X | Samsung 256GB SSD (Win10HPx64)
Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | Saitek X-55 Rhino & Rudder | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5
>>MY MODS<< | Discord: Devrim#1068

Link to comment
Share on other sites

2 was the channel for specular map, but now most of the models are pbr native or converted and use the roughmet map.

About naming conventions in the description.lua, you can use the verbose version ROUGHNESS_METALLIC or numeric 13 for roughmet map

 

Take a look of this guide

 

https://forums.eagle.ru/showthread.php?t=193596

MainMenulogo.png.6e3b585a30c5c1ba684bc2d91f3e37f0.png

 

ACER Predator Orion 9000: W10H | Intel i9-7900X OC@4.5Ghz | 8x16GB Crucial Ballistix Sport | Sapphire GTX1080TI | Intel 900P 480GB | Intel 600P 256GB | HP EX950 1TB | Seagate Firecuda 2TB

ACER Predator XB281HK: 28" TN G-SYNC 4K@60hz

ThrustMaster Warthog Hotas, TPR, MFD Cougar Pack, HP Reverb Pro

Link to comment
Share on other sites

Hi Automan,

 

could you do me a favor, too?

 

I'm trying to get a description.lua for the Spitfire cockpit and the one I got gets ignored, unfortunately.

Could you tell me how to effectively analyze the edm, please?

 

So far, I used the string command under linux as advised here: https://forums.eagle.ru/showpost.php?p=3658004&postcount=92

 

In this thread I see that there might be dashes in the material names that aren't there in the material names (mig29 -- Mig-29) but I fail to see something similar in my edm_string. I attached the description I got (for the textures I need) - do you by chance see the mistake(s) I'm making? Thank you!

 

Not sure if I may attach the edm_string but if you need it please advise - thanks!


Edited by ams999

"[...] because, basically, in this day and age, if you get to the merge and no one's died - it's not good for anybody." - Keith 'Okie' Nance
"Nun siegt mal schön!" - Theodor Heuss, September 1958

"Nobody has any intention of building a wall." - Walter Ulbricht, June 1961
"Russia has no plans to invade either Ukraine or any other country.
" - Vladimir Chizhov, Russia's ambassador to the EU, January 2022

Link to comment
Share on other sites

OK, finally I seem to be getting *somewhere*, here is a first revised lua.

 

Still, help is appreciated...


Edited by ams999

"[...] because, basically, in this day and age, if you get to the merge and no one's died - it's not good for anybody." - Keith 'Okie' Nance
"Nun siegt mal schön!" - Theodor Heuss, September 1958

"Nobody has any intention of building a wall." - Walter Ulbricht, June 1961
"Russia has no plans to invade either Ukraine or any other country.
" - Vladimir Chizhov, Russia's ambassador to the EU, January 2022

Link to comment
Share on other sites

OK, I think I managed to get the lua in way that it actually works now - though, should there be mistakes, looking forward to corrections!

 

Also, if you have tips how to analyze the edm a bit quicker, this took me some time...

"[...] because, basically, in this day and age, if you get to the merge and no one's died - it's not good for anybody." - Keith 'Okie' Nance
"Nun siegt mal schön!" - Theodor Heuss, September 1958

"Nobody has any intention of building a wall." - Walter Ulbricht, June 1961
"Russia has no plans to invade either Ukraine or any other country.
" - Vladimir Chizhov, Russia's ambassador to the EU, January 2022

Link to comment
Share on other sites

Hi Automan,

 

could you do me a favor, too?

 

I'm trying to get a description.lua for the Spitfire cockpit and the one I got gets ignored, unfortunately.

Could you tell me how to effectively analyze the edm, please?

 

So far, I used the string command under linux as advised here: https://forums.eagle.ru/showpost.php?p=3658004&postcount=92

 

In this thread I see that there might be dashes in the material names that aren't there in the material names (mig29 -- Mig-29) but I fail to see something similar in my edm_string. I attached the description I got (for the textures I need) - do you by chance see the mistake(s) I'm making? Thank you!

 

Not sure if I may attach the edm_string but if you need it please advise - thanks!

 

Hi, since I use regularly EDM plugins in 3dsmax, I know more or less how materials works and it's simpler to me reading an EDM.

I would be glad to update uboat tools for description.lua creation, but unfortunately I'm not a programmer. :cry:

BTW, I will prepare a description.lua for you, just wait:D

MainMenulogo.png.6e3b585a30c5c1ba684bc2d91f3e37f0.png

 

ACER Predator Orion 9000: W10H | Intel i9-7900X OC@4.5Ghz | 8x16GB Crucial Ballistix Sport | Sapphire GTX1080TI | Intel 900P 480GB | Intel 600P 256GB | HP EX950 1TB | Seagate Firecuda 2TB

ACER Predator XB281HK: 28" TN G-SYNC 4K@60hz

ThrustMaster Warthog Hotas, TPR, MFD Cougar Pack, HP Reverb Pro

Link to comment
Share on other sites

Cool, thank you! Mine works for me now but it's best to have all material names

"[...] because, basically, in this day and age, if you get to the merge and no one's died - it's not good for anybody." - Keith 'Okie' Nance
"Nun siegt mal schön!" - Theodor Heuss, September 1958

"Nobody has any intention of building a wall." - Walter Ulbricht, June 1961
"Russia has no plans to invade either Ukraine or any other country.
" - Vladimir Chizhov, Russia's ambassador to the EU, January 2022

Link to comment
Share on other sites

Cool, thank you! Mine works for me now but it's best to have all material names

 

Well, in your description.lua the channel for glass opacity was wrong and pointing to selfillumination.

BTW, the best way to check is put all materials to false, then comment one by one and reload every time the cockpit in model viewer to seek for differences: if you don't see difference from before, the channel declared in description.lua is wrong.

TIME CONSUMING....

 

Below the description.lua for Spitfire cockpit

description.lua

MainMenulogo.png.6e3b585a30c5c1ba684bc2d91f3e37f0.png

 

ACER Predator Orion 9000: W10H | Intel i9-7900X OC@4.5Ghz | 8x16GB Crucial Ballistix Sport | Sapphire GTX1080TI | Intel 900P 480GB | Intel 600P 256GB | HP EX950 1TB | Seagate Firecuda 2TB

ACER Predator XB281HK: 28" TN G-SYNC 4K@60hz

ThrustMaster Warthog Hotas, TPR, MFD Cougar Pack, HP Reverb Pro

Link to comment
Share on other sites

Thank you very much!

"[...] because, basically, in this day and age, if you get to the merge and no one's died - it's not good for anybody." - Keith 'Okie' Nance
"Nun siegt mal schön!" - Theodor Heuss, September 1958

"Nobody has any intention of building a wall." - Walter Ulbricht, June 1961
"Russia has no plans to invade either Ukraine or any other country.
" - Vladimir Chizhov, Russia's ambassador to the EU, January 2022

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...