PDA

View Full Version : Motion blur and fancy video effect thingy


moomin
07-01-2003, 06:44 AM
I'm aware of motion blurring via the accumulation buffer, although relatively simplistic (afaik from red book), it will be rather slow since it isn't support in hardware. I take it teh best way is to take a snapshot of the previousscene and then reapply this to current scene

Could this be applied to say streaming videos

i.e. take snapshot of the video, then apply this as a 2D texture to a quad, so you can still do roations etc, but the video will still play?


Hi res videos will be a LOT slower but low res videos maybe would work???

anubis
07-01-2003, 11:02 AM
it's actually quite simple. check out video for windows. it lets you stream in avi video files into your app easily. if you are not under windows i'd check out ogg.
vfw delivers you video frames as DIBs which you can simply load into opengl textures.

davepermen
07-30-2003, 02:41 AM
motion blur is actually the blurring because of the motion between two frames.. cummulating old frames doesn't help there..

though you can make motionblur like that with an infinite amount of "buffer frames", wich is quite cool..

but then again, uhm.. ai i sometimes get headaches when different thoughts start to fight eachother:D


oh, and accumulation buffers are in hardware on radeon9500 and bether.. yep! quite cool, not?