Rotating Fan Computer Graphics Project in OpenGL

 

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.

Abstract

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.

Problem Statement:

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.

Scope

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.

Allgorithm

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

User Requirements

  • Easy to understand and should be simple.
  • The built-in functions should be utilized to the maximum extent.
  • OpenGL library facilities should be used.

Hardware Requirements

  • Intel Pentium CPU 2.6 GHz or AMD Athlon 64 (K8) 2.6 GHz or higher
  • 1 GB RAM or more
  • Mouse
  • Keyboard 108 standard
  • Monitor resolution 800×600

Software Requirements:

  • Programming Language: C / C++ Using OpenGL
  • Operating System: Windows / Linux
  • Compiler: C / C++ Compiler (GCC)
  • IDE: Code Blocks
  • Functional Requirements: GLUT

Books referred:

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

Download the source Code

You may be interested in other projects:

Airplane Computer Graphics and Visualization Mini Project in OpenGL – 18CSL67

Additive Color Model Computer Graphics (CGV) Project in OpenGL – 18CSL67

Aquarium Computer Graphics Project in OpenGL Source Code

Warli Painting Computer Graphics (CGV) Project in OpenGL Source Code

2D Rotation Computer Graphics Project (CGV) in OpenGL Source Code

Rotating Circle Computer Graphics (CGV) Project in OpenGL Source Code

Fog Test Computer Graphics Project (CGV) in OpenGL Source Code

Dora Catch Game Computer Graphics (CGV) Project in OpenGL Source Code

Twin Cars Game Computer Graphics (CGV) Project in OpenGL Source Code

Flying Ball Computer Graphics (CGV) Project in OpenGL Source Code

Demonstration of Helicopter Computer Graphics (CGV) Project in OpenGL Source Code

Toll Collecting Computer Graphics (CGV) Project in OpenGL Source Code

Analog clock Computer Graphics (CGV) Project in OpenGL Source Code

Geometric Operations Computer Graphics (CGV) Project in OpenGL Source Code

Aeroplane Computer Graphics (CGV) Project in OpenGL Source Code

Bouncing Ball Computer Graphics (CGV) Project in OpenGL Source Code

Rotating Flower Computer Graphics (CGV) Project in OpenGL Source Code

Glass Cracking Computer Graphics (CGV) Project in OpenGL Source Code

Running Trains Computer Graphics (CGV) Project in OpenGL Source Code

Bricks breaker Computer Graphics (CGV) Project in OpenGL Source Code

Fighter Jet Computer Graphics (CGV) Project in OpenGL Source Code

Car Parking Computer Graphics (CGV) Project in OpenGL Source Code 

Archery Game Computer Graphics (CGV) Project in OpenGL Source Code

3D House Computer Graphics (CGV) Project in OpenGL Source Code

2D Game Computer Graphics (CGV) Project in OpenGL

Leave a Comment

Your email address will not be published. Required fields are marked *