Example #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.mayatoThea(width=resolutionX, height=resolutionY, camera=camera, startIpr=True)
     self.postRenderProcedure()
Example #2
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.mayatoThea(width=resolutionX,
                   height=resolutionY,
                   camera=camera,
                   startIpr=True)
     self.postRenderProcedure()
Example #3
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.mayatoThea()
     else:
         pm.mayatoThea(width=width, height=height, camera=camera)
         
     if not self.ipr_isrunning:
         self.showLogFile()
     self.postRenderProcedure()
Example #4
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.mayatoThea()
        else:
            pm.mayatoThea(width=width, height=height, camera=camera)

        if not self.ipr_isrunning:
            self.showLogFile()
        self.postRenderProcedure()
Example #5
0
 def stopIprRenderProcedure(self):
     self.ipr_isrunning = False
     log.debug("stopIprRenderProcedure")
     pm.mayatoThea(stopIpr=True)
     self.postRenderProcedure()
Example #6
0
 def stopIprRenderProcedure(self):
     self.ipr_isrunning = False
     log.debug("stopIprRenderProcedure")
     pm.mayatoThea(stopIpr=True)
     self.postRenderProcedure()