57 #include <ACG/GL/IRenderer.hh>
58 #include <ACG/GL/FBO.hh>
66 #if QT_VERSION >= 0x050000
67 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-Render-Toon")
74 QString
name() {
return (QString(
"Toon Renderer Plugin")); };
75 QString
description( ) {
return (QString(tr(
"Render with cel shading and edge outlining"))); };
78 QString version() {
return QString(
"1.0"); };
86 void initializePlugin();
91 QString rendererName() {
return QString(
"Toon_Renderer");}
94 QString checkOpenGL();
97 void actionDialog(
bool );
98 void paletteSizeChanged(
int );
99 void outlineColorChanged( QColor );
120 void resize(
int _newWidth,
int _newHeight );
Collection of fbos for each viewport.
Interface class from which all plugins have to be created.
float paletteSize_
size of cel shading palette
DrawMode DEFAULT
use the default (global) draw mode and not the node's own.
Interface to add additional rendering functions from within plugins.
QAction * optionsAction()
Return options menu.
QString description()
Return a description of what the plugin is doing.
QString renderObjectsInfo(bool _outputShaderInfo)
Return a qstring of the current render objects.
GLSL::Program * progOutline_
outline shader: multiply scene color with edge factor derived from edges in depth buffer ...
QString name()
Return a name for the plugin.
ACG::Vec3f outlineCol_
outline color
std::map< int, ViewerResources > viewerRes_