View Full Version : Motion Blur Help!
05-15-2001, 10:41 PM
What is the easies and fastest way to create a nice looking motion blur?
I'v tried to recreate the object with blending, but in this way stuff gets very hard when it comes down to animation!
Iv read in the "OpenGL SuperBible 2:nd Edition" that I could use the accumulation buffert.
But using that knocks my FPS down from 85 to 1.
Apart from 3dfx' TBuffer (http://oss.sgi.com/projects/ogl-sample/registry/3DFX/tbuffer.txt), I can't think of any way to do this that is fast enough for real time rendering.
The nvidia effects browser has a vertex-program based motion blur. It runs decent even without a geforce 3. Maybe you could try that technique?
This Method used by NVidia has two flaws. It uses alpha-blended triangles, so you have to render back-to-front to get transparency right. And it only adds motion blur to the edges (but that might be hard to spot in motion). Look at this screenshot. It somehow looks "wrong" http://www.nvidia.com/Marketing/Develope.../motionblur.jpg (http://www.nvidia.com/Marketing/Developer/DevRel.nsf/045cfdb95e306a4d882568170059fa93/64a26ba3a82a992188256993007ac623/$FILE/motionblur.jpg)
The only positive thing about it is that it's always smooth (and quite fast). Four samples for T-Buffer motion blur aren't enough.
05-18-2001, 08:29 AM
I saw a cool OpenGL demo that did motion blur on this rotating ground/object thing. Basically just did a few passes with some special depth testing trick or somat.. Looked _really_ good. Shame I have no idea where I found it. Maybe Nates site or something.
05-18-2001, 09:37 AM
Try to keep previous frame in texture.Before swapping color buffers disable z-test and blend previous frame with back buffer.After that copy the back-buffer into the same texture and then you can swap buffers.
05-18-2001, 09:48 AM
The glClock uses multiple blending passes to simulate motion blur and this works quite fast on any accelerator i have tried.
Let's dream about consumer cards with a hardware accumulation buffer http://www.opengl.org/discussion_boards/ubb/smile.gif
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.