GitHub repository: nishantgupta1599/CG-Assignment
Created: 2020-06-09T14:36:19Z
Description: Code to demonstrate Simulation of phases of moon using OpenGl.In this program we showcase the camera orbits a lit moon to simulate the phases of moon Half of the Moon’s surface is always illuminated by sunlight.We are showing the face by using the lightning property of OpenGL. We have used the GL_LIGHT0 to focus the light on the moon, making the all phase visible as it go. Pointing in the direction of vertex (1,1,1) it's is possible to show all the moon phases.