Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

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

    Hi.

    Simple question with an example: How can I get the material list of Mig-29 cockpit? 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!!!

    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 (Win7HPx64)
    Samsung 32" | Saitek X-55 Rhino & Rudder | Trustmaster MFD Cougars & 2 x 8"TFTs | Logitech G13, G230, G510, PZ55 SwitchPanel & Farming Sim Panel | TIR5
    MY MODS | Discord: Devrim#1068

    Mi-24P Hind EN Cockpit WIP: %99

    #2
    Originally posted by Devrim View Post
    Hi.

    Simple question with an example: How can I get the material list of Mig-29 cockpit? 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!!!

    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
    Attached Files

    ACER Predator Orion 9000: Windows 10 Home | Intel i9-7900X OC@4.5Ghz | 8x16GB Crucial Ballistix Sport@2666Mhz | Sapphire GTX1080TI | 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

    Comment


      #3
      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 (Win7HPx64)
      Samsung 32" | Saitek X-55 Rhino & Rudder | Trustmaster MFD Cougars & 2 x 8"TFTs | Logitech G13, G230, G510, PZ55 SwitchPanel & Farming Sim Panel | TIR5
      MY MODS | Discord: Devrim#1068

      Mi-24P Hind EN Cockpit WIP: %99

      Comment


        #4
        Hey Automan.

        Now... I have some questions.

        These lines are what I see in EDM.
        Code:
        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:
        Code:
        {"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.
        Last edited 03-05-2019, 12:55 AM.
        i7-2600 @3.4GHz | Corsair 16GB @1600MHz. | MSI GTX1660Ti Gaming X | Samsung 256GB SSD (Win7HPx64)
        Samsung 32" | Saitek X-55 Rhino & Rudder | Trustmaster MFD Cougars & 2 x 8"TFTs | Logitech G13, G230, G510, PZ55 SwitchPanel & Farming Sim Panel | TIR5
        MY MODS | Discord: Devrim#1068

        Mi-24P Hind EN Cockpit WIP: %99

        Comment


          #5
          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

          ACER Predator Orion 9000: Windows 10 Home | Intel i9-7900X OC@4.5Ghz | 8x16GB Crucial Ballistix Sport@2666Mhz | Sapphire GTX1080TI | 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

          Comment


            #6
            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...4&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!
            Last edited 03-07-2019, 10:24 AM.
            "[...] because, 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

            Comment


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

              Still, help is appreciated...
              Last edited 03-07-2019, 11:52 AM.
              "[...] because, 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

              Comment


                #8
                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...
                Last edited 03-22-2019, 01:09 PM.
                "[...] because, 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

                Comment


                  #9
                  Originally posted by ams999 View Post
                  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...4&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.
                  BTW, I will prepare a description.lua for you, just wait

                  ACER Predator Orion 9000: Windows 10 Home | Intel i9-7900X OC@4.5Ghz | 8x16GB Crucial Ballistix Sport@2666Mhz | Sapphire GTX1080TI | 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

                  Comment


                    #10
                    Cool, thank you! Mine works for me now but it's best to have all material names
                    "[...] because, 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

                    Comment


                      #11
                      Originally posted by ams999 View Post
                      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
                      Attached Files

                      ACER Predator Orion 9000: Windows 10 Home | Intel i9-7900X OC@4.5Ghz | 8x16GB Crucial Ballistix Sport@2666Mhz | Sapphire GTX1080TI | 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

                      Comment


                        #12
                        Thank you very much!
                        "[...] because, 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

                        Comment

                        Working...
                        X