Go to file
2018-11-13 09:22:55 +01: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 removed BOM from shader code 2018-10-26 08:06:01 +02:00
exercise3 rename ex2 -> ex3 2018-11-13 09:22:55 +01:00
exercise4 rename ex3 -> ex4 2018-11-13 09:22:16 +01:00
exercise5 rename ex4 -> ex5 2018-11-13 09:21:36 +01:00
ext Initial commit 2018-09-06 14:35:43 +02:00
solution rename ex2 -> ex3 2018-11-13 09:22:55 +01: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.