Introduction - If you have any usage issues, please Google them yourself
You are to read in a file with triangles and vertices and, using OpenGL, display the triangles directly on the screen. A basic program that provides a simple project as the basis for the assignment is provided.
The file format is:
data number-of-vertices number-of-triangles named-point-attributes(1..n- optional)
<all points as: x y z>
<all triangles (the initial 3 is the number of vertices): 3 point-index1 point-index2 point-index3>
<all additional attributes in form n v1, v2, .. vn>
A simple 2-triangle example is:
data 4 2
0.25 0.25 0.0
0.75 0.25 0.0
0.75 0.75 0.0
0.25 0.75 0.0
3 0 1 2
3 0 2 3