bigbossfr
08-15-2009, 05:08 PM
Hello all,
I am writting a python script with batch render and render just the region when objets are selected. I am writting the version 2 of this script :
http://www.highend3d.com/maya/downlo...Tile-5794.html (http://www.highend3d.com/maya/downloads/mel_scripts/rendering/mental_ray/Deex-Render-Booster-Tile-5794.html) and now, i want the script work with animation, etc etc...
For that, i use this attributs:
regionRectX
regionRectY
regionRectWidth
regionRectHeight
on the mentalrayGlobals.
In the preFrame render mel, simply, i put a mel script whitch change the interger valur of the 4 attributs (set attr ...)
What is the problem ?
The problem is the script isn't work for each frame. The batch render just the region with the value of the first frame.
But me, i want change the render region for each frame.
Is it possible ?
The only solution i have found is one batch for each frame. But it is too ugly !
I want :
render -r mr -s 1 -e 10 ...
and not :
render -r mr -s 1 -e 1
render -r mr -s 2 -e 2
render -r mr -s 3 -e 3 ...
Any solution ?
I am writting a python script with batch render and render just the region when objets are selected. I am writting the version 2 of this script :
http://www.highend3d.com/maya/downlo...Tile-5794.html (http://www.highend3d.com/maya/downloads/mel_scripts/rendering/mental_ray/Deex-Render-Booster-Tile-5794.html) and now, i want the script work with animation, etc etc...
For that, i use this attributs:
regionRectX
regionRectY
regionRectWidth
regionRectHeight
on the mentalrayGlobals.
In the preFrame render mel, simply, i put a mel script whitch change the interger valur of the 4 attributs (set attr ...)
What is the problem ?
The problem is the script isn't work for each frame. The batch render just the region with the value of the first frame.
But me, i want change the render region for each frame.
Is it possible ?
The only solution i have found is one batch for each frame. But it is too ugly !
I want :
render -r mr -s 1 -e 10 ...
and not :
render -r mr -s 1 -e 1
render -r mr -s 2 -e 2
render -r mr -s 3 -e 3 ...
Any solution ?
