Help - Search - Members - Calendar
Full Version: OS X Render Queue
Board Index > 3D Forums > Maya Boards > Rendering/Lighting/Shading
carlosmolina
Hi,
Has anyone had success using a render queue for OS X?
I used Jrender script, but it stopped working. It seems it cannot find the scenes anymore. (It used to do fine, but it stopped working).
Is there another way to render several scenes at once?
beaker
OS X is based on a form of unix. You can just write a shell script with commandline renders in it, just make it executable and run it in the shell.

#!/bin/bash
render -r sw blah1.mb
render -r sw blah2.mb
render -r sw blas3.mb

Check the manual for any switches you need or type "render --help". The "-r sw" just picks the software renderer, but you can also change it to "mr" for mental ray ro "vr" for vector renderer.

Save it in the text editor then to run it just type "./script_name". Replace script_name with the name you saved the file as. If it gives an error about not being executable just "chmod 777 script_name" to give yourself permission to execute it. It sounds confusing and compex at first but once you get used to it, it's not so bad.
larsonworks
i'm also having similar issues. i can't seem to render from the terminal window. it's giving me a "comand not found" response to the "render" command. is there a way to find out why it doesn't recognize this command?
Joojaa
se3emsm like your shell isnt configured to look for commmands in the maya binaries directory. Add that directory to your lookup pat.
larsonworks
i thought it was something like that. how would i go about adding the maya bianaries directory to my lookup pat? thanks

QUOTE(Joojaa @ 10/19/05, 07:15 AM)
se3emsm like your shell isnt configured to look for commmands in the maya binaries directory. Add that directory to your lookup pat.
*
larsonworks
ah ha... apparently OSX has a seperate terminal window for maya. snuck it in under the applications folder as "maya terminal.term" running these scripts from there works like a friggin charm. except for mental ray... still haven't figured that one out yet...
Joojaa
do you remeber thet form commandline yyou need to specify if you want mr or not.

if no -r mr is present maya will render software and software only!
dunkelzahn
Is it normal, that Maya 7 starts Mental Ray when I execute the script? I followed the routine mentioned above and put this in my script, which I execute in my Mayaterm.term terminal:

/Applications/Alias/maya7.0/Maya.app/Contents/bin/
render -r sw ~/Documents/maya/projects/test/scenes/01.mb
render -r sw ~/Documents/maya/projects/test/scenes/02.mb

It works a treat anyway, thank the Gods for this thread, only I was wondering about Mental Ray being started, when I specified the software renderer in my script! huh.gif
Joojaa
mark the plugin as nonloadable on startup... itlll spoeed up things a tad too.
dunkelzahn
I believe you don
Joojaa
yes thets exactly what i mean!
dunkelzahn
In the Plugin Manager? I tried that, it didn
Joojaa
thets becaus ethe file itself loadds mr! unload the mr in the file in question too! infact unloading teh scenes mr shoulf be enough! (scenes keep trackof plugins loaded too)

Now the easiet way to get rid of the extra gludge is to select anll and export to empty scene. Thet is selecting a amrque all thats on screen.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.