Antialiasing

For code related discussions and questions
User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: https://gamelabstudio.co/ai-sprite-sheet-generator

Antialiasing

Post by macuser »

from my understanding, the current strategy is to revamp the current rendering engine:

1. Integrate it with the new code and qt interface
2. Add things like normal mapping
3. Make it more efficient- (for instance Wolfenstien ET runs at over 90FPS on an old laptop of mine and it has a whole lot more polygons and it does have normal-mapping, while Warzone runs at 10FPS)

How hard would it be to add antialiasing to the edges of polys (can be adjusted in settings). Artrev is trying to release the next version (work will start in april).

-Regards Macuser
ArtRev Website

ImageImage

System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Antialiasing

Post by Per »

macuser wrote:How hard would it be to add antialiasing to the edges of polys (can be adjusted in settings).
I'm not sure I understand. Do you have an URL(s) to this method?
Jorzi
Regular
Regular
Posts: 2063
Joined: 11 Apr 2010, 00:14

Re: Antialiasing

Post by Jorzi »

I think he's talking about hardware antialiasing (which is propably already possible if you fiddle around enough with the graphics drivers). What it does it takes multiple samples per pixel and averages them, making the polygon edges look much less jagged.
This of course has a similar effect on graphics workload as increasing the resolution, since the card essentially has to pump out 4-8 pixels for each displayed pixel, depending on the quality settings. For modern graphics cards this is, however, not a problem.
ImageImage
-insert deep philosophical statement here-
User avatar
Terminator
Regular
Regular
Posts: 1077
Joined: 05 Aug 2006, 13:46
Location: Ukraine

Re: Antialiasing

Post by Terminator »

As I can remember antialiasing already in game, but it sets up only in config file (FSAA=1). Is it what is talking here ?
Death is the only way out... sh*t Happens !

Russian-speaking Social network Group http://vk.com/warzone2100
User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: https://gamelabstudio.co/ai-sprite-sheet-generator

Re: Antialiasing

Post by macuser »

So are you saying its already implemented it just needs to be turned on?
ArtRev Website

ImageImage

System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6
User avatar
Terminator
Regular
Regular
Posts: 1077
Joined: 05 Aug 2006, 13:46
Location: Ukraine

Re: Antialiasing

Post by Terminator »

macuser wrote:So are you saying its already implemented it just needs to be turned on?
As far As I can tell there is only x1(or x2 dont really know) aliasing level, but yea it in there in master build. Needs to be confirmed by Devs who is actually has made this feature.
Death is the only way out... sh*t Happens !

Russian-speaking Social network Group http://vk.com/warzone2100
User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: https://gamelabstudio.co/ai-sprite-sheet-generator

Re: Antialiasing

Post by macuser »

Wow great! :)
ArtRev Website

ImageImage

System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Antialiasing

Post by Buginator »

Terminator wrote:
macuser wrote:So are you saying its already implemented it just needs to be turned on?
As far As I can tell there is only x1(or x2 dont really know) aliasing level, but yea it in there in master build. Needs to be confirmed by Devs who is actually has made this feature.
Check your config file, FSAA=0 means it is off.
There is no check, so you may set it as high as your gfx card supports.
It still is experimental, since there are no checks to see if it worked or not!
and it ends here.
User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: https://gamelabstudio.co/ai-sprite-sheet-generator

Re: Antialiasing

Post by macuser »

I have tested it and it does work.

1. Is it software based or hardware based
2. Why not have an option labeled experimental in the next master release for it

-Regards Macuser
ArtRev Website

ImageImage

System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6
User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: https://gamelabstudio.co/ai-sprite-sheet-generator

Re: Antialiasing

Post by macuser »

Screenshots:
You do not have the required permissions to view the files attached to this post.
ArtRev Website

ImageImage

System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Antialiasing

Post by Per »

FSAA is hardware-based. An option in the GUI would be nice, I agree.
User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

Re: Antialiasing

Post by milo christiansen »

:shock: That is the biggest difference I have EVER seen in FSAA on vs FSAA off, and I have played a LOT of games in my time.
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
Wolftrak
Trained
Trained
Posts: 57
Joined: 20 Apr 2009, 17:47

Re: Antialiasing

Post by Wolftrak »

+1 for option.Maybe a slider for choosing between x1,x2,x4 or x8.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Antialiasing

Post by Per »

Wolftrak wrote:+1 for option.Maybe a slider for choosing between x1,x2,x4 or x8.
And off. For very poor hardware (Intel and S3, I am looking at you), FSAA has the potential to drag your FPS to a crawl. That said, my quite old GT8600 does 4x FSAA without a hitch.
User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: https://gamelabstudio.co/ai-sprite-sheet-generator

Re: Antialiasing

Post by macuser »

LOL I have Nvidia GTX 240 1GB .... the above with on was at 4x and off was at (you guessed it) 0x
ArtRev Website

ImageImage

System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6