Skip to content

hachimamma/OGL-Renders

Repository files navigation

OpenGL Renders

This repository showcases a collection of visually striking and mathematically inspired OpenGL renderings, written entirely in C++17. Each module demonstrates a unique concept or simulation - ranging from black holes to fractals and wave dynamics, using low-level, modern OpenGL techniques.

The goal of this project is to explore graphics programming and mathematical visualization through efficient, modular, and creative render implementations.


Features

  • Modular CMake-based build system
  • Fully cross-platform (Linux & Windows)
  • Real-time OpenGL simulations
  • Organized by category (Blackhole, Fractals, Waves, etc.)
  • Automatic dependency installation (via vcpkg or setup script)

Available Simulations

  • Black Hole Simulation - Light distortion near an event horizon
  • Fractal Visualization - Mandelbrot and complex pattern generation
  • Wave Simulation - Procedural surface and ripple animation

Build and Run

1. Easiest Setup (Recommended)

For a one-step setup and build process:

Linux / macOS

bash install.sh

or

chmod +x install.sh
./install.sh

Windows (PowerShell)

.\install.ps1
.\build.ps1

Both scripts automatically install required dependencies and compile the project.


2. Quick Build (Manual)

For Linux/MacOS, If you already have dependencies installed, simply run:

bash build.sh

Or manually:

chmod +x build.sh
./build.sh

For Windows, If you already have dependencies installed, simply run:

.\build.ps1

Development Notes

  • Language Standard: C++17

  • Build System: CMake

  • Dependencies:

    • GLFW — Window and input management
    • GLEW — OpenGL extension handling
    • GLM — Mathematics library for graphics

All dependencies are handled automatically through vcpkg on Windows or via APT on Linux/macOS.


Contributing

Contributions, ideas, and corrections are always welcome! You can:

  • Open a pull request
  • Report an issue
  • Suggest a new rendering concept

License

This project is open source and distributed under the MIT License.


⭐ If you find the simulations interesting or useful, consider starring the repository to support future development.

About

Rendering random stuff in OpenGL

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors