OpenGL adventures
The most basic example: A cube from an array of vertices and an array of normals
https://github.com/marianodominguez/3d_graphics_prog/blob/main/gl/src/cube.c
Now, we got the Utah teapot again
Implemented load model, normals are precalculated and included in the data.
First, we got diffuse lighting, implemented in shaders
https://github.com/marianodominguez/3d_graphics_prog/blob/main/gl/src/teapot_diffuse.c
Next we can apply a reflection model, by adding a light component.
Texture mapping.
Using simple texture, at this moment the model triagulation is showing up limitations
Next should be using bezier interpolation,