Jump to content


Geometry-based Antialiasing


1 reply to this topic

#1 Guest_Ofer Rubsintein_*

  • Guests

Posted 22 September 2009 - 02:00 PM

Posted Image


Description
The full article can be found at: Pompi Pompi Gamers and Developers Blog

I have implemented a Geometry-based Antialias (GAA).
Using fins geometry that is usually used to render NPR outline for characters, I used it to smooth out edges.
The main advantages of this technique is perhaps more pleasing results to the eye, no blurring of texture due to AA the whole screen and also few pixels used to draw the AA geometry.

The screenshot you see is an image from the game Labyrinthica: The quest of lima, scaled up with no interpolation. It uses GAA to smooth the edges.

#2 starstutter

    Senior Member

  • Members
  • PipPipPipPip
  • 1039 posts

Posted 22 September 2009 - 05:16 PM

Very nice work but...

Ofer Rubsintein said:

The main advantages of this technique is perhaps more pleasing results to the eye, no blurring of texture due to AA
Texture blurring due to AA? Post-process AA maybe but not MSAA, and even with PPAA there are stencil techniques to mend that.

Quote

the whole screen and also few pixels used to draw the AA geometry.
True, and you forgot to mention that memory requirements are reduced (so thumbs up there), but the geometry shader takes quite a bit of power compared to other shader functions. According to nVidia: "Only use the geometry shader when you REALLY need it"

Also, shaders operate by blocks of pixels, not individual ones. This means that if you draw a dot on screen one pixel wide, the effect is also being computed for the other 15 pixels around it (this is for a newer card I belive). So if your geometry is very complex or the scene is filled with edges, you will have a LOT of excess overhead.

Its a good idea, but not sure how practical it is. I like the direction though. :)
(\__/)
(='.'=)
This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
bunny also wants to fight spam: Click Here Bots!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users