Home Technical Talk

.mat - Matlabs?

I'm not definate on what a matlab is. Does it contain only the materials properties, ie. spec/glossiness/IOR, and you would also input a separate map?

AFAIK it is a file used by autodesk. Does this mean that the same .mat file could be used with different renderers in 3ds max (MR, Vray)?

Replies

  • glib
    Options
    Offline / Send Message
    A .mat is a 3dsmax material library.

    Matlab is a mathematics app that happens to save files with the same extension.
  • Playdo
    Options
    Offline / Send Message
    Thanks Glib. What do you mean by it's a library - does it contain all the information of a material's properties, as mentioned? And what about being accessible to different renderers?
  • disanski
    Options
    Offline / Send Message
    disanski polycounter lvl 14
    It is a library where you put your materials when you create them to use them later. If it was mental ray material you can render it with mental ray.
  • yiannisk
    Options
    Offline / Send Message
    yiannisk polycounter lvl 14
    This is a very nice question and not many people use this nice feature, therefore find material editor to have limited capability as far as the amount of materials displayed is concerned. Which, as i will explain bellow is not exactly true.

    .mat is a package, like lets say rar or zip, that contains max materials.
    an excellent way to store, organize and share your materials.

    Mind you, it will not contain textures and the materials will expect to find the textures at the same path. For organized studios that store their textures in central location this would not be a problem.

    You can save or load these files when you click on "Get Material" at the material editor then on your left enable mtl Library and options such as open merge etc become available.

    I use .mat files as palettes when i expect to have a large amount of materials in my scene or when i create generic materials that are reusable.

    You can also load materials from the same menu straight from a max file which can be used also as an alternative or other formats. but .mat is clean and light.



    This way you can have as many materials as you need available at any time and perhaps better organized than a nodal interface.

    Regarding matlab the software, it was used to generate shaders for mR and renderman.
    of course this was not what it is designed to do, but, it has a tool that visually represents complex mathematical functions.
    It was quite popular in the past before slim etc become available.
  • Playdo
    Options
    Offline / Send Message
    Thanks for that in depth info.
Sign In or Register to comment.