Anti-Aliasing Q&A

ABBA & MSAA Q&A

Speed of ABAA

ABAA vs Other Solutions

Problems with Narrow Faces

Q: Does the 8-queens puzzle provide good solutions for selecting MSAA sample points?

A: The 8-queens puzzle canprovide acceptable solutions for MSAA8.
Not all solutions to the puzzle provide good results for MSAA8. Also, there are better sample point selections that are not solutions to the 8-Qs puzzle.

When considering near horizontal (HE) and near vertical (VE) edges (i.e. edges at 0 and 90 degrees), all solutions to the puzzle provide good results for MSAA8. As HEs or VEs move across the Qs, the color mix changes in 8 equal intensity steps, similar to ABAA. But, for edge with angles in-between the effectiveness of anti-aliasing is degraded.
On the other hand, the ABAA solution works consistently for all edge angles.
Also, cases where 2Qs can attack each other diagonally (at 45 degrees), should be allowed. It looks like the solutions could even be better, when the 45 degrees constraint is removed. Then it is no longer a solution to the 8-Qs puzzle. May be, 2 Qs should be allowed to align diagonally and the name should be changed to “solutions to the 8 rooks puzzle”,

Another consideration consists of cases when several Qs are aligned with edges. With 8 Qs, there are at least 1+2+3+4+5+6+7=28 cases where 2 Qs are aligned with an edge. In these cases, the intensity steps become larger when edges cross several Qs at once. Cases with more than 3 aligned Qs should be avoided.
Also, the width of gaps between aligned edges should be minimized.  In example 4 of Figure 1, two pairs of Qs have swapped rows or columns to reduce the gaps between aligned edges. After the swaps, there is a better distribution of the Qs. Two pairs of Qs are now aligned at 45 degrees. This becomes now a “solutions to the 8-rooks puzzle”.

Similarly, for MSAA4, the sample points can be selected as “solutions to the 4-rooks puzzle”.