From: Gary Jaeger <gary@(email surpressed)>
Subject: maya8
   Date: Wed, 08 Nov 2006 15:04:33 -0500
Msg# 1416
View Complete Thread (8 articles) | All Threads
Last Next
I'm deploying maya8 on the render machines. Is there anything in particular I need to change for our submit scprits?

thx

. . . . . . . . . . . . . . . . . . . . . . . .

Gary Jaeger //  Core Studio

+   www.corestudio.com   +



   From: Gary Jaeger <gary@(email surpressed)>
Subject: Re: maya8
   Date: Wed, 08 Nov 2006 15:38:17 -0500
Msg# 1417
View Complete Thread (8 articles) | All Threads
Last Next
i guess not. it seems to just work w/ the maya6 script. I guess you'll have to change the name of that one at some point :)

On Nov 8, 2006, at 12:04 PM, Gary Jaeger wrote:

I'm deploying maya8 on the render machines. Is there anything in particular I need to change for our submit scprits?

thx

. . . . . . . . . . . . . . . . . . . . . . . .
Gary Jaeger //  Core Studio
+   www.corestudio.com   +


. . . . . . . . . . . . . . . . . . . . . . . .

Gary Jaeger //  Core Studio

+   www.corestudio.com   +



   From: "Niklas Aldergren" <n.aldergren@(email surpressed)>
Subject: Re: maya8
   Date: Wed, 08 Nov 2006 15:41:10 -0500
Msg# 1418
View Complete Thread (8 articles) | All Threads
Last Next
On 8 Nov 2006 20:38:17 -0000, Gary Jaeger <gary@(email surpressed)> wrote:
i guess not. it seems to just work w/ the maya6 script. I guess you'll have
to change the name of that one at some point :)

As of a7 the new-style script is actually called just submit-maya:

http://seriss.com/rush-current/rush/release-notes.html#102.42a7

/Niklas

   From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: maya8
   Date: Wed, 08 Nov 2006 16:18:06 -0500
Msg# 1421
View Complete Thread (8 articles) | All Threads
Last Next
Gary Jaeger wrote:
i guess not. it seems to just work w/ the maya6 script.

	Yes, under windows you don't usually need to change anything,
	all the settings can be left commented out, so that the variable
	settings all come from the "System Environment" variable settings.
	(just be sure to restart rushd or reboot after installing maya,
	to ensure rush picks up the new "System Environment" settings
	from the new install of maya)

I guess you'll have to change the name of that one at some point :)

	Yes, in Rush 102.42a6 and older:

		The 'submit-maya6' script uses the "newer syntax" introduced
		in Maya 6 (hence the name), which invokes "Render -r" to render scenes.

		The "submit-maya" script is the "old school" submit script
		that invokes mayabatch/maya -render, and uses mel scripts
		to run mental ray renders.

	As of 102.42a7, as Niklas indicates, I changed the names of the
	two scripts because it was confusing folks. So the new names are:

		"submit-maya" is the "newer syntax" script.
		"submit-maya-old" is the "old school" script.

	So basically the files were renamed:


OLD NAME          NEW NAME (102.42a7 and up)
submit-maya6  ->  submit-maya                    -- uses new "Render -r [sw|mr..]"
submit-maya   ->  submit-maya-old                -- uses old "maya -render" and "mayabatch"

	The old scripts are rarely used anymore; the new syntax seems
	to be the "better thing". I keep the old script around because
	it shows how one can make custom mel scripts "on the fly", and
	also to support those VERY few people using maya5 and older..

