GithubHelp home page GithubHelp logo

myownclone / opengl-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from skeeto/opengl-demo

0.0 2.0 0.0 533 KB

Minimal OpenGL 3.3 core profile demo

License: The Unlicense

Makefile 0.03% C 76.22% C++ 23.75%

opengl-demo's Introduction

OpenGL 3.3 Core Profile Demo

This is a demo showing a minimal, portable OpenGL 3.3 Core Profile setup. The OpenGL functions are loaded with gl3w and the context is created using GLFW. Linux, Windows, OS X, and the BSDs are supported.

Read more: Minimal OpenGL 3.3 Core Profile Demo

Linux

You'll need GLFW. On any Debian-based system:

# apt-get install libglfw3-dev

Windows

The Windows build requires the wonderful MinGW-w64, and will be statically compiled against GLFW to create a fully standalone application. Build using make -f Makefile.mingw.

OSX

# brew install glfw3

Build the application using make -f Makefile.osx.

Alternatives

A good alternative to gl3w would be glLoadGen, which could almost be dropped directly in-place. GLEW is both much larger and does not support core profile or 3.2+ in general, so it's not an option for modern OpenGL.

A reasonable alternative to GLFW is SDL 2.0, which is bigger and brings along a lot more functionality, such as audio, threading, and font rendering, should you need it.

opengl-demo's People

Contributors

skeeto avatar martinlindhe avatar

Watchers

James Cloos avatar  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.