This patch shows how to use gl objects in Jitter to fade the color of a rendered sphere between two values.
This example shows how to change the size and rotation position of an image or video displayed using Jitter. The x-y orientation of the image is manipulated via the rotate message sent to jit.gl.videoplane and the size of the image is altered via the camera message sent to jit.gl.render.
One method of subtitling a video is shown in the example "Write subtitles onto a video". That shows hot to use the jit.lcd object in Jitter, and add its output to that of a jit.movie object. Another method is to render both video and text in GL using the jit.gl.videoplane and jit.gl.text objects.
A crossfade or blend between two videos is particularly easy to accomplish in Jitter using OpenGL. (One can also blend two videos without GL, using the jit.alphablend object. The GL implementation is more efficient, because the blending computation takes place on the computer's graphics card instead of its CPU.)
To show four videos at once in four quadrants of the screen (i.e., four quadrants of a window), one way is to use the videos as textures on four different jit.gl.videoplane objects that are positioned appropriately in GL space.