/OpenGL-Samples

OpenGL Samples - Basic to Advanced

Primary LanguageGLSLMIT LicenseMIT

Linux Build License: MIT

OpenGL Sample Repository - Work In Progress

A collection of OpenGL Samples, work in progress

CLI - Command Line Options

Usage:
  OpenGL Sample: GLSample [OPTION...]

 GLSample options:
  -h, --help                helper information.
  -d, --debug               Enable Debug View. (default: true)
  -t, --time arg            How long to run sample (default: 0)
  -f, --fullscreen          Run in FullScreen Mode
  -v, --vsync               Vertical Blank Sync
  -g, --opengl-version arg  OpenGL Version (default: -1)
  -F, --filesystem arg      FileSystem (default: .)
  -r, --renderdoc           Enable RenderDoc
  -G, --gamma-correction    Enable Gamma Correction
  -W, --width arg           Set Window Width (default: -1)
  -H, --height arg          Set Window Height (default: -1)
  -D, --display arg         Display (default: -1)
  -m, --multi-sample arg    Set MSAA (default: 0)

Samples

MipMapVisual

  • Multipass

AmbientOcclusion

AmbientOcclusion AmbientOcclusion AmbientOcclusion AmbientOcclusion

  • Physical Based Rendering

  • Panoramic(Samples/Panoramic/)

Panoramic Panoramic

GameOfLife

MandelBrot

VectorField2D

  • Support Vector Machine

  • Compute Group Visual

ComputeGroup

  • Marching Cube MarchingCube

  • Rigidbody

RigidBody

Build Instruction

git submodule update --init --recursive
mkdir build && cd build
cmake ..
make
make DownloadAsset

License

This project is licensed under the GPL+3 License - see the LICENSE file for details