gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Simple texture filtering idea

#90723 - revo - Sun Jul 02, 2006 12:47 am

Hi,
here is demo how to blur textures for a bit, http://revo.pl/texture.zip - press SELECT to change display from normal to blured :)

Idea is very simple, in even frames display everything normally, and in odd frames move u and v coortinates by half. In my opinion effect is very good - what do you think? Source code attached.

Problems with this method:
- screen should be updated @60fps (I don't see any flickering now)
- textures should have 'frame' on two sides to display everything all right if texture is not prepared to be repeated

It's something like this:
http://revo.pl/pre.png -> http://revo.pl/post.png
_________________
[ sorry for all mistakes, but my english isn't as good as I wish it to be ]


Last edited by revo on Sun Jul 02, 2006 10:24 am; edited 2 times in total

#90725 - arog - Sun Jul 02, 2006 1:04 am

404 error. File not found. :(

- Aaron Rogers
http://www.aaronrogers.com/nintendods/

#90726 - revo - Sun Jul 02, 2006 1:06 am

arog wrote:
404 error. File not found. :(

- Aaron Rogers
http://www.aaronrogers.com/nintendods/


shame on me - typo in link, now it's ok
_________________
[ sorry for all mistakes, but my english isn't as good as I wish it to be ]

#90775 - Sebbo - Sun Jul 02, 2006 10:05 am

works quite well, well done
_________________
Here's some ideas I have for when I know enough to act on them, or for others to have a look at when they're bored: www.wayne.sebbens.com/ds_ideas.htm

#90802 - M3d10n - Sun Jul 02, 2006 4:50 pm

Looks good. It's looks like 50% blending, the flickering is unnoticeable.
This trick is so simple, yet works so well. Any game running at 60fps should use this.

#90803 - tepples - Sun Jul 02, 2006 5:15 pm

I'm glad to see that somebody finally implemented my texture jitter idea. (I would have linked to a search results page, but phpBB's use of POST forbids me to do so.)
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#90823 - MrD - Sun Jul 02, 2006 8:07 pm

Tepples and LunarCrisis suggested it, but mike said it might not work.
_________________
Not active on this forum. For Lemmings DS help see its website.