Skip to content

A simple CG program illustrating a man rowing a boat. This program shows translation of an object along the horizontal axis (+ve direction). C++ using OpenGL and GLUT

Notifications You must be signed in to change notification settings

SoniaStalance/Computer-Graphics-Rowing-Boat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Computer-Graphics-Rowing-Boat

A simple CG program illustrating a man rowing a boat. This program shows translation of an object along the horizontal axis. C++ using OpenGL and GLUT

Output

Output

Executing in Visual Studio 2019

Step 1:

  • Extract the contents of the zip file Glew and Glut to lets say Desktop
  • Create new Visual C++ Empty Project lets say Project1
  • Create new C++ file within your project
  • Paste code in the created C++ file

Step 2:

  • Right click on Project1 > Properties > C/C++ > Additional Include Directories > Click on the dropdown box
  • Click on edit > folder icon > Desktop > Glew and Glut > freeglut > include
  • Then do the same and include Glew and Glut > glew-1.11.0 > include
  • Click OK

Step 3:

  • Linker > Input > Additional Dependancies > Click on the dropdown box

  • Click on edit then type these two filenames

    • freeglut.lib
    • glew32.lib
  • Click OK

  • Linker > General > Additional Library Dictionarries > Click on the dropdown box

  • Click on edit > folder icon > Desktop > Glew and Glut > freeglut > lib

  • Then do the same and include Glew and Glut > glew-1.11.0 > lib

  • Click OK

  • Apply > OK

Step 4:

  • Copy the following files Desktop > Glew and Glut > freeglut.dll glew32.dll
  • Then right click on Project1 > Open Folder inn File Explorer
  • Paste the copied files

Step 5:

  • Click on Local Windows Debugger to run the program

About

A simple CG program illustrating a man rowing a boat. This program shows translation of an object along the horizontal axis (+ve direction). C++ using OpenGL and GLUT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages