Giter Club home page Giter Club logo

algovisual's Introduction

๐Ÿ‘พ opengl-imgui-cmake-template

A quick and easy way to get started using OpenGL 3.3 Core Profile together with imgui in a CMake environment.

This template only contains a wrapper class for shaders, and one for the window with appropriate Initialize/LoadContent/Update/Render as a game loop.

The shader class allows for hot-reloading of the fragment shader, so whenever you modify the testing.fs file in the build/resources/shaders/ directory, the shader will automagically be reloaded!

NOTE: The shader files in resources/shaders/ are copied into the build/ directory upon build, so if you want to save your hot-reloaded changes, then you must also modify the shaders in resources/shaders/ directory.

Getting started

  1. Create a new repo by clicking Use this template up to the right!
  2. Download some GLFW pre-compiled binaries and put the libglfw3.a file in libs/glfw/.
  3. Compile with CMake and then run it! Piece of cake!

Remarks

  • Uses imgui version 1.83
  • Has only been tested on MingW64 compiler for Windows (so it may require some fixing for it to work for gcc or clang)

algovisual's People

Contributors

ksanjeev284 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.