Motion blur and fancy video effect thingy

27340afba8e6bbd010c1e520a843e50f
0
moomin 101 Jul 01, 2003 at 12:44

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???

2 Replies

Please log in or register to post a reply.

F7a4a748ecf664f189bb704a660b3573
0
anubis 101 Jul 01, 2003 at 17:02

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.

6ad5f8c742f1e8ec61000e2b0900fc76
0
davepermen 101 Jul 30, 2003 at 08:41

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?