Quick Include/Exclude Lights
Select your objects and lights, choose I/E ops and check "Transfer..."
(if you like) to move existing obj(s) into the new I/E List.
Works on all geometry + renderable shapes (as original I/E feature designed).
Update:
v.1.2 - added Clean I/E List button
v.1.1 - added I/E Type toggle
v.1.0 - initial complete version
Tips:
[*] Just to transfer obj(s) b/w I/E lists - select lights only and check "Transfer..."
[*] Just to clean-up I/E list - select lights only and uncheck "Transfer..."
[*] "Clean" button will empty the I/E list keeping the rest I/E settings intact.
Attachment | Size |
---|---|
SmartIncludeExclude1.2.ms | 2.67 KB |
SmartIncludeExclude1.1.ms | 2.18 KB |
SmartIncludeExclude.ms | 1.5 KB |
Comments
hardly ever
I not work with VRay and am almost sure you need to modify the code to work with vr-lights 'cause the properties names are different there. As tip will say - you need to find out the equivalent props of includeList, excludeList, inclExclType in your vr-lights.
my recent MAXScripts RSS (archive here)
Will this work with VRay
Will this work with VRay lights?
Thanks gyus
Thanks gyus
my recent MAXScripts RSS (archive here)
You're big man, thanks !
You're big man, thanks !
Thx Anubis ! :-)
Thx Anubis ! :-)
Hi Titane, first, yes, to
Hi Titane, first, yes, to make "clean" button not just clone feature I make it to work lightly different. Push "clean" will empty the current light list without change any settings, i.e. for example - if you have 2 lights selected, one has "include" and second has "exclude" then the script will empty the "include" list for the first and "exclude" list for the second light. Just simple (I hope), so not need to play with other dialog settings, i.e. "clean" button is come as independent (from the rest ui controls) action. And if you use "ok" button (with "transfer" off) then also will empty the lists, but the I/E list will toggle to chosen (I/E) and type will set to chosen (I/S/B) too.
If you still have in trouble with my description, then just make a few test (playing with the options) on 2 selected lights and after each test open their I/E list to see the result. But of course if something I can help, feel free to ask me.
my recent MAXScripts RSS (archive here)
Thank you sooooo much Anubis
Thank you sooooo much Anubis :-))
Just the little thing I didn't understood at the first glance :
- to include all lights with "clean" button, you must first check "include" and click "ok" then click "clean"
- to exclude all lights (....) check "exclude" (..)
When is for you Titane, it's
When is for you Titane, it's already done ;)
Updated version 1.2 is in the attachment list, enjoy!
my recent MAXScripts RSS (archive here)
Hello Anubis, I like this
Hello Anubis,
I like this plug but I would prefer a "clear" button to clear the e/i list :-))
Script updated - added
Script updated - added Include/Exclude type toggle.
my recent MAXScripts RSS (archive here)