Hi all,
I’m trying to write a render
submission script for XSI which sends render jobs to Rush. At the moment
I’m at a very early development stage and (python) scripting in XSI is
new ground for me.
Currently I have basically 3 questions if
my ideas can be achieved:
-
Is it possible to override the
camera XSI is using at batch-rendering? With a flag perhaps? Sometimes I have
several cameras in one scene and I don’t want to create different render
passes for all the cameras. I tried to change the camera in the SCNTOC-file,
however it seems, that this file is not evaluated prior rendering. Or is
duplicating the passes with a script, setting the camera, save the scene for
rendering and then deleting the new passes the way to go?
-
Can I save a scene for
rendering as copy without messing with the current working scene? E.g.: When I
submit a scene for rendering, my current scene is saved as copy at a different
location under a new name while preserving the current active scene name. At
the moment I store my current scene name in a variable, save the render-scene
in different location and then recall my initial scene name and save once to
have my old scene name at my old location back.
-
Is it possible to save scenes
outside the project directory with the help of scripting? Whenever I try this
with a script, the file browser opens. Can this behavior be overridden or am I
doing something wrong?
These are my questions for the moment and perhaps
you can point me in the right direction. Thanks in advance for your input!
Kind regards,
Cornelius