History

Drafting the Octree and a debugging job

samcake committed 10 years ago

Commit b96bbab1 parent c1626f14 files · +138 −82Browse files

Showing the changes to libraries/render-utils/src/RenderDeferredTask.cpp (1 of 4 files). Show all

Unified · Split

libraries/render-utils/src/RenderDeferredTask.cpp+8−0
@@ -25,6 +25,7 @@ · 24 unmodified lines
2525
2626 #include "render/DrawTask.h"
2727 #include "render/DrawStatus.h"
28+#include "render/DrawSceneOctree.h"
2829 #include "AmbientOcclusionEffect.h"
2930 #include "AntialiasingEffect.h"
3031
@@ -135,6 +136,13 @@ RenderDeferredTask::RenderDeferredTask(CullFunctor cullFunctor) : Task() { · 104 unmodified lines
135136 _drawDebugDeferredBufferIndex = (int)_jobs.size() - 1;
136137 enableJob(_drawDebugDeferredBufferIndex, false);
137138
139+ // Scene Octree Debuging job
140+ {
141+ addJob<DrawSceneOctree>("DrawSceneOctree");
142+ // _drawStatusJobIndex = (int)_jobs.size() - 1;
143+ // enableJob(_drawStatusJobIndex, false);
144+ }
145+
138146 // Status icon rendering job
139147 {
140148 // Grab a texture map representing the different status icons and assign that to the drawStatsuJob