A Mini Project On Clock Using Opengl
A Mini Project On Clock Using Opengl
Description: The Project is idea to display the clock with computer graphics. This project just used the local time, fetching from the computer and display it on screen. This project implements the wall clock with the round circular board and three conic geometrics which forms the different (sec, min & hour) hands. Small cubes are also made for the minutes, while each hour is represented with a large block. Digit display of the clock timing is also placed at the bottom. The 'localtime(<ime)' function is used to get the local time. With proper maths and conversion of the time for sec, min and hours the graphical hands are made to make movement. This project made two views one ortho and other perspective. Usages: Right click for the options About the Project : Display information about the project Toggle Ortho/Perspective view : Switch between the Ortho and Perspective views. Light on/off : For light on clock and off it. Quit : Exit program.