Material Override

Vexus related Support Questions
Post Reply
Stuvyboy
Posts: 3
Joined: Fri Jan 21, 2022 7:05 pm

Material Override

Post by Stuvyboy »

Hello,

I need to create a pass, and to apply a single material (called "MX" for the exemple) to a set of objects. However, every objects in the set have already different material (Called "M1,M2,M3....").

If i use a material override, it applies in my max file the Materiel "MX" to all the object set and i loose all my materials "M1,M2,M3...". So I need to reassign them one by one.

Do you have a solution to override temporary one material to a set of objects without losing the assignment of materials ?

Thank you
hidenori saito
Posts: 10
Joined: Mon Mar 04, 2019 3:56 am

Re: Material Override

Post by hidenori saito »

hello :D
In the script node
You can revert to the material before execution by creating a hold/fetch.
Stuvyboy
Posts: 3
Joined: Fri Jan 21, 2022 7:05 pm

Re: Material Override

Post by Stuvyboy »

Thank you @hidenori saito
I don't know how to script but i will try to do it. I will come back for help if i can't.
However, it surprises me that it's not already include in the process. For motion design, it's a basic thing and didn't have to script it with other pass manager.
If someone has an easier solution, don't hesite to communicate.
hidenori saito
Posts: 10
Joined: Mon Mar 04, 2019 3:56 am

Re: Material Override

Post by hidenori saito »

Hello :D
The script is very simple.
After all, this tool is just a tool to run scripts in order.
It is not a so-called render pass manager.

However, if you have scripting skills, it is an excellent tool for reusing some parts and doing more complex things.
Attachments
materialOverride.png
materialOverride.png (42.79 KiB) Viewed 664 times
Stuvyboy
Posts: 3
Joined: Fri Jan 21, 2022 7:05 pm

Re: Material Override

Post by Stuvyboy »

Thank you so much for your time
Post Reply