Digits
01-25-02, 07:55 AM
Hi folks
After fooling around with MaterialPack and MaterialList especially to create my own groups of commonly used Materials I wished for a way to automatically load them into my Zbrush Document. Come to find out it is very easy to do! Since the Zbrush Palette is limited to only 65 materials this script will only load the first 65 entries in the MaterialPack or any MaterialList directory that you have created.
Check it out! Just copy and paste the following in your existing MaterialList or MaterialPack Zscript.
//************************************************** ***************
//-------------------LOAD MATERIAL Pack----------------------------
//Loads the first 65 materials into Zbrush Document Automatically
//Works with Pixolator's MaterialList and MaterialPack Zscript
//To Use Open MaterialList or MaterialPack in NotePad
//And Paste the button at the bottom of the Script
//Or Position it as desired
//By Digits
//************************************************** ***************
[PD]
[iButton,"Load Material Pack ","Load Material",
[varset,matsel,0]
[Note,"Loading Materials",,1]
[loop,65,
[ISet,Material:ItemInfo,matsel]
[FileNameSetNext,matfile(matsel)]
[IPress,Material:Load]
[VarInc,matsel]
[Ipress,Material:ShowUsed]
]
[Note,"All Done!",1]
,,[TextCalcWidth,123456789012345678]]
After fooling around with MaterialPack and MaterialList especially to create my own groups of commonly used Materials I wished for a way to automatically load them into my Zbrush Document. Come to find out it is very easy to do! Since the Zbrush Palette is limited to only 65 materials this script will only load the first 65 entries in the MaterialPack or any MaterialList directory that you have created.
Check it out! Just copy and paste the following in your existing MaterialList or MaterialPack Zscript.
//************************************************** ***************
//-------------------LOAD MATERIAL Pack----------------------------
//Loads the first 65 materials into Zbrush Document Automatically
//Works with Pixolator's MaterialList and MaterialPack Zscript
//To Use Open MaterialList or MaterialPack in NotePad
//And Paste the button at the bottom of the Script
//Or Position it as desired
//By Digits
//************************************************** ***************
[PD]
[iButton,"Load Material Pack ","Load Material",
[varset,matsel,0]
[Note,"Loading Materials",,1]
[loop,65,
[ISet,Material:ItemInfo,matsel]
[FileNameSetNext,matfile(matsel)]
[IPress,Material:Load]
[VarInc,matsel]
[Ipress,Material:ShowUsed]
]
[Note,"All Done!",1]
,,[TextCalcWidth,123456789012345678]]