Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / ever played gta3 and noticed

Author
Message
Terabyte
23
Years of Service
User Offline
Joined: 28th Dec 2002
Location: UK
Posted: 18th Mar 2003 23:11
ever played gta3 and noticed how when you walk the animation is slightly blured and is not sharp. its quite effective actually. it isnt possible to do this with dbpro as far as i know. but maybe a command for this should be considered. i think alot of games would look quite good if this could be done.
I have a word of advice...
..don't piss on an electric fence!
the architect
23
Years of Service
User Offline
Joined: 6th Jan 2003
Location: United Kingdom
Posted: 18th Mar 2003 23:15
Have you tried getting the camera image from a previous one and mixing it with the present? You work out the details.

Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 18th Mar 2003 23:36
Personally I think this effect looks horrible so I turn it off. However, the easiest way to do this would simply be to copy the backbuffer and thinly overlay it over the current frame - motion blur

Current Project: Retro Compo. Entry.
the architect
23
Years of Service
User Offline
Joined: 6th Jan 2003
Location: United Kingdom
Posted: 18th Mar 2003 23:47
I heard of that too. But is just one frame enough.

KuRi
23
Years of Service
User Offline
Joined: 8th Feb 2003
Location:
Posted: 18th Mar 2003 23:59
Could you post some working code on how to do the motion blur? please?

rapscaLLion
23
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 19th Mar 2003 00:13
It is an intentional effect, and I like it most of the time. No clue on how to actually pull it off tho...

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
Glennyboy
23
Years of Service
User Offline
Joined: 26th Feb 2003
Location: United Kingdom
Posted: 19th Mar 2003 11:18
I just got some prototype motion blur working yesterday.. sort of...



It's crap because:
1) It's uber-slow
2) It doesn't line up right and the ghosted frames are distorted

It's cool because:
1) Whenever it grabs the screen, it also grabs the previous chosted frames, meaning you actually have a lot of frames of motion blur

I think you'll agree, the crap outweighs the cool.

Van B
Moderator
23
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 19th Mar 2003 13:11
Here's a little idea for possibly smoother blurs - I actually had this idea when reading up on the new stuff in DBPro before it was released, never tried it.

Ok, you make a plain, and position it in front of the camera and lock it. It would have to be exactly positioned so that it lines up with the screen, a lot of experimenting would sort that though. Now it has to be ZDepth disabled, otherwise it'd go weird when things got too close.

Now you make a camera that mimics the main camera exactly, and set it to render to an image after the sync (so it's 1 frame behind). I'm sure you see where I'm going with this. Texture it with the extra camera image. This might look weird, but it'd be great on a matrix style death scene, or a drugged up sequence, that's what I had in mind anyway. It would have the same trail effect as Glennyboys code, because it'll resample the old trail image too. Also - rotating the plain and scaling it by tiny amounts would make a really weird effect that I'm dying to see. If I had to answer how the pro's do it - I'd have to say it was a layering style screen, like the backbuffer is overwritten with the new screen image, but with opacity, so the screen needs to build up the image before it's at the right brightness. The PS2 (and even the PS1) have good fast 2D features that would make this possible. Check out driver on the PS1, drive at night and the lights all leave trails, I'd gamble on a special light trail screen layer that is drawn to specially (only the lights are trailed) It does'nt seem to slow down when lots of lights are visible, so I can't see it being 3D.

I might try this later - if I manage it I'll post a demo and code.


Van-B
malcom2073
23
Years of Service
User Offline
Joined: 12th Mar 2003
Location:
Posted: 19th Mar 2003 13:32
Yeah thats the "trails". If you turn them off its no longer blurry. It was put in there to give the game a more "70's" feel. Same with Vice City. I always turn it off tho.

Glennyboy
23
Years of Service
User Offline
Joined: 26th Feb 2003
Location: United Kingdom
Posted: 19th Mar 2003 13:32
And, of course, there's some lovely fullscreen motion blur on Metal Gear Solid on the PSX, too.

Terabyte
23
Years of Service
User Offline
Joined: 28th Dec 2002
Location: UK
Posted: 19th Mar 2003 19:38
thanks everyone!
[img] [/img]

I have a word of advice...
..don't piss on an electric fence!

Login to post a reply

Server time is: 2026-07-11 12:01:20
Your offset time is: 2026-07-11 12:01:20