Skip to content

Jacklwln/glviz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GLviz

GLviz is a small collection of C++ classes and GLSL shaders to facilitate the development of OpenGL demos. It is built on top of CMake, SDL, GLEW, Eigen, and AntTweakBar and requires at least OpenGL 3.3. GLviz has been tested on a NVIDIA GTX 680 GPU using driver version 347.52 on Windows (compiled with MSVC 2013) and 340.65 on Linux (compiled with GCC 4.9). It includes all external dependencies to make compilation on either Windows or Linux as simple and convenient as possible.

Author: Sebastian Lipponer, License: MIT

Features

  • Camera with trackball navigation.
  • Shader management.
  • Triangle mesh shader (supports flat or Phong shading and an optional high-quality wireframe1 overlay).
  • Sphere shader (for the sake of performance not perspectively correct spheres).
  • Supports embedding of shaders in the executable.

Screenshots

Documentation

Currently there is no documentation, but the code includes an example. From the source code it should become apparent how GLviz is intended to be used.

References

[1] Bærentzen, J. A., Munk-Lund, S., Gjøl, M., Larsen, B. D.: Two Methods for Antialiased Wireframe Drawing with Hidden Line Removal. In Proceedings of the Spring Conference in Computer Graphics, 2008.

About

GLviz is a small collection of C++ classes and GLSL shaders to facilitate the development of OpenGL demos.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 81.6%
  • GLSL 14.2%
  • CMake 4.2%