View Single Post
Old 19th December 2012, 22:17   #3  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,391
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)
__________________
- We´re at the beginning of the end of mankind´s childhood -

My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)
Didée is offline   Reply With Quote