Multi/Sub-Object instancing trick
Posted Haziran 12, 2009on:
On the right is a similar scenario where I imported a .3ds file, to find that it created 3 meshes each with 3 MSOM’s. I wanted to change all of the materials from Standard to A&D without going through the list of the MSOM’s and seeing which one had (Standard) and which one had (Arch & Design(mi)) next to them.
Firstly in the material editor, click on the Get Material button on the left or go to Rendering->Material/Map Browser.
You will also notice that on the right side of the material, it will have a list of geometry that the material is actually applied to. If the material is a MSOM, I find it helpful to name material after the mesh its applied to…just to keep things straight in my head.
Now if you have Root Only checked, you will only see the MSOM and not the other materials inside the MSOM. If you un-check Root Only, then you will see all of the other materials show up. This is very handy, because you can go one more step and tweak the individual material.
Now because it’s standing by itself I can do whatever I want to it, and it will change it in all 3 MSOM’s! So I clicked on Standard and changed it to A&D, and you’ll notice that it changed the FrontCol in all 3 MSOM’s to (Arch & Design (mi)) in the Material/Map Browser.
Voila, the easy way to change materials in MSOM’s!