drifterlee opened this issue on Jul 01, 2007 ยท 42 posts
operaguy posted Tue, 03 July 2007 at 11:03 AM
this script just times the current render, but it works great.
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
import os
import time
import types
import poser
scene = poser.Scene()
toNewWindow = scene.RenderToNewWindow()
scene.SetRenderToNewWindow(0)
starttime = time.clock()
scene.Render()
stoptime = time.clock()
print "Render time = " + '%.2f' % (stoptime - starttime) + " seconds."
scene.SetRenderToNewWindow(toNewWindow)
#-END---------------------------------------------------------------------------