For many pairs of parameters, the octagons and/or hexagons appear to have holes in them. Polygons whose edges cross one another are called
self-intersecting. Mathematica renders such polygons by filling them in "according to an even-odd rule that alternates between filling and not at each crossing" (see the
Mathematica documentation for Polygon).