Changeset 868 for GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include
- Timestamp:
- 05/01/06 00:08:09 (19 years ago)
- Location:
- GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreOcclusionCullingSceneManager.h
r863 r868 71 71 */ 72 72 bool validatePassForRendering(Pass* pass); 73 73 /** This function renders renderables using false color ids. 74 */ 74 75 void RenderItemBuffer(RenderPriorityGroup* pGroup); 76 /** Renders a single object using false color id. 77 */ 75 78 void RenderSingleObjectForItemBuffer(Renderable *rend, Pass *pass); 79 /** Overritten from scene manager to include the false color id rendering of the 80 scene objects. 81 */ 76 82 void renderQueueGroupObjects(RenderQueueGroup* pGroup); 77 83 … … 88 94 OctreeHierarchyInterface *GetHierarchyInterface(); 89 95 90 /** Inherited from scene manager. Neccesary to draw terrain properly.96 /** Override this because we must handle shadows differently. 91 97 */ 92 98 void endFrame(); … … 171 177 int mLeavePassesInQueue; 172 178 179 173 180 /// if transparent object are considered for item buffer visibility 174 181 bool mRenderTransparentsForItemBuffer; 175 182 /// Always execute the vertex program of a pass, e.g., for the depth pass or item buffer 176 183 bool mExecuteVertexProgramForAllPasses; 184 177 185 /// if hierarchical culling is currently in use 178 186 bool mIsHierarchicalCulling; -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreVisibilityOctreeSceneManager.h
r865 r868 11 11 #include "OgrePlatformQueryManager.h" 12 12 #include "VisibilityManager.h" 13 #include "ViewCellsManager.h" 14 15 //class GtpVisibilityPreprocessor::ViewCellsManager; 13 16 14 17 … … 98 101 void loadVisibilityConfig(const String& filename); 99 102 103 104 /** Loads view cells for this particular scene. 105 */ 106 void LoadViewCells(std::string filename); 107 100 108 protected: 101 109 … … 113 121 void InitVisibilityCulling(Camera *cam); 114 122 123 /** Finds object corresponding to this bounding box in the scene. 124 */ 125 MovableObject *FindCorrespondingObject(const AxisAlignedBox &box); 115 126 127 /** Identifies objects in the scene and gives them unique ids that 128 correspond to preprocessor ids. 129 */ 130 void IdentifyObjects(GtpVisibilityPreprocessor::ObjectContainer &objects); 116 131 117 132 /// the interface to the scene hierarchy. … … 163 178 bool mExecuteVertexProgramForAllPasses; 164 179 180 /// if hierarchical culling is currently in use 165 181 bool mIsHierarchicalCulling; 166 182 167 std::ofstream mDummyLog; 183 bool mViewCellsLoaded; 184 GtpVisibilityPreprocessor::ViewCellsManager *mViewCellsManager; 168 185 }; 169 186 -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreVisibilityTerrainSceneManager.h
r865 r868 102 102 void renderModulativeStencilShadowedQueueGroupObjects(RenderQueueGroup* pGroup); 103 103 104 /** Override standard function so octree boxes are always of equal side length. 105 This has advantages for CHC, because terrain tiles are in different octree nodes 106 and can be culled. 107 */ 108 void setWorldGeometry(const String& filename); 109 104 110 protected: 105 111
Note: See TracChangeset
for help on using the changeset viewer.