The format is very simple.
First, write the number of vertices.
Second, write the number of faces.
This is an important that a face is composed of 3 vertices.
From the third line, write the information of the face.
- normal vectors(x, y, z)
- vertex_1(x, y, z, r, g, b, a)
- vertex_2(x, y, z, r, g, b, a)
- vertex_3(x, y, z, r, g, b, a)
The number of these informations and the number of faces must be equal.
After you have created the data, please save it with the extension TXT.