예제 #1
0
 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()
예제 #2
0
 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)
예제 #3
0
 def stopIprRenderProcedure(self):
     self.ipr_isrunning = False
     log.debug("stopIprRenderProcedure")
     pm.mayatoappleseed(stopIpr=True)
     self.postRenderProcedure()