Jump to content
This is not recommended for shared computers
Sign in anonymously
Don't add me to the active users list
Posted 27 May 2013 - 11:52 AM
I'm trying to use a convolution filter for face detection. I have a 30x30 matrix that i'm trying to convolute with the texture but i'm getting a black texture
Posted 27 May 2013 - 12:23 PM
Have you verified that you can actually use such a large filter, because I see no error checking in your code. The standard only requires up to 3x3 filters to be supported, and anything beyond that is implementation defined.
Posted 30 May 2013 - 09:06 AM
On Linux, you can run this to find out the limits:
glxinfo -l | grep GL_MAX_CONVOLUTION
But you should definitely get in the habit of building error handling into your code.
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC