Changeset 115 for trunk/VUT/Ogre/include
- Timestamp:
- 05/30/05 03:20:23 (19 years ago)
- Location:
- trunk/VUT/Ogre/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/Ogre/include/OgrePlatformHierarchyInterface.h
r112 r115 51 51 @remark If null, the actual camera is used for both viewing and culling 52 52 */ 53 void InitFrame(GtpVisibility::HierarchyNode *root, Camera *cam, Camera *cullCam = NULL );53 void InitFrame(GtpVisibility::HierarchyNode *root, Camera *cam, Camera *cullCam = NULL, bool leaveTransparentsInQueue = false); 54 54 /** Checks if the node is visible from the current view frustum. 55 55 @param node the current node … … 86 86 87 87 protected: 88 /** true if query should test using geomery whenever it is possible, false if 89 bounding boxes are always used. 90 */ 91 bool UseOptimization() const; 92 88 93 /** materials for visualizing frustum and query culled nodes */ 89 void Create CulledNodeMaterials();94 void CreateNodeVizMaterials(); 90 95 91 96 /** A pass that prepares an occlusion query. … … 126 131 127 132 bool mOnlyShadowCasters; 133 bool mLeaveTransparentsInQueue; 128 134 }; 129 135 -
trunk/VUT/Ogre/include/OgreVisibilityOctreeSceneManager.h
r114 r115 50 50 GtpVisibility::VisibilityManager *getVisibilityManager( void ); 51 51 52 //writes out stats into the Ogre log file 52 /** Writes out stats into the Ogre log file. 53 */ 53 54 void WriteLog(); 55 54 56 /** Render a set of objects, see renderSingleObject for param definitions 55 57 Override so we can handle delayed rendering of transparent objects … … 58 60 bool doLightIteration, const LightList* manualLightList = 0); 59 61 protected: 60 62 63 void CreateDepthPass(); 64 61 65 OctreeHierarchyInterface *mHierarchyInterface; 62 66 GtpVisibility::VisibilityManager *mVisibilityManager; 63 67 64 bool mUseVisibilityCulling;65 68 bool mShowVisualization; 66 bool m RenderTransparentObjects;69 bool mSkipTransparents; 67 70 bool mVisualizeCulledNodes; 68 71 69 72 bool mRenderNodesForViz; 70 73 bool mRenderNodesContentForViz; 74 bool mDelayRenderTransparents; 75 bool mUseDepthPass; 76 77 Pass *mDepthPass; 71 78 }; 72 79 -
trunk/VUT/Ogre/include/OgreVisibilitySceneManager.h
r112 r115 15 15 visibility culling. 16 16 */ 17 class VisibilitySceneManager 17 class VisibilitySceneManager: public SceneManager 18 18 { 19 19 public: … … 57 57 GtpVisibility::VisibilityManager *mVisibilityManager; 58 58 59 bool mUse VisibilityCulling;59 bool mUseDepthPass; 60 60 bool mShowVisualization; 61 61 -
trunk/VUT/Ogre/include/OgreVisibilityTerrainSceneManager.h
r114 r115 56 56 virtual void renderObjects(const RenderPriorityGroup::TransparentRenderablePassList& objs, 57 57 bool doLightIteration, const LightList* manualLightList = 0); 58 protected: 59 60 /** Writes out stats into the Ogre log file 58 59 /** Writes out stats into the Ogre log file. 61 60 */ 62 61 void WriteLog(); 63 62 63 /** Override pass so we can do the z-fail pass */ 64 Pass* setPass(Pass* pass); 65 66 protected: 67 /** Creates material for depth pass, e.g., a pass that only fills the depth buffer */ 68 void CreateDepthPass(); 69 void ShowVisualization(Camera *cam); 64 70 OctreeHierarchyInterface *mHierarchyInterface; 65 71 GtpVisibility::VisibilityManager *mVisibilityManager; 66 72 67 bool mUseVisibilityCulling;68 73 bool mShowVisualization; 69 bool m RenderTransparentObjects;74 bool mSkipTransparents; 70 75 bool mVisualizeCulledNodes; 71 76 72 77 bool mRenderNodesForViz; 73 78 bool mRenderNodesContentForViz; 79 bool mDelayRenderTransparents; 80 bool mUseDepthPass; 81 bool mIsDepthPass; 82 83 Pass *mDepthPass; 74 84 }; 75 85
Note: See TracChangeset
for help on using the changeset viewer.