Forum: Poser - OFFICIAL


Subject: Poser and single core processor vs quad core speed?

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.

#-------------------------------------------------------------------------------

TimeCacheRender.py

(c) 2005-04-12 Geoff Hicks (GeoffIX/gwhicks)

Initiate a Render to the render cache and display

the render duration.

#-------------------------------------------------------------------------------

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---------------------------------------------------------------------------