Skip to content

An OpenGL 2.X demo. Some GLUT spheres rolling along the Z plane with misc effects.

License

Notifications You must be signed in to change notification settings

ut3/demo-gl-antialiasing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo-gl-antialiasing

This is an OpenGL 2.X demo based on circa 2004 Redbook code. It implements motion blur, antialiasing, depth of field, and movable field of view angle.

This code requires:

  • meson & ninja build system (suggestion: package 'meson')
  • OpenGL 2.X (suggestion: packages 'mesa mesa-common-dev')
    • This code uses the fixed function pipeline of OpenGL and will likely not work with OpenGL 3.1+
  • GLU (suggestion: package 'libglu1-mesa-dev')
  • glut3 (suggestion: package 'freeglut3-dev')

Code taken directly from the Redbook has been Meson-ified as subprojects under ./subprojects/

Quick start

$ git clone https://github.com/ut3/demo-gl-antialiasing.git
$ cd demo-gl-antialiasing
$ sudo apt-get install meson mesa-common-dev mesa libglu1-mesa-dev freeglut3-dev
$ meson build
$ cd build
$ ninja
$ ./demo-gl-antialiasing

Screenshot

demo-gl-antialiasing screenshot

About

An OpenGL 2.X demo. Some GLUT spheres rolling along the Z plane with misc effects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published