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.
Here is the scenario. Set up a new scene with a sphere in it. Render Elements Specular, Diffuse, Lighting.
Main output path is set to folder names V01. All the elements are targets to V01 as well.
I made some lighting changes and then changed the main output path to folder V02. No elements updated to I ran this script and its still saying my main output path is still V01??????
function setUpRenderElements =
(
MainSavePath = getFileNamePath rendOutputFilename
print MainSavePath
re = maxOps.GetCurRenderElementMgr()
numb = re.numrenderelements()for i=0 to (numb-1)do(
el = re.getrenderelement i
currentFileName = (fileNameFromPath (re.GetRenderElementFileName i))
newDirectory = MainSavePath+"\\"+el.elementname
if re.GetElementsActive() then makeDir newDirectory
newFileName = newDirectory +"\\"+ currentFileName
re.SetRenderElementFileName i newFileName
))
setUpRenderElements()
Comments
i am trying this script now
, cant get tile rendering with REs through deadline so...will try this
http://www.scriptspot.com/3ds-max/scripts/sort-render-elements
This is not working.
Here is the scenario. Set up a new scene with a sphere in it. Render Elements Specular, Diffuse, Lighting.
Main output path is set to folder names V01. All the elements are targets to V01 as well.
I made some lighting changes and then changed the main output path to folder V02. No elements updated to I ran this script and its still saying my main output path is still V01??????
John Martini
Digital Artist
http://www.JokerMartini.com (new site)