Message 1 of 4
Not applicable
01-22-2018
02:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm trying to render a camera using the arnold renderer by a python script.
I've tried to call the following functions:
cmds.setAttr("defaultRenderGlobals.currentRenderer", "arnold", type="string")or
cmds.setAttr('defaultRenderGlobals.ren', 'arnold', type='string')But the output image is rendered using maya software (Because the AiSky I add is black) and no my camera is not pointing downward
I also tried importing arnold and doing something like:
from arnold import * import os import sys AiBegin() output = AiRender() AiEnd()
But it does not seem to work either. (Output gives me "3")
Does anyone know how to do that ?
Thank you
Solved! Go to Solution.