Commit 968bacf0 authored by Jan Möbius's avatar Jan Möbius
Browse files

Some documentation fixes.

refs #1314

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent cc01b7a9
......@@ -125,7 +125,7 @@ += LitPointLight(, sg_vNormalVS, g_vLightPos_2, g_c
\section Creating new renderer plugins
\section creating_new_renderer_plugins Creating new renderer plugins
The rendering pipeline is fully customizable via external plugins.
Each shader-based renderer is represented by a subclass of RenderInterface and ACG::IRenderer,
......@@ -237,16 +237,14 @@ ShaderCache::getInstance()->getProgram(&shaderDesc, ModifierA_ID | ModifierB_ID)
\section Debugging tips and tricks
\section acg_debugging_tips_and_tricks Debugging tips and tricks
The most important function for debugging dumpRenderObjects() is provided by ACG::IRenderer.
This can be called after call to prepareRenderingPipeline() and it creates a text file
containing a full data dump of all render objects with all states and shader codes for each.
dumpRenderObjectsToText("../../dump_ro.txt", &sortedObjects_[0]);
You can just call the dumpRenderObjectsToTexxt() function with a filename and a pointer to the
Often encountered errors:
- lighting disabled in ShaderGenDesc and black emission color (use different emission color)
......@@ -260,4 +258,4 @@ Often encountered errors:
If the whole scene seems to be rendered wrong, it is possible that one draw-call causes problems in the OpenGL state machine.
Try to render only a selection of renderobjects until the problematic one is found.
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment