Ok thisones hard because i have no mac to test on. Its actuay cosiderably more technical on mac than on a pc.
Basicaly you have much more choise on mac BUT also much more to do.
(1. wich most people find the hardeest is that you will need to use a shell that actualy knows WHERE you isntalled maya. And form previous discussions it seems its not automaticaly added to yur lookup path. In itself thsi sint hard but it greatly depends on HOW you want this setup. This complicates thing bit,not much tough.)
however step 1 can be omitted, but it going to mek ayour life pure hell if you dont.
- anyway basicaly shelscripts on *nix boards work like this
#! /path/to/shell
shellcommand
shellcommand
shellcommand
The firt line is called shebang it defines WHICH shell executable is going to interpret the following lines. Its iportant baceuse you have many choises of flavours. my personal choise i zsh but my other shell will do here.
- Extension has no significnt meaning, but teh filesystem has a eectutable flag if its set then the file wil be executed
shellcommand:
is the render yada yada yada BUT unless you define step 1 you need to guide the shellscript by the horns because it does not utomticaly KNOW where to look for it. So youd ned to type the FULL path to the render BINARY.
soe isnetad of
render -r -mr file.mb
Yourneed to write
/path/to/mayaa/bin/render -r /path/to/file.mb
Se the evironment only defines a list of where to look for the render executeble.
Anyway ive posted a discussion that goes into this much deeper.
PS and for gods sake NEVER EVER use word to write shellscript files.