Jump to content
  • entries
    338
  • comments
    2045
  • views
    1168741

Motion Blur Video

Sign in to follow this  
dgreen02

329 views

Hey guys...I've uploaded a small 6MB video of the motion blur effect I'm working on. The video compression pretty much ruins the effect though :-/ short of uploading a 100MB uncompressed frame dump...I'll keep looking for a better video compression algorithm (this one uses MPEG4-V2). It's funny, that encoding the motion blur video using MPEG4-V1 seemed to play all kinds of tricks with the compression...its like the codec is detecting the similarities created by the motion blur, and canceling out that whole area to save data.

Anyways here's the download link to the aptly named video file:

[EDIT: Framerate is kinda fast in this video...[/EDIT]
Download Gang_War_Motion_Blur_Work_In_Progress.avi

I realize it's probably futile to post screenshots of this effect, but here's one anyways ;-) Also notice the window reflections which can be adjusted per-texel with reflection maps. These screenshots are grabbed from the video above.

Camera is moving backwards in this one, try to imagine it lol


Rest assured it looks very cool in the game, I'm still working on removing a few artifacts though...as well as add support for motion blur on moving skinned meshes (should be done tonight, just gotta write a couple of new shaders)...but overall I'm happy with it.

Back to work. I'll try to get some better screenshots of the effect.

- Dan

Edit - OK last edit for the night lol

I thought this screenshot was cool and should show you guys all the samples this blur shader is taking, it has a lot of potential...I'm already loving it in-game, I need to clamp it, and get it to work on moving models and it'll be great...doing this at 1280x1024 does kinda slaughter the framerate though lol. It's still playable [grin].

Obviously the blur isn't this intense at all times, it works on a per-pixel basis, using velocity buffers, which track the movement of each pixel between frames.
Sign in to follow this  


14 Comments


Recommended Comments

Whoah... That screen is screwing with my eyes, hardcore... Nice... I think...

Share this comment


Link to comment
Lol...Imagine how mine feel after messing with this stuff for a day or two.

But like I said this effect probably isn't going to be screenshot material...though it looks fantastic in-game. Screenshots tend to look...errrr...blurry [grin].

- Dan

Share this comment


Link to comment
That screenshot makes me want to see an optometrist.

I can't see the video, but judging from the screenshots I can image how well that effect works in motion. It should be pretty sweet! Although I too am doubting that it would work well on my mediocre hardware [sad]

Share this comment


Link to comment
Sorry to hear the video didn't work...I've edited the entry and posted a link to the codec you should need, also I've uploaded a new video with the proper frame rate so it doesn't run so fast, and you can see the effect a little better.

[edit] Took the links down because the 2nd video doesn't seem to work on my other machines. This is lame, I can create a game by myself...but I can't upload a fucking video that works on everyones computer lol. I'll try again later, I'm tired of working right now.

Let me know if the video works for those who tried it.

- Dan

Share this comment


Link to comment
works perfectly for me.
it looks damn good in motion, and i realy like the reflections

//fredrik

Share this comment


Link to comment
Oops, I should have been given more explanation. I'm sure your AVI codecs are fine, but I can't see the video because I generally don't download movie files over the web, especially at the moment when I'm in my research department right now. They're generally pretty cool about using the Internet for non-research related tasks, but to me downloading large movie files is pushing their generosity a little too far [smile].

Share this comment


Link to comment
It's cool, just scope out the top/header of my journal...it's there in .gif format now. How's that for a solution?

Avi->Gif programs are the devils work. I think it came out alright for a ~1MB file, about the same as a large high-res screenshot. Luckily I've got unlimited bandwidth on my web server :-)

- Dan

Share this comment


Link to comment
I must say, the reflections are even more impressive than the motion blur [smile]. Looks amazing - great job.

Share this comment


Link to comment
Lol ApochPiQ.

Glad you like it sirob :-)

I added another image to the post, higher resolution, showing how the blur is working. I should just create another entry with all these edits ;-).

I'm still tweaking the reflections, but I'm liking them already. I've found just using a static cubemap with interesting lighting provides pretty decent results, though I was shooting for true real time reflections. It'll be nearly impossible with this # of buildings. I was going to try some things like spacing cubemap samples over the entire city, and doing a lookup...I don't know, it'd be tough.

Alright....I must force myself to stop working on all this, and sleep.

- Dan

Share this comment


Link to comment
It looks great! I have to admit though, I was watching the reflections and other bits in the video (like the smoke from the factory) more than the motion blur [smile].

Share this comment


Link to comment
Impressive, as always :) And with all new effects (like the lensflare in the past, bloom effect, etc.): you really need to balance it carefully, but you know that ofcourse ;)
Can't wait for the beta-test :)

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!