Computer Science Canada
[source code] motion blur
|Author:||Tony [ Sun Nov 09, 2003 3:51 pm ]|
|Post subject:||[source code] motion blur|
based on my blur filter and thx to thoughtful for the idea
Motion Blur is used to blur images in a direction and with magnitude, creating an effect of the object moving in that direction.
Not much has changed. The only difference really is that trig is used to find which points to blur together.
Direction:int is degrees at which to blur, Magnitude:int is how many pixels in that direction will be blured.
Here're some SS:
Blur(0,10) + redraw of text
Blur(45,25) + redraw of text
Note, I've left a border around the image of "Magnitude:int" length, so that filter would not crash, trying to get the color of a pixel outside the screen
|Author:||rizzix [ Sun Nov 09, 2003 7:39 pm ]|
as i said nice stuff
|Author:||thoughtful [ Mon Nov 10, 2003 3:38 pm ]|
Hey tony this is jus great, i wasn't expecting an effect this great this fast. it is splendid.