Changeset 726 for GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include
- Timestamp:
- 04/04/06 23:55:38 (19 years ago)
- Location:
- GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgrePlatformHierarchyInterface.h
r187 r726 153 153 std::vector<PlatformOcclusionQuery *> mOcclusionQueries; 154 154 155 Vector3 mCameraPosition; 155 156 bool mOnlyShadowCasters; 156 157 int mLeavePassesInQueue; -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreVisibilityTerrainSceneManager.h
r347 r726 11 11 #include "OgrePlatformQueryManager.h" 12 12 #include "VisibilityManager.h" 13 14 13 15 14 namespace Ogre { … … 56 55 virtual void renderObjects(const RenderPriorityGroup::TransparentRenderablePassList& objs, 57 56 bool doLightIteration, const LightList* manualLightList = 0); 58 59 57 /** Writes out stats into the Ogre log file. 60 58 */ 61 59 void WriteLog(); 62 60 63 /** Override pass so we can dothe z-fail pass.61 /** We override this because we want to include the z-fail pass. 64 62 */ 65 63 Pass* setPass(Pass* pass); 66 67 64 /** Override from SceneManager so we can skip all but first pass for depth pass. 68 65 */ 69 66 bool validatePassForRendering(Pass* pass); 70 67 /** This function renders renderables using false color ids. 68 */ 71 69 void RenderItemBuffer(RenderPriorityGroup* pGroup); 70 /** Renders a single object using false color id. 71 */ 72 72 void RenderSingleObjectForItemBuffer(Renderable *rend, Pass *pass); 73 /** Overritten from scene manager to include the false color id rendering of the 74 scene objects. 75 */ 73 76 void renderQueueGroupObjects(RenderQueueGroup* pGroup); 74 77 … … 89 92 void endFrame(); 90 93 94 /** Override this because we must handle shadows differently. 95 */ 91 96 void renderAdditiveStencilShadowedQueueGroupObjects(RenderQueueGroup* pGroup); 97 /** Override this because we must handle shadows differently. 98 */ 92 99 void renderModulativeStencilShadowedQueueGroupObjects(RenderQueueGroup* pGroup); 93 94 /** Override standard function so octree boxes are always of equal side length.95 This has advantages for CHC, because terrain tiles are in different octree nodes96 and can be culled.97 */98 void setWorldGeometry( const String& filename );99 100 100 101 protected: … … 161 162 162 163 bool mIsHierarchicalCulling; 164 165 std::ofstream mDummyLog; 163 166 }; 164 167
Note: See TracChangeset
for help on using the changeset viewer.