Filters
Blitz3D Forums/Blitz3D Userlibs/Filters
| ||
Can anyone give me a basic explanation how to make a filter? |
| ||
There's many ways to filters, but do a google for 'convolution matrix', that might get you started on the whole principal. |
| ||
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 |
| ||
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. |