Hello,
I have an MPxSurfaceShape rendered with SubScene in VP2 and I’m writing a script to render an animation through several deformations.
Although rendering works fine when doing it from Render View window (with just the default layer and the perspective camera), when I use the python command
maya.cmds.render()
the object does not appear in the rendered frame. The same applies to the apiMeshShape example.
What else do I have to care about? I’ve noticed about rendeWindowEditor() and renderer(), but I first need to know where I have to tweak parameters…
Thank you very much!