Clock dial using OPENGL
2016-08-23
1 0 0
4.0
Other
Earn points
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.
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.
c++
Related Source Codes
Local Path Planning Algorithm - DWA Algorithm
0
0
no vote
enDAQ-Shock-Data-Share-SRS-Blog
0
0
no vote
Calling chatGPT in a Windows application
0
0
no vote
Test Hello world
0
0
no vote
RCS calculation by one-way ray tracing
0
0
no vote
No comment