Digital Paint Discussion Board

Development => General Development => Topic started by: ViciouZ on March 08, 2009, 03:55:29 PM

Title: Anti-aliasing screenshots
Post by: ViciouZ on March 08, 2009, 03:55:29 PM
I was messing around with the linux SDL renderer and got FSAA working. For those who don't know what FSAA is, it's a graphics technique which smooths jagged edges on the screen. Currently it only works on linux but I'm trying to port the SDL driver to windows.

First screenshot normal, second with 2 samples, third with 4 samples
Title: Re: Anti-aliasing screenshots
Post by: Zorchenhimer on March 08, 2009, 04:15:39 PM
Ooh, very nice.
Title: Re: Anti-aliasing screenshots
Post by: nook on March 08, 2009, 04:26:39 PM
they all look the same 2 me.
Title: Re: Anti-aliasing screenshots
Post by: Rewind on March 08, 2009, 04:31:55 PM
That's pretty impressive. It seemed to work well, too.
Title: Re: Anti-aliasing screenshots
Post by: ViciouZ on March 08, 2009, 05:06:04 PM
they all look the same 2 me.


Look at the edges of the barriers.

If SDL can be made to work on windows (I have it partially working now) then it may make it easy to remove many of the OS-specific files, which would also probably make the renderer easier to integrate into the engine executable. However, it also adds another dependency of SDL, and I think jitspoe wants to keep external dependencies to a minimum. So if I do port it and it's released, it will likely be an option, like on the linux platform.
Title: Re: Anti-aliasing screenshots
Post by: lilb990 on March 08, 2009, 06:15:03 PM
Wow that would be awesome in gameplay to actually have straight edges..
Title: Re: Anti-aliasing screenshots
Post by: KnacK on March 08, 2009, 06:35:38 PM
The kicker is, that is softens up everything.  Take, for example, the layout of the rock wall.  The first pic is very sharp, whereas each additional shot it is softer.

So, there has to be a balance in there somewhere.
Title: Re: Anti-aliasing screenshots
Post by: Eiii on March 08, 2009, 06:57:10 PM
No DP in SDL, please! D:

Can't OpenGL do AA?
Title: Re: Anti-aliasing screenshots
Post by: ViciouZ on March 08, 2009, 07:11:07 PM
Eiii, can you tell me why? All I've seen or read about SDL is good, apart from some small mouse input issues which are apparently now resolved.
Title: Re: Anti-aliasing screenshots
Post by: Eiii on March 08, 2009, 07:56:01 PM
Porting all of DP to SDL-- rendering, input, etc-- would be a huge pain and give just about nothing back. It'd probably be significantly slower, too (not that it'd be too noticeable on most computers).
Title: Re: Anti-aliasing screenshots
Post by: jitspoe on March 09, 2009, 10:17:37 AM
It's possible to get FSAA on OpenGL without SDL.  You shouldn't need to port drivers or anything crazy.
Title: Re: Anti-aliasing screenshots
Post by: abnormal on March 09, 2009, 10:34:22 AM
It looks like ''find 5 differences'' :D:D.
Title: Re: Anti-aliasing screenshots
Post by: ViciouZ on March 09, 2009, 12:40:38 PM
Yeah, just FSAA with SDL takes about 4 seconds and I wanted to see if it would compile (SDL was disabled in the makefile)
Title: Re: Anti-aliasing screenshots
Post by: KnacK on March 09, 2009, 01:47:30 PM
"Where's Waldo?"
Title: Re: Anti-aliasing screenshots
Post by: sk89q on March 09, 2009, 04:15:51 PM
I get AA for Paintball by forcing it for Paintball2.exe with NIVDIA's control panel.
Title: Re: Anti-aliasing screenshots
Post by: Eiii on March 09, 2009, 08:43:01 PM
See? Silly.