On the topic of creating custom 3D models, I found this answer. It remains incomprehensible to me how the coordinates of the texture and points mix. Here's question. If this is some kind of global concept, and not a feature of building 3D in Java, then I will be glad to mention any literature where these things are well covered. For convenience, I give an example of a code where getting the coordinates of the faces is covered with darkness for me. Thank!
float[] points =
{
50, 0, 0, // v0 (iv0 = 0)
45, 10, 0, // v1 (iv1 = 1)
55, 10, 0 // v2 (iv2 = 2)
};
float[] texCoords =
{
0.5f, 0.5f, // t0 (it0 = 0)
0.0f, 1.0f, // t1 (it1 = 1)
1.0f, 1.0f // t2 (it2 = 2)
};
int[] faces =
{
0, 0, 2, 2, 1, 1, // iv0, it0, iv2, it2, iv1, it1 (front face)
0, 0, 1, 1, 2, 2 // iv0, it0, iv1, it1, iv2, it2 back face
};
Found the literature with the answers. If anyone is interested, here is the link.a link