Filters

Blitz3D Forums/Blitz3D Userlibs/Filters

Zach3D(Posted 2005) [#1]
Can anyone give me a basic explanation how to make a filter?


Danny(Posted 2005) [#2]
There's many ways to filters, but do a google for 'convolution matrix', that might get you started on the whole principal.


Danny(Posted 2005) [#3]
Dude, here's a good starting point, starts with lots of scary math symbols but easy-as-pie example code afterwards. For gaussian blur, sharpen, embossing, edge detection, etc.

http://www.gamedev.net/reference/programming/features/imageproc/page2.asp


Shifty Geezer(Posted 2005) [#4]
What sort of filter? Just processing an image, or realtime shaders?

A filter is basically a mathematical process performed of image data. It's can be something real easy like swapping pixels over, or something more complicated like a gaussian blur.

Without knowing what you want to use it for/what sort of filter you want, I don't know how this question can be answered more than Danny's covered.