>From the docs I take it that the render() command is just for maya software right? I need this to be v-ray/mentalray/Arnold. But your first suggestion should work, I'll take a look at it In the morning. Thanks!
On Monday, February 17, 2014, Ævar Guðmundsson <[email protected]<javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote: > There is a way to do as you are attempting, however before getting into > that have you looking into separating your processes. > > By your description, in pseudo code you are doing this procedure: > > > > --[script.py > > 01 - Import shaders > > 02 - perform application > > 03 - render > > [bash-01]>./script.py > > ...Result: rendered images > > > > By using the shipped in Render command you can find in your installation > you already have granular control over your renders, so the procedure would > be: > > --[script.py > > 01 - import shaders > > 02 - perform application > > 03 - save new version of scene > > [bash-01]>./script.py > > [bash-02]>./Render scene_version.mb > > ...Result: rendered images > > > > //// > > Same result but saves you a lot of code building if you do it like that > and you have off the shelf distribution capabilities. But if you still > want to then each flag that the Render command uses is also accessible > within python of course > > > > http://download.autodesk.com/global/docs/maya2014/en_us/CommandsPython/render.html > > { If you use this one just batch and split your operations within your > code and you have a batch renderer } > > > -- > 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/21a707de-1082-4c51-85be-f2572b5b0bb5%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- *Johan Forsgren*3D ArtistPhone + 46 31 752 20 [email protected]<[email protected]> Follow 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_rotkEKtEcTO1PX1qmk9SMPDZOpFPTdnV2y1%3D21DFe9EWg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
