Hey guys,
I was wondering what methods do you guys use to quickly swap out modular pieces in Max environments, that have additional objects linked to a wall. For example a brick wall piece which has a cut open window which is one material, then wooden shutters which is a separate object with another material.
So if you ever wanted to swap out that modular piece for window type variants/no window you could do it in one go.
I initially tried having pre-placed brick wall pieces that did not have a window, and using replace scripts but they have turned out quite buggy reloading the scene.
How does one approach this?
Image for example:
Replies
I use Layers to help me organize assets like this. I would put the windowed walls in a different layer from the solid walls. Makes it easier to select/hide/freeze overlapping assets.
Try this:
In Max is there a way to mass replace instanced environment walls with a wall piece that has a linked window shutter to it?
- Using substitute modifier and various scripts does not retain the linked window shutter.
According to the 3dsmax Help file it says linking and instancing objects are not advised to go hand in hand. So I'm wondering how window shutter meshes or any kind of additional objects are placed as manually placing them for hundreds of walls seems impractical?
Example (ignore script it breaks upon reloading max scene):
I have this:
But want to achieve this result in the image below without manually placing the walls AND manually placing the window shutter meshes (highlighted in green above image) to fill in the holes
Also make sure your pivots correspond so the pieces match up. It is also adviseable to have these unique details on the same texture set in case you decide to put a window and a door on a section of wall. If you had a separate window and door material, you end up with an extra unique material and thus an extra draw call.
If you're creating game assets, then you'll be assembling the buildings inside the game editor, not in Max. In Unity I would use Prefabs to solve this.
But if you're rendering in Max, like maybe archviz, then you can get away with attaching pieces together. Because draw calls don't matter at all.