3D-rendering library that was created for rendering scientific illustrations but can be used for lots of things...
C++
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
README.md

README.md

ScIll-library

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();
fltFXAA->LoadFragmentShader("res/glsl/filter/FXAA.frag");

SFilterEngine::ReGenerateTexture(&m_rtScene, GL_FLOAT); SFilterEngine::ReGenerateTexture(&m_rtFinal, GL_FLOAT);

SFilterEngine::PreRender(m_rtScene);
... render as usual ...
SFilterEngine::PostRender();

SFilterEngine::Apply(fltFXAA, m_rtScene, m_rtFinal);
SFilterEngine::ToScreen(fltDisplay, m_rtFinal);

soon

  • more pass-by-references parameters, currently rather old/lazy implementation
  • one or more running examples
  • more features (Postprocessors, Filters, )