def startIprRenderProcedure(self, editor, resolutionX, resolutionY, camera): self.ipr_isrunning = True log.debug("startIprRenderProcedure") print "startIprRenderProcedure", editor, resolutionX, resolutionY, camera self.createGlobalsNode() self.preRenderProcedure() self.setImageName() pm.mayatoappleseed(width=resolutionX, height=resolutionY, camera=camera, startIpr=True) self.postRenderProcedure()
def renderProcedure(self, width, height, doShadows, doGlow, camera, options): log.debug("renderProcedure") self.removeLogFile() print "renderProcedure", width, height, doShadows, doGlow, camera, options self.createGlobalsNode() self.preRenderProcedure() self.setImageName() if pm.about(batch=True): pm.mayatoappleseed() else: pm.mayatoappleseed(width=width, height=height, camera=camera)
def stopIprRenderProcedure(self): self.ipr_isrunning = False log.debug("stopIprRenderProcedure") pm.mayatoappleseed(stopIpr=True) self.postRenderProcedure()