Hello! This is a graphics simulator developed using C++ and OpenGL.
And this is a cross platform targeting Windows & Web platforms as a minimum and possibly the Ubuntu & Mac platforms.
This program topics include but are not limited to:
- Procedural Geometric Modeling
- Plane, Cube, Sphere, Torus, Cylinder, and Cone
- Fog
- Linear and Exponential
- Toon / Cell Shading
- Shadow Mapping
- From a Directional light with position
- Geometry and Tessellation Shaders
- Compute Shaders
- Value noise, Gradient noise / Perlin noise
- Generating textures and meshes
- Hermite Curves / Catmull-Rom Splines
First Setup your Development Environment
Release
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release
./build/executables/Release/graphics_funDebug
cmake -B build -S . -DCMAKE_BUILD_TYPE=Debug
cmake --build build/build --config Debug
./build/executables/Debug/graphics_funEmscripten
source /path/to/emsdk/emsdk_env.sh
emcmake cmake -B build -S . -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release
python3 -m http.server -d ./build/executables/
# Open Web Browser and go to http://localhost:8000/Release/graphics_fun.htmlcmake -B build/release -S . -DCMAKE_BUILD_TYPE=Release
cmake -B build/debug -S . -DCMAKE_BUILD_TYPE=Debug
source ~/emsdk/emsdk_env.sh
emcmake cmake -B build/webrelease -S . -DCMAKE_BUILD_TYPE=Release
emcmake cmake -B build/webdebug -S . -DCMAKE_BUILD_TYPE=Debug
cmake --build build/release --config Release
cmake --build build//debug --config Debug
cmake --build build/webrelease --config Release
cmake --build build/webdebug --config Debug