From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: change render target
   Date: Tue, 08 Nov 2005 13:04:03 -0800
Msg# 1104
View Complete Thread (9 articles) | All Threads
Last Next
Hi Stefan,

One thing you could do to make things easy on yourself
is to implement the modifications this way:

        1) Add the new "Render File Out:" field to the form, eg:

                Render File Out: ___________________________________________ ? Browse

        2) In the '-submit' section of the script, check $in{RenderFileOut}:

                # CHECK IF USER SPECIFIED A 'RENDERFILEOUT'
                if ( $in{RenderFileOut} ne "" && $in{RenderFileOut} ne "-" )
                {
                    $in{RenderFlags} .= " -filename $in{RenderFileOut}";
                }

I think that would be all that's necessary, and avoids having to
make extra logic to pass the flags through to the -render section;
the above simply adds the -filename and path to the RenderFlags,
which has logic already to pass it on to the -render section of the code.

If you need more help, I can simply send a modified version of the script,
as I intend to include this in the future submit-softimage anyway. BTW, which
version of rush are you running.. 102.41 or 102.42? I'm assuming the latter
with the above.

Last Next