Monday 28 March 2016

Windmill

Windmill

In this project we designed the simulation of windmill using OpenGL. We used transformation functions like translate and rotate functions to design blades of the windmill. We used many OpenGL inbuilt function to design the structure of windmill.
This project consist of many user defined function such as increasing windmill fan speed, decreasing windmill fan speed, side views, front and back views, custom angle of rotation of entire windmill structure.
It provides several options which can be interacted through menus. The user can also interact with program through mouse, keyboard functions. The options provided by the menu are views like side view, back view, front view, custom view. Using mouse, if we click left side it rotates to left and on successive clicking speed increases, if we click right button speed decreases and on successive clicking, it turns rotating towards right and vice versa.
We can rotate the entire windmill with respect to its axis using the arrow keys of keyboard. It can be rotate through 3600

Simulation of Windmill is a designed and implemented using a graphics software system called OpenGL which has became a widely accepted standard for developing graphic application. Using openGL functions user can create geometrical objects and can use translation, rotation, scaling with respect to the co-ordinate system.

 The project Visual Transformation Techniques using openGL is based on Rotation and Translation processes using shading effects and is demonstrated using Visual C++.

               The development of the Simulation of Windmill project has given us a good exposure to OpenGL by which we have learnt some of the technique which help in development of animated pictures, gaming. Hence it is helpful for us even to take up this field as our career too and develop some other features in OpenGL and provide as a token of contribution to the graphics world.

Simulation of Windmill consist of many user defined function such as increasing windmill fan speed, decreasing windmill fan speed, side views, front and back views, custom angle of rotation of entire windmill structure. All these function makes this project an example of animation in OpenGL.  

Screen Shots

Screen displaying the menus



The above diagram shows the snapshothaving options such as Data_Structuresand displaying the menu which consists of.:-
  • Side View 1
  • Side View 2
  • Back View
  • Front View
  • Custom View
Back View



The above diagram shows the snapshot about the option of Back View , in which the Back View of the Windmill structure is displayed .


Side View 1




The above diagram shows the snapshot about the option of Back View , in which the Side View of the Windmill structure is displayed


Speed Tracking on Mouse Clicks


The above diagram shows the snapshot about the simulation of the windmill, When the wheel of the windmill is made to rotate using the Left and Right Button of the mouse.
When the Left Button of the mouse is clicked, it starts rotating and on further clicks the speed of the rotation increases.
When the Right Button of the mouse is clicked, the rotation speed decreases and finally comes to halt.


Free Movement using Keys




The above diagram shows the snapshot about free movement of the Windmill structure using the keys. The Right Arrow key is used to rotate the angle of the windmill structure clockwise, whereas the Left Arrow Key is used to rotate the angle of windmill structure anti-clockwise.



Initial screen


The above diagram shows the snapshot having the windmill. The objects are of windmill shape and are placed towards the right of the display window. And the display window is of size (600,600). 

Download Program Source Code here 
Download Full Project Report here

5 comments: