AWS Thinkbox Discussion Forums

req > Max Render Element name options

at the moment it’s possible for deadline to overwrite max’s render element names.
However I can’t seem to find to change it’s format.

I give all my render elements custom (short names) to keep things clear.

But deadline also includes the “type” into the folder name
And doesn’t include the “name” in the file name

eg:
intended name:
Z:\RNDR\Shower_Wide_v2\Shower_Wide_v2\ID_\Shower_Wide_v2_ID_.tif

resulting name:
Z:\RNDR\Shower_Wide_v2\Shower_Wide_v2\ID__VRayWireColor\Shower_Wide_v2__VRayWireColor.tif

The only way to prevent this is to manually alter all names every time… which defeats the purpose of letting deadline do it :slight_smile:

at the moment i’m using these settings:

I turned on “also update RE’s filenames” as 3dsmax doesn’t want to do it when I change the render output name (rendering multiple camera’s from 1 scene)
The permanent RE path changes are on to see it’s results directly.

Would it be possible to have 2 checkboxes in the “3dsmax pathing options” that say:
"use RE-type-name only "
“use RE-name only”

or something in that direction?

Or would it be easy to adjust the submission script to tailor the naming to my needs? (in case i’m the only one that wants this :smiley: )

I believe that’s a 3ds Max function not a Deadline SMTD function. I do know that RPManager has this functionality built in for submitting deadline jobs, if you aren’t using RPManager already I would highly recommend it. It’s got some killer custom RE pathing options for building templates that everyone can use. You could also write a small maxscript and in the SMTD pre-render scripts option have it auto-build your paths. That would give you the most flexibility for your specific needs.

Usually just did it manually. Basically works, but liked the fact that DL puts it into subfolder instead of in the main dir where I put it before (too lazy to make all subdirs myself)
Just found it odd how the names are formed… but indeed wouldn’t surprise me if it’s the only thing Max offers (legacy stuff i guess)

I wasn’t awere yet of RPManager. Look quite complete, might give the trail a go after this project.
I’m working alone so in the end it’s all manageable (i’m now merging the RE passes freshly before submitting which is fast enough)

tnx

Actually I was wrong.

In \repository\Submission\3dsmax\main\submitMaxToDeadline_Functions.ms there is a function " RenderElementsUpdatePaths which handles that part, it is a deadline function.

Personally i’m not too familiar with (max) scripting… have been able to work with them (had a scripter for a while) and change them, but creating is not really for me.

Would you be willing to give a quick/small example on how this would be constructed?
If I know how to do it for one element I’d be able to rebuild it for the other.
Only if you can give it without much effort, if it needs some research/lots of time I’ll take a look at it myself later on.

All i’d want is for the RE names to be updated with the original output name + the custom RE name (so not the type) places into a subfolder with the custom RE name (again not the type)

thanks!

We should be able to add a checkbox to the UI to toggle whether or not the RE type is included in the output name. It’s too late to do this for 6.1, but we’ll add it to the roadmap for 6.2.

Cheers,
Ryan

Ok. I think I found the important bit. It’s on lines 2697 and 2698

local theElementFolder = theElement.elementName theElementFolder += "_" + (classof theElement) as string

So what do you want it to output?

If you want it to just output the name but not the type then you would comment out the second line and it would just output

\ID_\

instead of

\ID__VrayWireColor\

I think I missed this last post completely, sorry about that.
wondering now though if the checkbox spoken off before is now included in deadline 7 ?

The additional render element options were actually included in Deadline 6.2.

Cheers,
Ryan

Yeah I found them by now!
and am very happy :slight_smile:

Privacy | Site terms | Cookie preferences