View Full Version : Any suggestion about improving 2D Convolution

10-09-2005, 05:25 PM
Hello everyone,

I have 3DLabs WildCat II 5110 card, and I used glConvolutionFilter2DEXT to apply a 3x3 filter on a 24-bit 1600x1200 BMP image and glDrawPixels. But it takes me around 2 seconds.

Does anybody can help me to improve the performance?

I really do appreciate.

10-09-2005, 10:58 PM
Use a fragemnt program for your calculation - but Im not sure if your HW uspports it.

If so - render a full screen quad with texture coordinates in an orthogonal projection and then do the convolution of your texture in a fragment program with GLSL.