[SOLVED] Why blender and defold vertex count are different?

Made 32x32 planes joined into one mesh.

blender vertex count

defold vertex count

Triangulation. Every rect becomes 6 vertices, not 4.
Defold uses non-indexed format on GPU, so some vertices are used twice and duplicated.

2 Likes

oh, then

 vertex_count = trangles * 3

thanks!

1 Like

We do use indices. And, as you say, we use triangle lists, which means there will be 6 indices for one quad.

3 Likes