Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
OpenGL object wrappers and examples
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
demo1-shaders
demo2-shaders
demo3-shaders
demo4-shaders
dpeel-shaders
models
teapot-shaders
Doxyfile
LICENSE
Makefile
README.md
buffer.cpp
buffer.h
demo1.cpp
demo2.cpp
demo3.cpp
demo4.cpp
depthpeel.cpp
framebuffer.cpp
framebuffer.h
glutwrapper.cpp
glutwrapper.h
handlerbase.cpp
handlerbase.h
menucreator.cpp
menucreator.h
mesh.cpp
mesh.h
program.cpp
program.h
shader.cpp
shader.h
teapot.cpp
texture.cpp
texture.h
tfprogram.cpp
tfprogram.h
trackballhandler.cpp
trackballhandler.h
vertexarray.cpp
vertexarray.h

README.md

EZGraphics

OpenGL object wrappers and examples

At this point, this is linux code. To compile, cd to the project directory and run make. Then, try the four demos (demo[1234], note that the source files demo[1234].cpp are heavily commented) using one of the input files in the models directory as the command line argument. All demos have to be run from the project directory containing the source code. Click the right mouse button to get the popup menu for the demos and explore the options.

A demo of the depth peeling algorithm for transparent surface rendering is provided (depthpeel). Run with one of the models as the command line argument. Initial image is obtained using the naive transparency. Use the menu to switch to depth peeling. There is also an option to view individual layers (see the terminal output for keyboard controls).

teapot is a demo that renders the Utah teapot using hardware tesselation. The tesselation level is controlled manually from the popup menu. Rendering modes that highlight patches and triangles are provided.

Something went wrong with that request. Please try again.