About this site
ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
Comments
Heres my code snippit for
Heres my code snippit for this idea.
on btn_Setup pressed do
(
meditmaterials[1] = VRayHDRI name: "HDRI GI"()
meditmaterials[2] = copy meditMaterials[1]
VRayLight type:1 size0:150 size1:100 pos:[-10,0,0] isSelected:off name: "Dome GI" texmap:meditmaterials[1]
VRayLight type:1 size0:150 size1:100 pos:[10,0,0] isSelected:off name: "Dome Reflection" texmap:meditmaterials[2]
So it creates the first material, copies it, then creates a light with the first material in the texture slot and copies that light and puts the second material in it's texture slot.
All I need is for the second material to have a different name.
It seems so simple to me but i just can;t do it!! It's infuriating!
Cheers.
Script_Butler
...
my recent MAXScripts RSS (archive here)