Rotating Fan Computer Graphics Mini Project in OpenGL – 18CSL67
Download the source code of Rotating Fan Computer Graphics mini Project in OpenGL for computer graphics and Visualization laboratory with mini-project – 18CSL67.
In this mini-project we have demonstrated the Rotation of Fan by using OpenGL and the model is designed with pure C++ code. OpenGL is a freely available Computer Graphics operating system. Here we use header files of, OpenGL is an interactive environment. When the program is executed the fan would be rotating at its normal speed and also a mouse click event is added which leads to two options. The first option is for modifying the speed and the second is for quitting. The first option further has two more options i.e., fast and slow. On selecting a fast option the rotation speed of the fan will increase and on selecting a slow option the rotation speed of the fan will decrease.
The aim of this project is to design a 3D fan using OpenGL, where the speed of rotation of the fan can be controlled by the user. This demo displays the Rotation of the fan which is designed and implemented using the C++ program language and APIs provided by OpenGL. It has been developed to undergo user modifications. The user modification can be specification and movement with several other features. It is our first insight into the vast world of interactive graphics.
The user can modify the speed of the fan either by increasing its speed or by decreasing the speed. It is user-friendly and intuitive to users. It supports user interaction through the mouse. This project has been implemented efficiently to obtain the optimized results and also various functions and features that are made available by the OpenGL software package have been utilized effectively.
Step 1: Start
Step 2: Fan running at normal speed
Step 3: Right-click to get the options of modifying the speed and quit
Step 4: If we choose to modify we get
A) fast – fan begins to rotate fast
B) slow – fan begins to rotate slow
Step 5: Quit
- Easy to understand and should be simple.
- The built-in functions should be utilized to the maximum extent.
- OpenGL library facilities should be used.
- Intel Pentium CPU 2.6 GHz or AMD Athlon 64 (K8) 2.6 GHz or higher
- 1 GB RAM or more
- Keyboard 108 standard
- Monitor resolution 800×600
- Programming Language: C / C++ Using OpenGL
- Operating System: Windows / Linux
- Compiler: C / C++ Compiler (GCC)
- IDE: Code Blocks
- Functional Requirements: GLUT
Edward Angel: Interactive Computer Graphics A Top-Down Approach with OpenGL, 5th Edition, Pearson Education, 2008.
Computer graphics with OpenGL Book by Donald Hearn and M. Pauline Baker.
Screenshots of Rotating Fan Computer Graphics mini Project in OpenGL – 18CSL67
Follow the below link to download the source code