Key error! So no Wonder it doesnt work properly.  Shouldnt this be set by
default?

On Friday, February 21, 2014, Ævar Guðmundsson <[email protected]>
wrote:

> What does the output of import os;os.environ["RENDER_DESC_PATH"] return?
>
>   Initial thing I can think of is access problems to the renderer
> description found in the output of that variable, if the output of that
> command is then a folder where you have full access paste the travelog and
> I'm sure it's something simple, permission errors on these are usually just
> a minimal tweak
>
>  -sent from my iPhone
>
> On 20 Feb 2014, at 23:00, Johan Forsgren 
> <[email protected]<javascript:_e(%7B%7D,'cvml','[email protected]');>>
> wrote:
>
> 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].
> 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.
>
>
>
> --
>    You received this message because you are subscribed to a topic in the
> Google Groups "Python Programming for Autodesk Maya" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/python_inside_maya/W6QbXBDl-HM/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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/CANSD_rqsbGn2iA6tGi7nK%3Dx3mDOucXO4KKcjSYhRfezLGXSSYA%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>
>  --
> 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/078DA604-BEF9-4722-9C4E-B8AC373474BD%40gmail.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_rptEnYdRhgRoUNk7DU09Bs-uu8GeS5GajPoVKUD%3DxiDkw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to