Skip to content

🎓💻University of Tehran Computer Graphics Course Project - Spring 2022

Notifications You must be signed in to change notification settings

SM2A/Computer_Graphics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Computer Graphics Course Project

This repository contains my Computer Graphics Course Project (Spring 2022) at University of Tehran.

Bicycle

Requirements

This project is build for windows and uses win32 api to work. I used freeglut library to make using OpenGL easier.

You can find out more about freeglut here.

Then you can download freeglut library from here. Because we are working on windows you should download MinGW package.

First you need CMake installed on you system. Then install above mentioned library on your MinGW.

You can learn more about MinGW here and download here.

How to Run

After meeting the needs of requirements we are ready to build and run project.

In project root directory create new folder called build. Open command prompt inside this folder and run command below:

cmake -G "MinGW Makefiles" ..

Then return to project root directory and open command prompt here. Then run command below:

cmake --build .\build\ --target Bicycle --config Debug

After command above our executable file is avaliable in build directory named Bicycle.exe.

All above steps are written in build.bat. You simply can open command prompt on project root directory and enter:

build.bat

Or if using PowerShell:

.\build.bat

By running script above executable file will appear in project root directory.

Enjoy :)