We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
fast resizing? (Read 445 times)
fast resizing?
Feb 22nd, 2009, 5:48pm
 
hey all,

i'm running a small GIF vj application based on my asus eee 900, and i'm getting an OK performance using low resolution (320x240). but if i scale up to my projectors lowest resolution 800x600, the framerate drops very much --- now i can live with the low resolution (the GIFs are already very lo-res) but i need high framerate.

is there a clever way to zoom a processing composition to fullscreen, which is FAST / lowlevel / openGL?

an example of the vj app running off a faster computer can be seen here: http://vimeo.com/2163427

the vj app is based on the gifAnimation library by extrapixel.

best,
jacob
Re: fast resizing?
Reply #1 - Feb 22nd, 2009, 7:52pm
 
oh, i should add that i tried making a PGraphics object for the gifs, drawing all my animations into that in 320x240, then scaling that to 800x600 when pasting it to the final composition. but this is REALLY slow, and also, it gives some graphics errors in the gif animations, along with soft / blurry resizing -- i want something that scales the pixels with hard edges, like the "nearest neighbour" setting in photoshop when resizing pictures....
Page Index Toggle Pages: 1