Advertisement

Motion Blur without the 'Artifacts'

Started by May 10, 2003 08:53 AM
4 comments, last by Hawkeye3 21 years, 9 months ago
I recently was just experimenting with adding motion blur to one of my little test programs to see what it was like. I am using the render-to-texture method in which I render the blur, copy it over to a texture, then render the blur again over the main scene to make it ''recursive'' blending. This works fine except that it never completely fades out. Is there some way to perform motion blur without these ''artifacts'' being left?
I have the same problem. It doesn''t really affect my game, but it is annoying nonetheless. I''d be intereseted in knowing if there''s any way to solve it.

---
Brent Gunning | My Site
Advertisement
If your using openGl then I suggest you check ou the tutorial on motion blending from gametutorials.com go into the opengl section then look for motion blending. Hope it helps.

,Matt

-= kill one your a murderer, kill thousands your a conquerer =-
-= kill one you're a murderer, kill thousands you're a conquerer =-
Gametutorials is where I got the basic routine from to make blending. Their tutorial has these artifacts also. They clearly show up in their preview picture also.

http://www.gametutorials.com/images/Tutorials_Section/OpenGL/MotionBlur.jpg

You can see how the blur never completely fades out...
Ah well, I guess I''ll just leave it out. It wasn''t really needed anyway ( I was just playing around with the effect, thats all ).
If I implement motion blur, it''ll only be on specific objects, not entire scenes, in which case, i''ll simply linearly interpolate my objects movement path, and use the correct alpha value while drawing (if I draw it twice, both get .5 alpha, 3 times.. .3333 alpa, 4 times, .25 alpha, etc, etc so it adds up to 1). Only things that I would want motion blur on are things that are moving fast, possibly to accentuate the looks of a speeding car, or a slow motion bullet shot, etc. I wouldn''t want motion blur on the entire scene, as that would get VERY anoying on my eyes . (Otherpossible uses for motion blur include, but are not limited to: blades on a helicopter/airplane, wheels on a car, a ball in a game, etc).
Im surprised you guys have that lame green "leftover" effect also. I thought that was a Voodoo3 thing. (as most things are)

This topic is closed to new replies.

Advertisement