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.

Code Snippets / DB Classic - fast, easy motion blurring snippet!

Author
Message
Drew Cameron
20
Years of Service
User Offline
Joined: 30th Jan 2004
Location: Scotland
Posted: 5th Mar 2004 22:58
For anyone interested in adding a blur effect ( of sorts ) to the level for drunk effects or whatever as I am using for my skateboarding game...

MAKE A LARGE SKY SPHERE
PLACE IT IN THE RIGHT PLACE
TEXTURE IT WITH THE COLOUR YOU WANT THE BLUR TRAILS TO BE
GHOST IT
BACKDROP OFF

Try it out, it really is that simple.
Simple, but effective

The guy behind The Old Remedy - coming May 2004...
M00NSHiNE
20
Years of Service
User Offline
Joined: 4th Aug 2003
Location: England, UK
Posted: 7th Mar 2004 03:20
Post some example code - this is a code snippets board after all

Currently thinking of a new company name
Sticking to a project idea for once
Arkheii
20
Years of Service
User Offline
Joined: 15th Jun 2003
Location: QC, Philippines
Posted: 7th Mar 2004 04:16
Quote: "BACKDROP OFF"


I don't like the sound of that... You mean the effect is a la quake3 hall of mirrors?

Drew Cameron
20
Years of Service
User Offline
Joined: 30th Jan 2004
Location: Scotland
Posted: 7th Mar 2004 12:47
No, it does not trail forever like in Quake 3. I won't post example code because it's simple enough to follow.

It works decently for me anyways

The guy behind The Old Remedy - coming May 2004...
TKF15H
20
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 7th Mar 2004 19:37
aparently, this doesn't work in DBP.
bug bug bug bug....

Magellan
20
Years of Service
User Offline
Joined: 21st Feb 2004
Location: 001110101
Posted: 9th Mar 2004 07:06
COuld work for somethings but most people won't be able to use this method as it won't work if there is anything in the way of the background, i.e a tree or a house

All this content are belong to me.
MONOS
21
Years of Service
User Offline
Joined: 25th Oct 2002
Location: Outer Limits
Posted: 9th Mar 2004 07:37 Edited at: 9th Mar 2004 07:42
Hi!
Quote: "
aparently, this doesn't work in DBP.

COuld work for somethings but most people won't be able to use this method as it won't work if there is anything in the way of the background, i.e a tree or a house

"


There is a way to do this with a little trick:
http://www.monos-co.de/Blur.zip

Oh, this is for DBP and it works fine

CU,
MONOS
DARKGuy
20
Years of Service
User Offline
Joined: 28th Nov 2003
Location:
Posted: 9th Mar 2004 16:42
hey you know....I tested that method...and when I colored the ghosted sphere with low values (eg: rgb 16,16,16) I got some really cool effects, try it!

Magellan: but could be used in a FPS for a blurry view...

Current Projects: F-16 Gold Wings
Arkheii
20
Years of Service
User Offline
Joined: 15th Jun 2003
Location: QC, Philippines
Posted: 22nd Mar 2004 02:12 Edited at: 22nd Mar 2004 04:18
Cool. I actually took a break and decided to try this out now that it's our summer vacation(here). This is one of those "is this a bug or a feature" questions. Try coloring the skysphere with varying degrees of grey. Darker=longer trails but too low gets screwy, Lighter (except 255,255,255)=fewer trails but more crisp.

@DARKGuy: I tried really low values, but it seems to leave a horrible trail that doesn't seem to disappear. Is that what you mean?

http://www.freewebs.com/kabouter/motionblur_screeny.png
The numbers on the upper left are the values I used for the sphere's color rgb(x,x,x).


"Story in a game is like story in a porn movie. It's expected to be there, but it's not that important." - John Carmack
DARKGuy
20
Years of Service
User Offline
Joined: 28th Nov 2003
Location:
Posted: 27th Mar 2004 02:30
Quote: "
404 - Page Not Found

This page was not found on the FreeWebs servers. FreeWebs offers free web hosting for business and personal use.
Build your own free web site now!
"


?

andrew11
21
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United States
Posted: 27th Mar 2004 17:26
Thats a really cool effect!

I wrote this in DBPro, but it should work in DB Classic:



"All programmers are playwrites and all computers are lousy actors" -Anon

Login to post a reply

Server time is: 2024-05-13 17:43:51
Your offset time is: 2024-05-13 17:43:51