Hi Kim, hi Raffaele,
thank you very much for your insights!
I think I will use render passes for my cameras which I create within XSI
prior submitting the job. The use of XSIbatch with the script flag sounds
great as well, but for the time being, I will try scripting within XSI with
the GUI.
Creating new project every time for submitting render jobs is probably a bit
too much - deleting the unused folders etc. Is it perhaps possible to
customize the XSI Database structure - or is it always one main folder and
its subdirectories? At the moment, we have a special directory, where the
render - files lie. But probably we can change this to a folder within the
project directory - which is the easiest way, I think.
I will have a look at your batchmaker script - perhaps it helps me further
along. At the moment we mainly use Maya and at render several environment
variable values are integrated into the image names etc... Now I try to
mimic this behavior in XSI - which works quite well... however I have quite
a lot of work ahead.
Thanks again and kind regards,
Cornelius
-----Ursprüngliche Nachricht-----
Von: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] Im Auftrag von
Raffaele Scaduto-Mendola
Gesendet: Montag, 12. Mai 2008 22:09
An: XSI(at)Softimage.COM
Betreff: Re: [Rendering/scripting] - camera override at render/save scene
outside project directory
Hi Cornelius,
Yes, yes and yes.
1 - xsibatch -script will give you complete access to any XSI parameter
through scripting. So you can basically start xsibatch, run your script to
make sure everything is setup, and then as part of your script run a
renderpass command + you get access to things like ActiveX Object component
should you be tied to a sql database or need to do some FileSystem
operations.
You should have full access to do so.
2 & 3, you can setup a publishing scheme where you can save out your scene
outside the "provided" XSI/SoftImage directory structure.
Unfortunately to run the save scene, you need to save it inside a xsi
database. So what I do is create a localDataBase/user/system (so you have a
backup in case hell breaks loose on your production), save your scene out
and then copy your .scn (and .scntoc file) using the fileSystem Object to
which ever location you might provide (through web browser or file
directives).
Be aware, if you are using point baking, spring caching, etc... you will
have to account for these extra files in your copy commands.
Cheers,
RSM.
Cornelius Porzig wrote:
>
> 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
>
> ----------------------------------------------------------------------
> --
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 269.23.16/1428 - Release Date:
> 5/12/2008 7:44 AM
>
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi