3D-rendering library for OpenGL 3.2 core that was created for rendering scientific illustrations but can be used for lots of things...
The lib is written in cpp, compiles under gcc & VS 2010 and has a cmake project file along with it.
Certain aspects were inspired by Qt-OpenGL, which unfortunately doesn't do OpenGL 3.2 core too well but offers nice abstractions.
A key-aspect is the
FilterEngine that allows for very easy/simple fragment-shader image filters or deferred-rendering setups. The following code illustrates rendering into a rendertarget:
using namespace SciIllLib;
CFilter fltFXAA = new CFilter();
SFilterEngine::ReGenerateTexture(&m_rtScene, GL_FLOAT); SFilterEngine::ReGenerateTexture(&m_rtFinal, GL_FLOAT);
... render as usual ...
SFilterEngine::Apply(fltFXAA, m_rtScene, m_rtFinal);
- more pass-by-references parameters, currently rather old/lazy implementation
- one or more running examples
- more features (Postprocessors, Filters, )