I wrote a little patch to play two 1024 x 768px footages, and blend the edges between them (to use two projectors). I use 4 jit.gl.videoplanes. Two for the movies and two for blending alpha values that I generate with adjustable greyscale matrixes. (I draw one video and one blending videoplane on each of the two jit.window objects.) As I am not that much experienced with OpenGL, I would like to know if there is a faster way to achive my goal. I am working pretty much on the edge of my hardware power, so I wouldn't mind increasing the performance speed a bit.
As I am always filling the hole videoplane and window, does it make any sense to send an 'erase' message before every new frame to the jit.gl.render objects?
It would be great to get some comments on the patch how to improve it. (you don't have to tell me about the movie encoding, I am just intersted in possibilities to boost the speed within the patch.)
thanks a lot