One interesting computer graphics project written in C++ using OpenGL library.
Compilation instructions
- Download and extract the file 'Soyfer-OpenGL-Task-3.0.3.7z'
- libIrrKlang.so must be placed in the compiler directory (e.g. /user/lib/x86_64-linux-gnu). I recommend simply copying and pasting this library under Root permissions.
- Execute the following command in Terminal: "g++ sphere3.0.3.cpp -lglut -lGLU -lGL -lIrrKlang"
- Then open 'a.out' file and enjoy!
System configuration
- OS: Ubuntu 18.04.4 LTS (Bionic Beaver); also successfully tested on Debian GNU/Linux 12 (BookWorm)
- CPU: Intel Core i3-8145U 2.10 GHz
- RAM: 2 GB
- GPU: Intel UHD Graphics 620
- Programming language: C/C++
Graphical effects
- First-order particles' system
- Object animation
- Environmental maps
- Fog
- Program-defined non-trvially shaped object (torus)
- User can move his/hers viewpoint
- Music theme
Controls
- WASD - moving the viewpoint
- LMB + cursor - adjusting the angle view
- F/G - increase/decrease fog density
Libraries used: iostream, cmath, GL/glut.h, stb_image.h, irrKlang/irrKlang.h