Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 26-11-2007, 08:23 AM   #1
sjtaylor84
Subscriber
 
sjtaylor84's Avatar
 
Join Date: Nov 2005
Location: England
Posts: 102
Thanks: 0
Thanked 0 Times in 0 Posts
Question mac equivalent of .bat file rendering?

Hi there,

When at Uni I render using a .bat file with a list of files in it. How do I do this on a mac as I have a mac at home?

Thanks in advance
Simon
__________________
www.simontayloranimation.com
sjtaylor84 is offline   Reply With Quote
Old 26-11-2007, 08:35 AM   #2
gster123
Moderator
 
gster123's Avatar
 
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
Thanks: 1
Thanked 51 Times in 45 Posts
Default

No too sure of this is the way to do it but I think that MAC OS is UNIX based, and if so this is out of Maya 6 the complete ref.

save it as a .txt file then you change the permissions so out of the book

"open a shell then use the cd command to navigate to the location then type the following

chmod a=rwx filename.txt

(where filename is the name of the text file)

press enter (return) then to begin rendering type

./filename.txt

As I say I dont know if this is the correct way to do it for a mac but it might make more sense to a mac user as some of the commands might be commonplace in your OS vocab, and hence make sense.
__________________
"No pressure, no diamonds" Thomas Carlyle
gster123 is offline   Reply With Quote
Old 27-11-2007, 01:26 PM   #3
t1ck135
Registered User
 
t1ck135's Avatar
 
Join Date: May 2004
Location: UK
Posts: 1,991
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yep that looks good steve

I still use chmod 755 or 644 or similar for ownerships (depending on what you want to do) even though it might be the 'old' way

You can do it all from your current location as well, I think its a bourne shell variant on the mac so auto tab completion should work. If you go to a terminal and type the first couple of letters of the directories that it is in and then presse the tab then it should give you the path (or if there are many with the same starting name it will cycle through them with each tab press).
once you get into the directory with the file just add the ./filename to the end and if the permissions are set correct it will execute it.
e.g,
In command terminal:
/home/simon/scripts/./filename
obviously replace with your own details

not that beneficial here but just a different way of executing a script without having to move into its location

Si
__________________
Examples of bTraffic - a traffic animation tool for Maya
bFlocking - a tool for Maya 8.5+ to generate flocking and swarming behaviours
Jan/Feb Challenge 2007 Entry and W.I.P
May/Jun Challenge 2006 Entry and W.I.P
Mar/Apr Challenge 2006 Entry and W.I.P
Jan/Feb Challenge 2006 Entry and W.I.P
Nov/Dec Challenge 2005 Entry and W.I.P
Sep/Oct Challenge 2005 Entry and W.I.P
Jul/Aug Challenge 2005 Entry
www.flash-fx.net
t1ck135 is offline   Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Open a Lightwave file in Maya 2011 radiant777 Maya Basics & Newbie Lounge 2 04-12-2010 03:45 AM

Thread Tools





A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.