This is a simple opengl rendering system that is currently being developed.Currently I am working on a demo scene and UI system for this. The Renderer as of now can :
- Load simple gltf models and render them.
- move camera with mouse and keyboard keys WASD.
- Run skeletal animation and keyframe animation.(Temporarily disabled while integrating with ECS).
I have added the build instructions to build and run it below, the build and run instructions may seem a little verbose cause the project is work in progress, but if you follow it correctly it should work.
If you have any issue or need help don't hesitate to contact me or raise an issue.
rendering-engine-with-fps-meter.mp4
To build and run this project, you will need the following tools and dependencies installed on your system.
- C++ Toolchain : C++ compiler supporting the C++17 standard or newer (e.g., GCC, Clang, or MSVC).
- Build System : CMake (Minimum Required Version: 3.14) is used as the meta-build system to generate native build files.
git clone https://github.com/aka411/opengl-rendering-engine.git
cd opengl-rendering-engineYou need to add the filepath to the model to be loaded in main.cpp
// Near line 110 in src/main.cpp
engineCore.loadModel("PATH TO GLTF FILE");cmake -B build
cmake --build buildThis will create the executable named opengl-rendering-engine.exe inside the build/bin/ directory.
./build/bin/opengl-rendering-engineImportant: If you don't immediately see the model, use the mouse to look around and WASD keys to move. The model may be right next to or behind the initial camera position.