I'm a bit confused how to specify what camera to use when rendering with mr from the command line. It seems to want to default to persp. Does 'mayarender_with_mr' not respond to the normal command line flags?
Nope.
'mayarender_with_mr' is simply a shell script that calls mayabatch.exe (or maya -batch on *nix?) with a mel command that launches the mental ray renderer on your scenes. It is very unflexible. Search for other posts if you want more control, i.e. setting start frames and such.
I haven't seen an example about setting the active camera, and haven't tried it myself. I'm sure it wouldn't be too hard.
However it's probably easiest just to set up the render camera properly in your file.
- Matthew Durante