Inputs: shading/lighting file, number of models, model data files (.d format) and universe file
Implements constant, gouraud and phong shading as specified in the shading file. Currently it applies the
shading to the whole scene and assumes that the light and eyepoint are infinitely far away.
Constant shading |
Gouraud shading |
Phong shading |