--
Greg Ercolano, erco@(email surpressed)
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)
Fax: (Tel# suppressed)
Cel: (Tel# suppressed)

   From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: maya8
   Date: Wed, 08 Nov 2006 15:43:41 -0500
Msg# 1419
View Complete Thread (8 articles) | All Threads
Last Next
Gary Jaeger wrote:
I'm deploying maya8 on the render machines. Is there anything in particular I need to change for our submit scprits?

	Usually just the variable settings at the top of the script
	below this header:

#########################################################
### MAYA SPECIFIC VARIABLES -- CUSTOMIZE AS NECESSARY ###
### See Maya docs for more info.                      ###
#########################################################

	Depending on the platform(s) you're using, update the PATH
	and MAYA_LOCATION.

	If you're using mental ray standalone, you may need
	to update those settings as well.

	If you want to keep both versions of maya on the machines,
	and be able to switch between them, then make separate copies
	of the submit script; eg:

		submit-maya7
		submit-maya8

	..and modify the submit-maya7 script to use only Maya7 paths,
	and modify the submit-maya8 script  to use only Maya8 paths.
	Then users can render with either version of maya, depending
	on the script they submit with.

	eg. the submit-maya7 script might look like:


if ( $G::iswindows )
{
    # WINDOWS
    #    Normally leave this commented out; Maya sets these by default.
    #    Restart the Rushd service if you recently installed Maya.
    #
    $ENV{MAYA_LOCATION} = "c:/Program Files/Alias/Maya7.0";           # MAYA7
    $ENV{PATH}          = "$ENV{MAYA_LOCATION}/bin;$ENV{PATH}";
    [..]


	..and the submit-maya8 script might look like:


if ( $G::iswindows )
{
    # WINDOWS
    #    Normally leave this commented out; Maya sets these by default.
    #    Restart the Rushd service if you recently installed Maya.
    #
    $ENV{MAYA_LOCATION} = "c:/Program Files/Alias/Maya8.0";           # MAYA8
    $ENV{PATH}          = "$ENV{MAYA_LOCATION}/bin;$ENV{PATH}";
    [..]


	Note the comment character (#) has been removed from the beginning
	of the MAYA_LOCATION and PATH lines.
	

--
Greg Ercolano, erco@(email surpressed)
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)
Fax: (Tel# suppressed)
Cel: (Tel# suppressed)

   From: Gary Jaeger <gary@(email surpressed)>
Subject: Re: maya8
   Date: Wed, 08 Nov 2006 15:49:46 -0500
Msg# 1420
View Complete Thread (8 articles) | All Threads
Last Next
thanks greg. I'll also have to go up to a7 at some point. Thanks Niklas.

On Nov 8, 2006, at 12:43 PM, Greg Ercolano wrote:

[posted to rush.general]

Gary Jaeger wrote:
I'm deploying maya8 on the render machines. Is there anything in particular I need to change for our submit scprits?

Usually just the variable settings at the top of the script
below this header:

#########################################################
### MAYA SPECIFIC VARIABLES -- CUSTOMIZE AS NECESSARY ###
### See Maya docs for more info.                      ###
#########################################################

Depending on the platform(s) you're using, update the PATH
and MAYA_LOCATION.

If you're using mental ray standalone, you may need
to update those settings as well.

If you want to keep both versions of maya on the machines,
and be able to switch between them, then make separate copies
of the submit script; eg:

submit-maya7
submit-maya8

..and modify the submit-maya7 script to use only Maya7 paths,
and modify the submit-maya8 script  to use only Maya8 paths.
Then users can render with either version of maya, depending
on the script they submit with.

eg. the submit-maya7 script might look like:


if ( $G::iswindows )
{
    # WINDOWS
    #    Normally leave this commented out; Maya sets these by default.
    #    Restart the Rushd service if you recently installed Maya.
    #
    $ENV{MAYA_LOCATION} = "c:/Program Files/Alias/Maya7.0";           # MAYA7
    $ENV{PATH}          = "$ENV{MAYA_LOCATION}/bin;$ENV{PATH}";
    [..]


..and the submit-maya8 script might look like:


if ( $G::iswindows )
{
    # WINDOWS
    #    Normally leave this commented out; Maya sets these by default.
    #    Restart the Rushd service if you recently installed Maya.
    #
    $ENV{MAYA_LOCATION} = "c:/Program Files/Alias/Maya8.0";           # MAYA8
    $ENV{PATH}          = "$ENV{MAYA_LOCATION}/bin;$ENV{PATH}";
    [..]


Note the comment character (#) has been removed from the beginning
of the MAYA_LOCATION and PATH lines.



-- 
Rush Render Queue, http://seriss.com/rush/
Tel: 626-791-9225
Fax: 626-795-5947
Cel: 310-266-8906


. . . . . . . . . . . . . . . . . . . . . . . .

Gary Jaeger //  Core Studio

+   www.corestudio.com   +



   From: Gary Jaeger <gary@(email surpressed)>
Subject: Re: maya8
   Date: Thu, 09 Nov 2006 15:34:51 -0500
Msg# 1424
View Complete Thread (8 articles) | All Threads
Last Next
So I have that working with OS X too. Now how do I modify (or create)  
a double-clickable submit-maya8.app? I've run my submit-maya8.pl from  
the terminal with success.

On Nov 8, 2006, at 12:43 PM, Greg Ercolano wrote:

> 	Usually just the variable settings at the top of the script
> 	below this header:

. . . . . . . . . . . . . . . . . . . . . . . .
Gary Jaeger //  Core Studio
+   www.corestudio.com   +


   From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: maya8
   Date: Thu, 09 Nov 2006 15:54:08 -0500
Msg# 1425
View Complete Thread (8 articles) | All Threads
Last Next
Gary Jaeger wrote:
So I have that working with OS X too. Now how do I modify (or create) a double-clickable submit-maya8.app? I've run my submit-maya8.pl from the terminal with success.

	Yes, you'll need to make a .app for the script, so that the
	macs can run it from the Finder. (It's always been silly to me
	that the Finder can't run scripts by just clicking on them.
	That's what the 'execute' bit on the file is for ;)

	How to create a .app for a custom script was covered recently
	in this newsgroup article:
	http://seriss.com/cgi-bin/rush/newsgroup-threaded.cgi?-view+1378+1378

	..be sure you have the correct permissions on the files (note the 'p'
	flag on the cp command)

--
Greg Ercolano, erco@(email surpressed)
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)
Fax: (Tel# suppressed)
Cel: (Tel# suppressed)