Dealing with big textures

Hello

I have a big texture and a small view area that is a fbo so inside the fbo i draw the texture and play with the scale and i get something like a zoom in/out effect

But i see my app drops fps as soon as i load those big textures so i’m guessing if there is a faster way to do that.

What i do seems not very efficient as i’m drawing a big image to only show a small part.

Hope that makes sense

Thanks

Hi @pandereto
Experienced similar beavihour here: https://forum.openframeworks.cc/t/problem-displaying-big-image/34394
Short answer: you’d probably need to break the big image in smaller ones, and manage what you need to display

HTH

Hi @Bencilari

I did a fast test and seems possible to do it with a shader and a plane, if you are curious can upload the sample

Hey I’d love to see the code from the fast test if you have a chance to post it. I like the idea of using a shader for this!

Here it is… however im not sure if its much faster

https://easyupload.io/mfdy6y

1 Like