"Simulation of Windmill: Some Aditya Mandal
"Simulation of Windmill: Some Aditya Mandal
"Simulation of Windmill: Some Aditya Mandal
Presented By
Some Aditya Mandal
Introduction :
• 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
CONT…
• 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
REQUIREMENTS :
The user defined functions used to implement the gaming application are:
• Change_view(void)
This function is used to change the view
• initialize_menu(void)
This function used to initialize the menu which provides the options
such as the back view, front view, custom view.
CONT…
• void spin(void)
Used to spin the windmill in any direction
• void special (int, int , int )
Used to change the camera angle clockwise and anti-clockwise direction.
• Mouse_button(int,int,int)
This function used to assign the mount buttons with their respective
functions,
SNAPSHOTS :
• Initial window to select the menu.
CONT…