So i finally got som time to get it set up, works like a charm.
The actual process became pretty complex, I basically have this python tool
executing the mayapy, in which I do some operation on my scene and call
batchrender.

The only thing though is that I had to do it via a .bat file containing the
render command, calling "render -r vray" directly from subprocess in mayapy got
me a "access denied" error.  Any idea why that would be the case?
Since this is all happening on the server I'm guessing it has something to
do with file permissions or something pesky like that.   Either way thanks
a lot :)




On Tuesday, February 18, 2014, <[email protected]> wrote:

>  haha, good point, in which case you definitely want the Render command;
>
> *Render -r mr myscene.mb*
> *Render -r Arnold myscene.mb*
> *Render -r vray myscene.mb*
>
>   lets you switch between renderers with quite the ease.  You can almost
> copy paste render command between them and render separate layers with
> separate renderers
>
> {rendering a beauty pass in Arnold and occlusion in mental ray for example}
> *Render -r arnold -rl beauty myscene.mb*
> *Render -r mr -rl occlusion myscene.mb*
>
>   The most notable thing between them they all have a -v (verbosity) flag
> but Arnold removed it for some reason, and there is weird syntax in getting
> multi channel exr files stated, you need to encapsulate the renderer
> definition in brackets.
>
> *Render -r vray -v 5 -rl diffuse -of "exr (multi)" myscene.mb*
>
>   Have fun, it gets really interesting even on a single machine, tip; keep
> an eye on your actual processing meter and determine how many you can start
> without stalling your machine, then look into mental ray satellite and the
> vray distributed renderer for a super easy setup to get additional render
> power from any free CPU around you, even an old £10 laptop if left unused
> will aid in your workspace renders by chipping in on processing a pixel or
> 2, if you are in a production environment that means every computer with
> the screensaver turned on could potentially be cutting half your render
> time down through an additional CPU pool. :)
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to 
> [email protected]<javascript:_e(%7B%7D,'cvml','python_inside_maya%[email protected]');>
> .
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/53030bad.8461b40a.69e3.fffffa80%40mx.google.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>


-- 
*JOHAN FORSGREN*CG ARTISTPhone + 46 31 752 20
[email protected]
+ 46 31 752 20 07Follow us at
facebook.com/edithousefilmworks<https://www.facebook.com/EdithouseFilmWorks>edithouse
FILM WORKSwww.edithouse.seLilla Bommen 4a, S-411 04 Göteborg, Sweden
www.facebook.com/edithousefilmworks<https://www.facebook.com/EdithouseFilmWorks>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CANSD_rqsbGn2iA6tGi7nK%3Dx3mDOucXO4KKcjSYhRfezLGXSSYA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to