Changeset 103 for trunk/VUT/Ogre/include
- Timestamp:
- 05/18/05 02:06:32 (19 years ago)
- Location:
- trunk/VUT/Ogre/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/Ogre/include/OgrePlatformHierarchyInterface.h
r94 r103 44 44 void SetCullCamera(Camera *cullCam); 45 45 /** Initialises this scene traverser for the current frame. 46 @param root root of the hierarchy 47 @param cam current camera 48 @param cullCam the camera used for culling. If null, the current camera is used 49 @remark convenience method wich calls VisibilitySceneTraverser::initFrame, 50 sets the current camera, and initialises the distance queue. 46 @remark This is a convenience method which resets the stats, 47 sets the current camera, and initialises the distance queue. 48 @param root root of the hierarchy 49 @param cam the actual camera definding the view frustum 50 @param cullCam the camera used for culling. 51 @remark If null, the actual camera is used for both viewing and culling 51 52 */ 52 53 void InitFrame(GtpVisibility::HierarchyNode *root, Camera *cam, Camera *cullCam = NULL); … … 60 61 */ 61 62 void SetSceneManager(SceneManager *sm); 62 /** Sets pointer to the current render system 63 /** Sets pointer to the current render system . 63 64 @param rsys the rendersystem 64 65 */ … … 77 78 GtpVisibility::HierarchyNode *node, const bool wasVisible); 78 79 80 /** If true, the interface finds and renders only objects which are marked as shadow casters. 81 @remark This is important for the shadow texture pass 82 */ 83 void SetOnlyShadowCasters(bool onlyShadowCasters); 84 79 85 protected: 86 /** A pass that prepares an occlusion query. 87 @remark disables depth write, colour write, lighting, 88 vertex and fragment program. 89 */ 90 void SetOcclusionPass(); 91 80 92 /** Deletes all occlusion queries. 81 93 */ … … 85 97 */ 86 98 void RenderBoundingBox(AxisAlignedBox *box); 87 /** Returns pointer to current renderable half bounding box geometry 88 */ 89 //SolidHalfBoundingBox *GetSolidHalfBoundingBox(); 99 90 100 /** Returns pointer to current renderable bounding box geometry 91 101 */ 92 102 SolidBoundingBox *GetSolidBoundingBox(); 93 103 94 /** one renderable half of an aabb. 104 /** Returns pointer to current renderable half bounding box geometry 105 */ 106 //SolidHalfBoundingBox *GetSolidHalfBoundingBox(); 107 108 /** Renderable of an aabb 95 109 */ 96 110 SolidBoundingBox *mSolidBoundingBox; … … 105 119 106 120 std::vector<PlatformOcclusionQuery *> mOcclusionQueries; 121 122 bool mOnlyShadowCasters; 107 123 }; 108 124 -
trunk/VUT/Ogre/include/OgreVisibilitySceneManager.h
r99 r103 56 56 SceneNodeHierarchyInterface *mHierarchyInterface; 57 57 GtpVisibility::VisibilityManager *mVisibilityManager; 58 58 59 bool mUseVisibilityCulling; 60 bool mShowVisualization; 59 61 }; 60 62 } // namespace Ogre -
trunk/VUT/Ogre/include/OgreVisibilityTerrainSceneManager.h
r100 r103 30 30 31 31 /** Sets the given option for the SceneManager 32 @remarks 33 Options are: 34 "Algorithm", int *; 32 @remarks Options are: "Algorithm", int *; 35 33 */ 36 34 … … 45 43 bool getOptionKeys( StringVector &refKeys ); 46 44 47 /** Sets the visibility manager .45 /** Sets the visibility manager 48 46 @param visManager the visibility manager 49 47 */ 50 48 void setVisibilityManager(GtpVisibility::VisibilityManager *visManager); 51 /** See set .49 /** See set 52 50 */ 53 51 GtpVisibility::VisibilityManager *getVisibilityManager(); 54 52 55 //writes out stats into the Ogre log file56 void WriteLog();57 void SetShowVisualization(bool showViz);58 59 /* void SetSkyBoxEnabled(bool enabled);60 void SetSkyPlaneEnabled(bool enabled);61 void SetSkyDomeEnabled(bool enabled);*/62 63 53 protected: 64 54 55 /** Writes out stats into the Ogre log file 56 */ 57 void WriteLog(); 58 65 59 OctreeHierarchyInterface *mHierarchyInterface; 66 60 GtpVisibility::VisibilityManager *mVisibilityManager; … … 68 62 bool mUseVisibilityCulling; 69 63 bool mShowVisualization; 64 bool mRenderNodesForViz; 70 65 }; 71 66
Note: See TracChangeset
for help on using the changeset viewer.