Page 1 of 1
multi materials
Posted: Fri Dec 06, 2013 6:26 am
by seghier
the idea is to assign many materials to an object than we turn on what we want render ; because in some designs we need show many variants ; and multi materials avoid" duplicate objects and create many scenes"
the same idea for the textures
Re: multi materials
Posted: Fri Dec 06, 2013 1:58 pm
by dariolanza
Hello seghier,
Currently the best way to do so is to use a Python script: Create one MXS scene (one only) and use PyMaxwell (the Python console to apply Python to Maxwell) and write an script that takes the object you want and perform the material change you want. In your case it would be take the different MXM materials on certain folder, apply one by one and save a new MXS files automatically. Named sequently, you can finally render the whole thing as an animation.
Once you designed the script and have the materials collection on a folder, producing all the combinations on all your projects will be very straight-forward.
Other option would be having several Layers on your object, corresponding to the different materials you want. The script here would be sequentially enabling/disabling the different Layers and save automatically the MXS files to be rendered.
Dario Lanza
Re: multi materials
Posted: Fri Dec 06, 2013 3:09 pm
by seghier
Many thanks Dario
i understand your idea ; i like it but i need learn how to translate it to python language
i will search and try to make something