QGLViewer

libQGLViewer

openGL       Qt

Version 2.1 is now available !
Supports Qt 4. Dual licensing.

Presentation

libQGLViewer is a free C++ library based on Qt that enables the quick creation of OpenGL 3D viewers. It features a powerful camera trackball and simple applications simply require an implementation of the draw() function. It is a tool of choice for OpenGL beginners and assignments. It provides screenshot saving, mouse manipulated frames, stereo display, interpolated keyFrames, object selection, and much more. It is fully customizable and easy to extend to create complex applications, with an optional Qt GUI.

libQGLViewer is not a 3D viewer that can be used directly to view 3D scenes in various formats. It is more likely to be the starting point for the coding of such a viewer. Since it is based on the Qt toolkit, it compiles on any architecture (Unix-Linux, Mac, Windows, ...). Full reference documentation and many examples are provided.

libQGLViewer is released under the terms of the GNU-GPL license. A LGPL version is available for commercial applications.

Over 300 downloads are recorded each month.

Short tour

Latest news

October 21st, 2005
Version 2.1.1-7
API documentation is back (thanks Jean Pierre).
October 7th, 2005
Version 2.1.1-6
"weak definition" error message fixed with Qt4/gcc4 (thanks Manu).
October 6th, 2005
Version 2.1.1-5
Spurious QTDIR in .pro caused error messages with Qt4 (thanks Javier).
October 4th, 2005
Version 2.1.1-4
Agora example fixed. Minor typos fixed.
September 21st, 2005
Version 2.1.1-3
Compilation warnings with Visual 6 fixed. Help window fixed with Qt 2.3.
September 20th, 2005
Version 2.1.1-2
Compilation options fixed for MinGW (again).
September 19th, 2005
Version 2.1.1-1
Compilation option fixed for MinGW (thanks Alex).
September 18th, 2005
Version 2.1.1-0
saveSnapshot() file dialog problem fixed (thanks Jürgen).
September 14th, 2005
Version 2.1.0-0
libQGLViewer now runs with Qt version 2, 3 and 4.
Dual licensing : a LGPL version of the library is available for commercial applications.
August 10th, 2005
Version 2.0.1-0
Bounding box warning when viewing generated EPS snapshots fixed. Thanks Dominik.
July 25th, 2005
Version 2.0.0-5
Unclosed parenthesis fixed in saveSnapshot with Qt 2.3 version.
July 21st, 2005
Version 2.0.0-4
Division by 0 in manipulatedFrame patched (thanks to Olivier and Valeri).
terrain example missing textures added (thanks Sylvain).
July 7th, 2005
Version 2.0.0-3
Patches for Qt 3.1, 64 bits architectures and gcc 4.0 compilation.
Thanks to Adam, Sylvain, Artur and Janek.
July 4th, 2005 Debian packages are now available. Thanks Artur.
June 29th, 2005
Version 2.0.0-2
float/double warnings fixed for .NET windows compilation (thanks JD).
June 28th, 2005
Version 2.0.0-1
VRender library patched for windows (templates removed).
June 24th, 2005
Version 2.0.0-0
New major release.
API cleaned up and documentation entirely rewritten.
  Here are the main modifications that may impact your code (see the full list):
  • Methods with float parameter removed.
    Use their Vec(x,y,z) and Quaternion(q0,q1,q2,q3) equivalents instead.
  • 2D positions are now given as QPoint. Especially change your postSelection() overloading.
  • ORTHO camera mode renamed ORTHOGRAPHIC.
  • Use Vec::operator float* instead of Vec::address().

Subscribe to the qglviewer.developer mailing list to get informed of new releases.

This project is referenced by the FSF, FreshMeat, Savannah, SourceForge, Kde-apps and Trolltech.

Valid XHTML 1.0! Valid CSS! Last modified on Friday, October 21, 2005.