Chalk Mat Switcher

Do you use the Vray Material Override to do chalk renders and wish that it would allow you to exclude certain materials? Like VRayLightMtl and any refractive materials like glass? Well now you can using this little script.  It sets up a Shell Material which allows you to switch from one material setup to another. So even if those pesky VRayLightMtls and refractive materials are within Multi-sub materials then you’ll still be able to exclude them. Give it a go, test it out and let me know how it works for you! Cheers to Fraggle from the Chaosgroup forums for giving me the motivation to do this one, I’m sure I’ll find a use for it at some point too. It should be easy enough to hack it for Mental Ray or other renderers.

ChalkMatter_03

Choose the Material Editor Sample Slot you want to get your Chalk Shader from, that’s down bottom left in Slate or one of the sample slots in the Compact-Material-Editor.  Keep the excludes on for whichever materials you want to preserve (let me know if you want more there). You can keep refractive materials and automatically desaturate refraction / fog / exit colour/maps.

You can choose to keep opacity maps/bump maps/ displace maps this will work with nested materials, multi-sub, VrayBlends etc… You can also exclude by a material name, and using Wildcards you can exclude all materials which have glass in their name for instance by putting in *glass* into the name exclude box.

You can also get your the objects you have in your include/exclude List in the VRay Material Override Exclude Dialog.

Chalk_mat_Switcher

Press ‘Create Chalk Setup’ and your scene is now ready to render with chalk materials on, you can press ‘Go Material’ at any point to return to the original materials, and press ‘Go Chalk’ to go back to rendering chalks. Press ‘Remove Chalk Setup’ to revert back to how your scene was, even if you close and reopen the script.

Hold Shift on the ‘Go Chalk’ and ‘Go Material’ buttons to turn just the selected objects to Chalk or Material.

ChalkMatter_04

Get it here on ScriptSpot!

http://www.scriptspot.com/3ds-max/scripts/material-override-excluder

Advertisements

About davewortley

Somewhere between an artist and a programmer, I like technical things, but being creative. I love problem solving and coming up with elaborate solutions. This blog is where I shall share ideas, tips, tutorials and anything that amuses me.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s