I'm getting some wierd results now when trying the define a new
output. Mainly this is because I know very little of Perl, so much of
my learning right now consists of "copy/paste" and watch the results.
However, I'm trying to set a new $opt so that I can set the new path,
but it duplicates the $opt{renderflags} for some reason.
I've edited the "default form" so that it has a line called
"RenderFileOut". I added a opt (based on how the rest looks.
$opt{RenderFileOut} = $ARGV[0]; shift(@ARGV);
The added in "my $command =" as the last command
"-filename $opt{RenderFileOut}";
But it duplicates the Renderflag option...
anyidea? (I'm sure you are just laughing...)
regards
stefan andersson
On 11/8/05, Greg Ercolano <erco@(email surpressed)> wrote:
> [posted to rush.general]
>
> Stefan Andersson wrote:
> > If we could have a "checkbox" for it that would be great. So if it's
> > not checked it will use the default values. I haven't check myself yet
> > though what happens if you use the -filename and then doen't have any
> > values typed in.
> >
> > I will investigate some more.
>
> Unless I'm missing something, I would think the pathname
> that follows -filename would be mandatory. ie:
>
> -filename //path/to/some/directory/foo
>
> ..I'm guessing that would cause the output images to be
> something like:
>
> //path/to/some/directory/foo.1.sgi
> //path/to/some/directory/foo.2.sgi
> ..
>
> Correct me if I'm wrong.
>
> > I haven't check myself yet
> > though what happens if you use the -filename and then doen't have any
> > values typed in.
>
> I would think you'd get an error, based on the docs.
>
> > If we could have a "checkbox" for it that would be great. So if it's
> > not checked it will use the default values.
>
> I don't think this would be a check box flag, so much as it
> would be an input field that, if left blank, would do nothing,
> but if set to a pathname, would cause the script to automatically
> append "-filename //the/pathname" to the XSI command line.
>
> This is how all the other submit scripts work; I would think
> the Softimage script would work similarly.
>
>
>
>
> --
> Greg Ercolano, erco@(email surpressed)
> Rush Render Queue, http://seriss.com/rush/
> Tel: xxx-xxx-xxxx
> Cel: xxx-xxx-xxxx
> Fax: xxx-xxx-xxx
>
|