Skip to content

Virus2466/Caliber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caliber

C++20 OpenGL

Caliber is a lightweight, performance-focused 3D graphics framework written in modern C++20. It serves as a testbed for Physically Based Rendering (PBR), procedural animation, and custom game engine architecture.

caliber-ezgif com-video-to-gif-converter caliber-ezgif com-video-to-gif-converter (222

Stack

  • Core Language: C++20 (Utilizing modern features, move semantics, and aggregate initialization)
  • Graphics API: OpenGL 4.6 (Core Profile)
  • Extension Loader: GLAD (Dynamically loads modern OpenGL functions)
  • Window & Input: GLFW 3 (Handles cross-platform window creation, mouse delta capture, and keyboard state)
  • Mathematics: GLM (OpenGL Mathematics for matrix transformations, quaternions, and vector calculus)
  • Asset Pipeline: Assimp (Open Asset Import Library for parsing complex .gltf hierarchies and materials)
  • GUI / Tooling: Dear ImGui (Immediate-mode GUI for real-time debugging of PBR materials and lighting states)
  • Build System: CMake (Standardized, cross-platform build generation)

Core Features

  • Physically Based Rendering (PBR): Full metallic/roughness workflow with HDR lighting support.
  • Complex Model Loading: Integrates Assimp to parse glTF nodes, meshes, and hierarchical transformations.
  • Procedural Animation System: Mathematical, frame-independent animation controller handling weapon recoil, slide mechanics, and magazine drops.
  • FPS Viewmodel Physics: Features a spring-based viewmodel sway system that reacts to mouse delta for heavy, realistic weapon handling.
  • Dynamic Lighting: Real-time muzzle flashes tied directly to the weapon's local coordinate space.
  • ImGui Integration: Real-time debugging and parameter tuning for materials, transforms, and lights.

Build Instructions (CMake)

Caliber uses a standard CMake build system.

# Clone the repository
git clone https://github.com/Virus2466/caliber.git
cd caliber

mkdir build
cd build
cmake ..
cmake --build .

Gallery

Screenshot 2026-05-26 124846 Screenshot 2026-05-26 124959

About

A real-time 3D engine with a PBR rendering pipeline and skeletal animation system, built from scratch in C++ and OpenGL 4.6.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors