resolution limit for the jit.qt.movie?

sandroid's icon

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 Jit.qt.movie object I've got the following error message:

"jit.gl.texture: 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?

Max Patch
Copy patch and select New From Clipboard in Max.

thanx in advance

sandroid's icon
Max Patch
Copy patch and select New From Clipboard in Max.

I made the patch bellow where one can see that its not a jit.qt.movie 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?

tep's icon

Simple question : did you try the loadram function ?

sandroid's icon

Yes, I did, with no success.

seejayjames's icon

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.