» Motion Blur
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Motion Blur

effect blur dx9/ex9 motion

about

this reacts to world-, view-, projection-, aspect ratio transformation and dynamic meshes too.

the help patch is a bit lame but i hope that shows well how to use this.
have fun!:)

update:
i've done some minor fixes and cleanups and i solved the ugly edges by smoothing the velocity map. also i discovered that the blur of the movement on Z axis was incorrect when perspective was used so that's fixed too.

update2:
revamped the whole thing: now it's nicer and has more control. still it has some ghosts caused by the blur though.

update3:
added blur filter instead of the gaussianblur, added more control to velocitymaps, corrected this and that

update4:
i discovered after this long time that the direction of the blurring was not always right and it was annoying. so it's fixed now and it's way much nicer.

download

cmotionblur.zip
06.02.11 [02:55 UTC] by microdee | 964 downloads
1.0 release version
Show 3 older revisions

Older Revisions

cmotionblur101.zip
07.02.11 [19:14 UTC] by microdee | 748 downloads
1.01 fixed edges, perspective, cleaned up shader codes
MotionBlur.zip
18.09.11 [04:20 UTC] by microdee | 702 downloads
2.01: now it fits in the texture filters, added/corrected a lot of things, added more control
MotionBlur.zip
17.07.12 [17:58 UTC] by microdee | 555 downloads
2.02b: fixed blurring in wrong directions, fixed strange grid problem in beta27.2

u7angel 06/02/2011 - 14:11

nice one, this was on my list for a long time.
i guess its based on this http://http.developer.nvidia.com/GPUGems3/gpugems3_ch27.html ??

maybe you find some missing piece in this document. the shader code in gpu gems looks a lot more concise. anyway, good work, microdee

screamer 06/02/2011 - 14:21

great and useful contribution, thxxxxx :D

microdee 06/02/2011 - 15:41

yep it's partly based on that. however i was a bit surprised that the "for" cycle gave a syntax error in vvvv so i used this not really elegant method (i don't know much about it but this is a limitation of SM 3.0 or i overlooked something?)

m4d 06/02/2011 - 18:09

hooray for new shader contributions! :)

dottore 06/02/2011 - 20:49

good job microdee! :)
yes, a serious motion blur was needed and this seems really interesting! tnx!

antokhio 06/02/2011 - 21:13

thx

West 07/02/2011 - 02:37

Wow, A little motion blur really does miracles!!

hrovac 07/02/2011 - 18:25

thx, like it.
in your dropbox.zip the shader "gaussianblurRatio" is missing.

microdee 07/02/2011 - 20:17

fixed in theory

u7angel 17/07/2012 - 15:38

help file not working with beta27.2
black screen, just the PIP rendering works.

everyoneishappy 17/07/2012 - 16:54

same here

microdee 17/07/2012 - 17:48

sorry i've done this in alpha28 and it was working there on b27.2 very weird stuff happens i confirmed black screen and alt + right click on Grid (EX9.Geometry) inside the Blend (EX9.Texture Mixer) fixed the problem. so now i've "extracted" blend.fx and it works without alt+rightclicking on grid

anonymous user login

Shoutbox

~13h ago

joreg: and also tomorrow, July 23rd: vvvv meetup in #berlin 11-berlin-vvvv-meetup-new-space creativecoding #visualprogramming

~6d ago

joreg: In case you missed: We're starting with free bi-weekly introductions to #vvvv next week in #berlin free-vvvv-intro-workshops-this-summer-in-berlin #creativecoding

~6d ago

guest: uno|https://platform.uno/

~14d ago

joreg: @beyon too bad. but from now on we have a fixed schedule: every 4th tuesday in the month! hope this helps to plan evvvveryones visits

~14d ago

beyon: joreg: ah, bad timing, I would be happy to attend but I doesn't look like it will work out

~14d ago

joreg: @beyon any chance you can add 2 days to stay? would be great to have you at the (not yet announced) #vvvv meetup on the 23rd!

~14d ago