2024-04-25, 18:47:59
Home
Help
Search
Login
Register
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Chaos Corona Forum
Chaos Corona for 3ds Max
[Max] Feature Requests
[Max] Resolved Feature Requests
Material Override add/remove Excluded Objects script wanted
Print
Pages: [
1
]
Author
Topic: Material Override add/remove Excluded Objects script wanted (Read 2596 times)
2017-11-10, 10:44:06
Alina Hramyka
Active Users
Posts: 37
Material Override add/remove Excluded Objects script wanted
Is it possible to add and remove selected objects by the macroscript so no need to open render setting each time?
Logged
2017-11-10, 13:40:31
Reply #1
Ondra
Administrator
Active Users
Posts: 9048
Turning coffee to features since 2009
Re: Material Override add/remove Excluded Objects script wanted
no, but you could manually attach nodes direclty to the renderer property. Here are all maxscript corona properties names:
https://corona-renderer.com/doc/
Logged
Rendering is magic.
|
How to get minidumps for crashed/frozen 3ds Max
| Sorry for short replies, brief responses = more time to develop Corona ;)
2017-11-10, 14:14:29
Reply #2
Frood
Active Users
Posts: 1922
Re: Material Override add/remove Excluded Objects script wanted
Quote from: Ondra on 2017-11-10, 13:40:31
Here are all maxscript corona properties names
Either my browser fools me or ironically exactly "overrideMtl_exclude (main_mtlOverrideExclude)" (node array) is missing there :)
Good Luck
Logged
Never underestimate the power of a well placed level one spell.
2017-11-11, 06:06:49
Reply #3
Christa Noel
Active Users
Posts: 911
God bless us everyone
Re: Material Override add/remove Excluded Objects script wanted
hi Alina Hramyka, yes it is manually possible, just like ondra said.
Use pickObject and insert the picked node to overrideMtl_exclude. check the attached script.
Logged
www.dionchstudio.com
2017-11-11, 16:37:00
Reply #4
Alina Hramyka
Active Users
Posts: 37
Re: Material Override add/remove Excluded Objects script wanted
Wow! Thank you very much!!
There is one more nice feature in your script - it selects already excluded objects
So great! thanks
Logged
Print
Pages: [
1
]
Chaos Corona Forum
Chaos Corona for 3ds Max
[Max] Feature Requests
[Max] Resolved Feature Requests
Material Override add/remove Excluded Objects script wanted