Skip to content

Sharan-Lobana/ComputerGraphics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ComputerGraphics

Windmill modelling in OpenGL and C++.

Dependencies

To install the dependencies related to OpenGL refer to the link

Steps to execute the program

Linux

  1. Open Terminal or any terminal emulator(Terminator etc)
  2. Change the directory to location of windmill.cpp
  3. Run g++ windmill.cpp -lglut -lGL -lGLU -o windmill
  4. Run ./windmill

A new window will open up.
USE UP_ARROW_KEY to increase the speed of the wind.
USE DOWN_ARROW_KEY to decrease the speed or reverse the direction of wind.
USE A and D keys to change the direction of wind.
USE LEFT_ARROW_KEY and RIGHT_ARROW_KEY to rotate the view about vertical axis.
USE SCROLL to zoom-in and zoom-out.
USE PAGE_UP_KEY and PAGE_DOWN_KEY to translate view along vertical axis.

About

Windmill Modelling in OpenGL and C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •