Hello, everyone. So, I can get the vertex positions, colors, and triangle indices of a model just fine. But, they do not have an overall relationship.
I need to be able to reference a triangle, and get the vertex positions and colors found within the three vertices in that triangle.
Although it's not needed at the moment, I would also like to know how to get the texture coordinates for future reference.
How can I go about doing this? Any help will be greatly appreciated. Thank you!
Replies
So far, it's a great start, and I've already got the vertex colors and texture coordinates working.
Apparently, I can't reference a vertex position from its index in the polygon.
The documentation on that URL even says so.
So, how can I go about doing this part?
Thank you so much, RN! This means a lot to me.