View Single Post
Old 2nd January 2013, 22:33   #12  |  Link
pshute
Registered User
 
Join Date: Dec 2012
Posts: 11
Quote:
Originally Posted by Didée View Post
Simple horizontal scrolling? Not too difficult. And yes, it could be zoom.dll is not the fastest of all things to use.

A little picture of 23600*3000 pixels: <click>

A little script.
Code:
setmemorymax(512)

imagesource("Earth's_Location_in_the_Universe_(JPEG).jpg")

pwidth  = 1920  #  set to desired
pheight = 1080  #  output resolution

pwidthF=float(pwidth)
pheightF=float(pheight)
 
bicubicresize(width()*pheight/height(),pheight)
trim(1,1).loop(1440*3)

animate( 0,1440*3, "bicubicresize", pwidth,pheight, .33,.33, 0.0,            0.0, pwidth,pheight, 
 \                                  pwidth,pheight, .33,.33, width()-pwidthF,0.0, pwidth,pheight)

return(last)
On my i7-860, this renders roughly at ...
~ 50fps for 1920x1080 output (i.e. 2x realtime)
~100fps for 1280x720 output (i.e. 4x realtime)
I've just tried your exact script with the same sample image to get a speed comparison. On my i5-2400, 1920x1080 renders at barely 1fps, and 1280x720 is just 30fps. Does that sound right for this processor? 640x360 is around 150fps.
pshute is offline   Reply With Quote