Home Technical Talk

I still haven't figured this out - obj multi textures

polycounter lvl 13
Offline / Send Message
cookedpeanut polycounter lvl 13
Ok, I'm really very confused about this.
I've always created a single obj file for each mesh that pertains an individual texture. So multiple-meshes, multiple textures.

However I've seen people import models, namely aircraft, buildings, ships or scenes which have multiple meshes and many different textures.

How do I do this, do I create an obj group or simply export the multiple meshes as one obj.

Does this make sense? I don't know, hope it does - noob question, yeah...

Thanks

Replies

  • almighty_gir
    Offline / Send Message
    almighty_gir ngon master
    you set the material ID for those faces.
  • Farfarer
    Offline / Send Message
    Farfarer polycounter lvl 17
    Generally you'll get an mtl file along with the obj, too. That will contain information about the materials specified in the obj file (textures, etc).
  • Mark Dygert
    In 3dsmax instead of using a standard material, you use the Multi-SubObject Material. It's a warehouse of standard materials. You can create your standard materials and drag/copy them into the slots. Each material has an ID like gir mentioned.

    You can also attach all of the meshes together and it will form one giant Multi/SubObject material with instances linking back to your original materials.
    You have to resample the material to see the multi/SubOBject in the editor. You also have to be careful because you can easily start creating multi/SubObject materials inside of other multi/SubObject materials. It can also duplicate the same texture into multiple slots. The messages it tosses up can be a bit confusing too so in general I like to manage this on my own.

    In Edit Poly you select faces and assign them material ID's under the "Polygon: Material IDs" rollout.

    You can also use Material ID's in other ways, like baking textures by material ID's, it will ignore other ID's which is handy for baking separate parts that might be clipping into each other. You can also filter the UV editor window by Material ID which makes life a little easier for some things.
Sign In or Register to comment.