Multi/Sub Object Material Creator

8 votes
Version: 
0.5
Date Updated: 
07/05/2011

Hi all. Here's my Multi/Sub Object Material Creator.

V.05 Updated UI to a less cumbersome version so it's easier to use. Kudos to Tassel for development)

V.04 Updated to include the option for Mental Ray material preset.

Ui tweaks to seperate the materials It now produces a random colour for each material (thanks to br0t)

Added the option to name your material (thanks to br0t)

V.03 Updated to include Mental Ray materials!

V.02 Update includes options to choose either a standard or a Vray setup.

Here's what i plan to add........

1. The ability to choose a colour range or random colours. ie, black to white, raindow, colour hue's or completely random.

2. Any other suggestions are welcome! Please post your ideas.....

Many thanks to Tassel, br0t and Anubis for their input.

Additional Info: 

To install,

1. Unzip the .mcr file to your scripts folder.
2. Unzip the two .bmp files to your 3dsmax\Ui\Icons folder
3. The script can be found in the SB_Tools category on the Customize user interface.
4. Drag the script to a toolbar.

Any problems, please let me know!

Version Requirement: 
Any
AttachmentSize
sb_tools_mult-submtl_v0.5.zip3.78 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Script_Butler's picture

New UI uploaded

Hi ecXimer

I've uploaded V.05 with a newer, less cumbersome UI.

Let me know if that's better for you.

Cheers.

Script_Butler

ecXimer's picture

UI

User interface is cumbersome - it is possible to reduce it, as I showed in the attachment.

tassel's picture

Sure, it isn't my script,

Sure, it isn't my script, just some ui adjustments on the existing script :)

Raymond H.Ingebretsen - http://www.homme3d.com

Script_Butler's picture

Nice Ui

I quite like that Tassel.

It's much more compact and tidy and with what i want to add in, there's no reason why everything needs to be individual.

I might use it for the next update if you don't mind!

Cheers.

Script_Butler

tassel's picture

What about making the UI

What about making the UI smaler?

Here is my sugestion to you script:

try(destroyDialog roll_MSOP)catch()
 
	rollout roll_MSOP "Multi/Sub-Object Presets V1.1" width:350 height:496
	(
		group "Create In Active Material Slot:"
		(
			button btn_MSStandard "Standard Multi/Sub" tooltip:"Create Standard Multi/Sub Material" width:100 height:20 align:#left across:2
			spinner spn_stdnum_mtl "Count:" tooltip:"Number of Multi/Sub Materials" width:50 height:16 range:[2,100,10] type:#integer fieldwidth:35 align:#right
 
			button btn_MSVRay "VRay Multi/Sub" tooltip:"Create VRay Multi/Sub Material" width:100 height:20 align:#left across:2
			spinner spn_vraynum_mtl "Count:" tooltip:"Number of Multi/Sub Materials" width:50 height:16 range:[2,100,10] type:#integer fieldwidth:35 align:#right
 
			button btn_MSmentalRay "MRay Multi/Sub" tooltip:"Create MentalRay Multi/Sub Material" width:100 height:20 align:#left across:2
			spinner spn_mraynum_mtl "Count:" tooltip:"Number of Multi/Sub Materials" width:50 height:16 range:[2,100,10] type:#integer fieldwidth:35 align:#right
 
			editText basename "Material Base Name: " width:190 height:16 text:"myMaterial"
		)
 
		HyperLink Hypl_homepage "..:: HYPERLINKME::.." address:"http://www.google.com/" color:(color 255 255 255) hovercolor:(color 111 111 111) visitedcolor:(color 255 255 255) align:#center
 
 
		on btn_MSStandard pressed do
		(
			mat = multimaterial()
			mat.count = spn_stdnum_mtl.value
 
			for i=1 to mat.count do
				mat[i] = standardmaterial name:(basename.text + i as String) diffusecolor:(random black white)
 
			meditmaterials[activeMeditSlot] = mat
		)--end on
 
		on btn_MSVRay pressed do
		(
			mat = multimaterial()
			mat.count = spn_vraynum_mtl.value
 
			for i=1 to mat.count do
				mat[i] = Vraymtl name:(basename.text + i as String) diffuse:(random black white)
 
			meditmaterials[activeMeditSlot] = mat
		)--end on
 
 
		on btn_MSmentalRay pressed do
		(
			mat = multimaterial()
			mat.count = spn_mraynum_mtl.value
 
			for i=1 to mat.count do
				mat[i] = Arch___Design__mi name:(basename.text + i as String) diffuse:(random black white)
 
			meditmaterials[activeMeditSlot] = mat
		)--end on
 
	)--end ro
 
 
	createDialog roll_MSOP 210 145

Raymond H.Ingebretsen - http://www.homme3d.com

Script_Butler's picture

OK.

Fair enough if you have 2012 and can use the slate ME, or you want to spend $275 on NodeJoe.

Mine will be free. :-)

Cheers.

Script_Butler

jonahhawk's picture

With Node Joe/Slate ME, you

With Node Joe/Slate ME, you can set multiSubMtls to load with an empty set of sub mats and any number you like. just a heads up. :)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.