Original Post
Hi, I have coded a little application with opengl that swaps a couple of images with a nice fading transition. I would however want to optimize this application as much as possible, the transition part especially. It works like this, during initialization I disable depth testing and lighting and enable blending and alpha_testing. I also set the projection matrix to an 2d orthogonal matrix. When I load the images I resize them to 1024x1024 and convert them to 24bits and load the texture with the same settings and with linear filtering. (I assume the images has the same aspect ratio as the screen) When I render the transition I draw two screen aligned quads (one for each texture). The first is always drawn with color 1,1,1,1 but the second has the alpha depend on how far the transition has gone. I never clear the scene, I just redraw it. But even with quite a new graphics card (geforce 7600) it is a bit slow. The fading is not as smooth as I want it to be. So, is there any more tricks that I can do to make this faster?