This project is a sandbox for learning more about rendering architecture and interfacing with graphics APIs like OpenGL. This is an ongoing project as there are many more features I want to add and improve upon.
This scene is rendering 10,000 objects with instances!
You will need a GPU with drivers that supports at least up to OpenGL version 4.3 and a compiler that supports C++20 features. Also cmake will be required to create all the build files.
By running:
python project_config.py
It will do all the cmake configuration and create the build folder.
If on Windows it will create a Visual Studio solution file located in the build folder. Once opened you can set the toy_box project as the start up one. After that is done then you can build and run it from there.
On linux after configuring the project you can build and run using the following commands:
cd build
make
./ToyBox
- WASD to move around
- By holding the right mouse button you can rotate the camera.
- R is to reset the camera to the origin.
- C can recompile shaders.
- ESC will shut the program down.


