# Timeline for Off by one error when creating face indices

### Current License: CC BY-SA 4.0

5 events
when toggle format what by license comment
Apr 16 '20 at 21:09 comment But separate loops are fugly! But yes I think I'll hve to go with that
Apr 16 '20 at 20:57 comment Well, you need to treat them separately in their own loop. Additionally, try to avoid duplicating the polar points. Even without the degenerated triangles, the normals are incorrect, because each duplicate polar point calculates it's normal only from 2 adjacent triangles instead of all (v_resolution) triangles that are connected to the pole.
Apr 16 '20 at 15:47 comment Ah yes I am an idiot, the vertical band can be fixed by dividing by v_resolution instead of v_resolution-1 To prevent the last set of vertices from being duplicated. I am still thinking about the polar ones
Apr 16 '20 at 15:36 history edited