Forums > Jitter

resolution limit for the

Dec 03 2011 | 10:10 pm

I am trying to run a pic which is 32000 x 600 pixels (JPEG) as shown in the patch bellow (the idea is to "slide" horizontally the pic – right 2 lefte / left 2 right – in the window). When running it with that resolution in the object I’ve got the following error message:

" setting subteximage during submission.: GL Error: Invalid operation"

I assume it has to do with the resolution cause when I use a smaller resolution (3200 x 600, for instance) I haven’t got this error. Is that a quicktime limit or a Gl problem?

thanx in advance

-- Pasted Max Patch, click to expand. --

Dec 03 2011 | 11:41 pm

I made the patch bellow where one can see that its not a probem. I loaded my 32000 x 600 pic and I was able to run it (although it was terrible slow in my macbook pro)in the way I intended (horizontal sliding). Due to the very low performance, I still hope to get it better on GL world. Some clues?

-- Pasted Max Patch, click to expand. --

Dec 04 2011 | 12:16 am

Simple question : did you try the loadram function ?

Dec 04 2011 | 12:46 am

Yes, I did, with no success.

Dec 04 2011 | 2:55 am

I am by no means the authority here, but I do think there is a texture limit for GL, which should be a power of 2 in each direction. I think I ran into this before with a different patch, maybe it was 2048 x 2048? Anyway, try the best-fitting and highest resolution in factors of 2 (with the best aspect ratio to match the original), and see if that helps. So, maybe for your original 30000 x 600, you could try 4096 x 256?

Again, this is only if you are going to GL land, using the matrix as a texture.

Viewing 5 posts - 1 through 5 (of 5 total)

Forums > Jitter