PDA

View Full Version : BatchRender$&MEL


rapman
09-13-2003, 12:07 PM
Hi people.

1) How it is possible in MEL check up if Batch Render works, if it works that in a variable value 1 is given if is not present, 0?

2) How it is possible in MEL to change a name of a file before rendering.
For example, I have a rendered picture: img1.jpg, and at next rendering MEL should change automatic the name on img2.jpg.

Thanks :)

gmask
09-27-2003, 11:34 AM
>>>1) How it is possible in MEL check up if Batch Render works, if it works that in a variable value 1 is given if is not present, 0?

Define what the indicator for when a Batch Render works? Is it when it's completed or if it has started?

>>>2) How it is possible in MEL to change a name of a file before rendering.
For example, I have a rendered picture: img1.jpg, and at next rendering MEL should change automatic the name on img2.jpg.

Is there some reason why the normal sequence naming in the render globals which allready does this not usefull?

rapman
09-27-2003, 12:00 PM
1. I need to check if batch render is works or not. I need this for script.

2. When script is starting, he doing batch render for 1 frame, after that he starting the batch render second time the same frame but wich changes in scene. So I need the script will automaticly change the name of picture file. I need the first file and second file.

gmask
09-27-2003, 07:37 PM
>>>1. I need to check if batch render is works or not. I need this for script.
2. When script is starting, he doing batch render for 1 frame, after that he starting the batch render second time the same frame but wich changes in scene. So I need the script will automaticly change the name of picture file. I need the first file and second file.


You can run a POST render MEL script. I imagine that this would handle both your needs. For one if the POST render scipt is run you can assume that the render was completed. Two after it has run you can use a system comman dto rename the ttemp rendered file to whatever you like.

rapman
09-28-2003, 04:41 PM
What this POST render?

gmask
09-28-2003, 06:01 PM
Originally posted by rapman
What this POST render?

It is a render option in the render globals.

CGTalk Moderation
01-16-2006, 03:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.