Motion Blur

BlitzMax Forums/BlitzMax Programming/Motion Blur

Carl S.(Posted 2006) [#1]
Anyone have any functions/code to motion blur (vertical) an image?

Thanks


AlexO(Posted 2006) [#2]
Doing it through software is rather expensive on the CPU unless you plan on pre-computing the images beforehand. This link at gamasutra.com provides easy explanation of how blur works and some tips on achieving fast software blur:
http://www.gamasutra.com/features/20010209/evans_01.htm
(you need a free gamasutra account to view it)

I'm currently playing around with a pixel shader for bmax to blur 2-D images dynamically and in real-time.

I've made a few bmax blur tests for real-time software blurring and had some good results (full-screen software blur at 1-2ms iirc).When I get back tonight I might post those source files, which takes advantage of the tricks from that link above and a few of my own.