Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (1)
Clock dial using OPENGL
4.0
Programming the clock movement,  using the standard library functions provided by OpenGL, integrated graphics Bresenham algorithm for drawing lines and circles, OpenGL color model RGBA mode, color modes to achieve analogue clock movements, and realize the clock background and hour hand conversion by using the right-click menu. Using Bresenham line drawing and circle drawing algorithm to draw the clock's hands and dial. Then defines the current color using glColor () according to the OpenGL color model. Set the exchange menu of the clock, when you run the program you can change background color and hour hand color of the clock. Comprehensive realization in this semester to learn OpenGL programming and some of their methods and operations. Hardware and software operating environment: Microsoft Windows XP. UNIDO tools: VC + + 6.0.
追随
2016-08-23
1
1
No more~