We get it. We use ad blockers too. But GameDev.net needs to display ads in order to continue to be a great platform for you.
Please whitelist GameDev.net. Also consider a GDNet+ subscription to remove bulk/3rd party ads.
Jump to content
This is not recommended for shared computers
Sign in anonymously
Don't add me to the active users list
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
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