31: What is a .MTL File?

Поділитися
Вставка
  • Опубліковано 24 сер 2024

КОМЕНТАРІ • 26

  • @paulooliveiracastro
    @paulooliveiracastro Рік тому +2

    I'd love a cheat sheet for OBJ files as well

  • @YungContentshow
    @YungContentshow 4 роки тому +1

    thanks for the video bro. Much love #staycontent

  • @Mielesplayz
    @Mielesplayz 3 роки тому +4

    How can you use it as a texture in unity?

  • @geroldwaefler9485
    @geroldwaefler9485 6 місяців тому

    Now i still dont know how to make blender open the textures, despit there is a .mtl file, but blender just ignore it... 😕

  • @Pulse2AM
    @Pulse2AM 9 місяців тому

    Good video thanks! I'm trying and failing to get Blender 2.8 to load the .mtl correctly, Blender is not creating image nodes on the materials so therefore no materials just a white shader. I named both files .obj and .mtl the same but still no luck, took a look at both with notepad I don't see any path errors. Anyhow, any Ideas?

  • @tco7pt
    @tco7pt 3 роки тому +2

    Is it possible to open mtl files in blender?

    • @2etime
      @2etime  3 роки тому +2

      If you import the OBJ file you should also be importing the MTL file into blender as long as it is in the same directory. Then you can view the material by clicking the materials tab. When you modify any of the materials it will then save a new.MTL file

  • @gustavomixcantor
    @gustavomixcantor 10 місяців тому

    What program to use to open the MTL file?

  • @Selezen97
    @Selezen97 4 роки тому +1

    Okay..okay..but I've read that .mtl file also have parameter "d" which is responsible for opacity. I'm trying to change it, but it doesn't work. I guess, that is it because we using wrong PixelFormat for alpha manipulation..Anyway,like for your staying at home and making 2torials.

    • @2etime
      @2etime  4 роки тому

      DUDE! I forgot to add this link in the description
      paulbourke.net/dataformats/mtl/
      According to this the -d flag represents the dissolve or ... wait for it... THE OPACITY! :)
      Thanks for watching though man!

    • @2etime
      @2etime  4 роки тому

      Oh an also you need to enable blending. I am very bad at that but there are some people on my discord channel that have worked with transparency and Metal before.

  • @felipemateus7983
    @felipemateus7983 Рік тому

    how can i edit a game .mtl texture ?

  • @frostigthjarnsmor6303
    @frostigthjarnsmor6303 Рік тому

    I am currently having a mental break down over this.

  • @sai101f
    @sai101f 4 роки тому

    Will continue this series ?

    • @2etime
      @2etime  4 роки тому +2

      Yes I will! It’s on going!

  • @taocry
    @taocry 4 роки тому

    MTL is a bit outdated. It's may still looks good with Ray Tracing, but looks bad with traditional real-time rendering method.

    • @2etime
      @2etime  4 роки тому +2

      I would say that basic mtl is outdated but the application of normal maps, speculator maps, roughness maps metallic maps etc... with MTL is very powerful.

  • @jamarch3982
    @jamarch3982 3 роки тому

    So what? My OBJ won't load with textures. I edited the MTL file according to this vid. And it still won't load with textures. So what's the point? Why did I get this vid looking for "how to edit MTL"? Like usual, very basic stuff for beginners, no stuff at all for more advanced users. Dislike.

    • @2etime
      @2etime  3 роки тому

      LOL. The textures are a relative path inside of the mtl file. “./textures/my texture.png” needs to be placed in that exact location.

  • @Dude_Slick
    @Dude_Slick 2 роки тому

    No. Not straight forward at all. All obj files load into blender pink, despite have the mtl file in the same directory. This video offers no answer to that.

    • @2etime
      @2etime  2 роки тому +1

      Ah! But didn’t answer the question “What is a .mtl file”?

    • @Dude_Slick
      @Dude_Slick 2 роки тому

      @@2etime My point is that mtl files seem to be useless without the images it references. Yet every time you download an obj, the useless mtl is included.

    • @2etime
      @2etime  2 роки тому

      True! I think in blender you can export without them. Also if the obj is pink, it could be the color channels being out of wack. If you come to my discord I may be able to clear things up though :)