Views: 6,920,877 | Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search | 04-26-24 03:27 AM |
Guest: |
0 users reading Antialiasing: how the hell does it work?? | 1 bot |
Main - Development - Antialiasing: how the hell does it work?? | Hide post layouts | New reply |
Arisotura |
| ||
Big fire melon magical melon girl Level: 56 Posts: 104/889 EXP: 1347937 Next: 50239 Since: 03-28-17 From: France Last post: 12 hours ago Last view: 6 hours ago |
Let's see...
* Anti-aliasing is a separate rendering pass, presumably done after edge marking and fog. * Edge marking is done before fog -- marked edges don't stand out in fog. * Fog is applied to the final frame. * Anti-aliasing only works for the topmost polygon pixels. Suppose you're drawing two identical polygons with different colors, A over B. A's edges are antialiased against B. B gets no antialiasing. * In the case above, you can insert a translucent polygon (C) between A and B and it renders "properly" -- A is antialiased against C blended with B. BUT You can draw a translucent polygon (or even several) over an antialiased polygon, and it still gets antialiased properly -- the antialiasing is somehow applied before the blending. No idea how this shit can work. ____________________ Kuribo64 |
Arisotura |
| ||
Big fire melon magical melon girl Level: 56 Posts: 105/889 EXP: 1347937 Next: 50239 Since: 03-28-17 From: France Last post: 12 hours ago Last view: 6 hours ago |
An idea I just had is that when rendering a translucent polygon, it's blended against both top and bottom pixels, but doesn't push any pixel down.
Would explain how it comes out correct in all cases. ____________________ Kuribo64 |
Main - Development - Antialiasing: how the hell does it work?? | Hide post layouts | New reply |
Page rendered in 0.023 seconds. (2048KB of memory used) MySQL - queries: 28, rows: 77/77, time: 0.014 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |