Go to file
2018-11-05 17:15:23 +01:00
.vscode Impl 1.2.4 2018-10-17 13:00:47 +02:00
CMake/Modules Added last batch of fixes that didn't make it into student repository for some reason 2018-10-19 14:40:51 +02:00
common Initial commit 2018-09-06 14:35:43 +02:00
exercise1 Use better defaults and extent range of position slider 2018-11-05 17:15:23 +01:00
exercise2 Initial commit 2018-09-06 14:35:43 +02:00
exercise3 Added last batch of fixes that didn't make it into student repository for some reason 2018-10-19 14:40:51 +02:00
exercise4 Initial commit 2018-09-06 14:35:43 +02:00
ext Initial commit 2018-09-06 14:35:43 +02:00
solution added solution executables 2018-09-18 16:04:19 +02:00
.gitignore Add gitignore 2018-10-17 07:31:45 +02:00
.gitmodules Initial commit 2018-09-06 14:35:43 +02:00
CMakeLists.txt Added last batch of fixes that didn't make it into student repository for some reason 2018-10-19 14:40:51 +02:00
README.md Initial commit 2018-09-06 15:16:04 +02:00

Computer Graphics 1 - Exercises

This repository contains the source code and data sets for the CG1 exercises. To download and compile the project, you need to do the following steps:

  1. Clone the project to your local computer
  2. Run CMake to generate a project file for your build platform. Alternatively, you can use a development environment that supports CMake natively and open the directory directly.
  3. Open the project file and compile.

Under Unix, you could employ the command line like follows:

git clone https://bitbucket.org/cgvtud/cg1.git --recursive
cd cg1
mkdir build
cd build
cmake ..
make

After this, you find the compiled applications under cg1/build/bin.

On Windows / Visual Studio, you can use the CMake GUI. After cloning the repository, open the CMake GUI and set Where is the source code to the cloned directory. Set Where to build the binaries to a new subfolder build. Click Configure and select the desired Visual Studio Version. Then, click Configure and Open Project to generate and open the project in Visual studio. Finally, choose the desired startup project (Exercise1-4) and compile and run.