I want to create a Mesh from scratch, using Animation Nodes (V2.1.4 in Blender 2.8).
In the first step, I want to create a triangle fan with n individual triangles.
So I have a loop, that creates the vertices - no problem here:
But it seems like I sill don't understand polygon indices.
The way i thought it functions is: I have my polygon p1 with three vertices v1, v2, v3 and poligon indices: p1: 0,1,2
My lists produce exactly that - but that doesnt work.
The full loop:
and the error I'm getting: