Skip to content

isabella232/small-gpu-rendering-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Small GPU rendering examples

Pieces of C++ and OpenGL code for learning and experimenting. Some of the code was created with the help of the tutorial on https://open.gl.

Building from source

You will need at least OpenGL 3.2 and Linux (tested on Ubuntu Trusty).

$ glxinfo|grep "OpenGL core profile version"  # should be at least 3.2
$ sudo apt-get install cmake clang libsdl2-dev

$ mkdir build
$ cd build
$ cmake ..
$ make
$ ./bin/tutorial

Currently it should just display a simple triangle. For other examples, look into the build/bin/ directory. But be careful, some of them show off a driver bug. A binary called foo is going to be created from the directory called foo, you can look there to find out what is the expected behavior.

Installation is not supported (and probably never will be, these are just experiments).

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 79.4%
  • GLSL 13.5%
  • CMake 7.1%