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 );
std::map< int, ViewerResources > viewerRes_
ACG::Vec3f outlineCol_
outline color
DrawMode DEFAULT
use the default (global) draw mode and not the node's own.
QString name()
Return a name for the plugin.
Collection of fbos for each viewport.
QString renderObjectsInfo(bool _outputShaderInfo)
Return a qstring of the current render objects.
QAction * optionsAction()
Return options menu.
QString description()
Return a description of what the plugin is doing.
GLSL::Program * progOutline_
outline shader: multiply scene color with edge factor derived from edges in depth buffer ...
Interface class from which all plugins have to be created.
Interface to add additional rendering functions from within plugins.
float paletteSize_
size of cel shading palette