This is the assignments for the Computer Graphics course, through which you'll learn how to:
- construct the simplest framework for a Computer Graphics program;
- display geometry and pixel data on the screen;
- use modern OpenGL API (3.3+);
- use GLSL, a Shading Language compatible with OpenGL;
This will help you understanding:
- the basic concepts in Computer Graphics:
- geometry
- lighting
- texture
- graphics pipleine etc;
- how GPU works to display a frame on the screen;
Basically, I follow the Learning OpenGL tutorials and refactor the old version assignments in an object oriented way. The students should have some knowledge of modern C++. Don't be panic if you haven't learnt C++ yet. You'll write no more than 20 lines of code for most of the assignments.
You can find more materials in Bilibili
- install cmake >= 3.20
- C++ Compiler supports at least C++14
cmake -Bbuild .
cd build
cmake --build . --parallel 8
cd bin/Debug
./project1.exe