Skip to content

shum/demo-graphic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo-graphic

A fairly simple 3D graphics program that use OpenGL shaders.

This uses FreeGLUT, which can be installed on a Mac using Homebrew. It is, at least on my machine, limited to OpenGL 2.1 and GLSL 120. It also uses GLEW, and includes an updated cmake Find module for both of these libraries.

To build on a Mac or on Linux:

$ git clone http://github.com/tsgouros/demo-graphic.git
$ cd demo-graphic
$ mkdir build
$ cd build
$ cmake ..
$ make
$ bin/demo

It's a cmake build, so if you're using XCode on Mac, or Windows, this will probably work, too, but someone else has to make the instructions for those, and I will happily include them here.

About

A very simple OpenGL shader demo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 91.3%
  • CMake 7.8%
  • GLSL 0.9%