Jump to content


Motion blur and fancy video effect thingy


2 replies to this topic

#1 moomin

    Member

  • Members
  • PipPip
  • 44 posts

Posted 01 July 2003 - 12:44 PM

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 anubis

    Senior Member

  • Members
  • PipPipPipPip
  • 2225 posts

Posted 01 July 2003 - 05:02 PM

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.
If Prolog is the answer, what is the question ?

#3 davepermen

    Senior Member

  • Members
  • PipPipPipPip
  • 1306 posts

Posted 30 July 2003 - 08: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?
davepermen.net
-Loving a Person is having the wish to see this Person happy, no matter what that means to yourself.
-No matter what it means to myself....





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users