Changeset 156 for trunk/VUT/Ogre/include
- Timestamp:
- 07/06/05 02:36:16 (20 years ago)
- Location:
- trunk/VUT/Ogre/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/Ogre/include/OgrePlatformHierarchyInterface.h
r155 r156 106 106 bool IsBoundingBoxQuery(); 107 107 108 /** Finds visible objects of hierarchy node using occlusion queries 109 @param node the current scene node 110 @param objs the visible objects 111 @param includeChildren if the children of current scene nodes should also be traversed 112 */ 113 /*virtual bool FindVisibleObjects(GtpVisibility::HierarchyNode *node, 114 InfoContainer<GtpVisibility::MeshInfo> *visibleGeometry, 115 bool includeChildren = false) = 0;*/ 108 116 109 protected: 117 110 /** Renders geometry … … 126 119 */ 127 120 void DeleteQueries(); 128 129 /** Renders bounding box of specified node.130 @param box the bounding box of the scene node to be rendered131 */132 void RenderBoundingBox(AxisAlignedBox *box);133 121 134 122 /** Returns pointer to current renderable bounding box geometry. … … 138 126 /** A pass that prepares an occlusion query. 139 127 @remark disables depth write, colour write, lighting, 140 vertex and fragment program. 141 */ 128 vertex and fragment program.*/ 142 129 //void SetOcclusionPass(); 143 130 144 /** Returns pointer to current renderable half bounding box geometry.*/ 145 //SolidHalfBoundingBox *GetSolidHalfBoundingBox(); 131 /** Renders given bounding box. 132 @param box the bounding box of the scene node to be rendered 133 */ 134 void RenderBoundingBox(AxisAlignedBox *box); 146 135 147 136 /** Renderable of an aabb. -
trunk/VUT/Ogre/include/OgreSolidBoundingBox.h
r117 r156 9 9 no colors, and no lighting. 10 10 */ 11 class SolidBoundingBox : public SimpleRenderable11 class __declspec(dllexport) SolidBoundingBox : public SimpleRenderable 12 12 { 13 13 public: … … 30 30 31 31 protected: 32 /** 33 Sets the material used for occlusion queries. 34 @remark the material is called "Visibility/QueryMaterial" and 35 uses no lighting, no depth write, and no colours 36 */ 37 void SetOcclusionQueryMaterial(); 38 /** Override this method to prevent parent transforms (rotation,translation,scale) 39 */ 40 void getWorldTransforms( Matrix4* xform ) const; 41 /** @copydoc Renderable::getWorldOrientation */ 42 const Quaternion& getWorldOrientation(void) const; 43 /** @copydoc Renderable::getWorldPosition */ 44 const Vector3& getWorldPosition(void) const; 32 /** 33 Sets the material used for occlusion queries. 34 @remark the material is called "Visibility/QueryMaterial" and 35 uses no lighting, no depth write, and no colours 36 */ 37 void SetOcclusionQueryMaterial(); 38 39 /** Override this method to prevent parent transforms (rotation,translation,scale) 40 */ 41 void getWorldTransforms( Matrix4* xform ) const; 42 /** @copydoc Renderable::getWorldOrientation */ 43 const Quaternion& getWorldOrientation(void) const; 44 /** @copydoc Renderable::getWorldPosition */ 45 const Vector3& getWorldPosition(void) const; 45 46 46 47 48 47 /** Builds the wireframe line list. 48 */ 49 void setupBoundingBoxVertices(const AxisAlignedBox& aab); 49 50 50 51 Real mRadius; 51 52 }; 52 53 -
trunk/VUT/Ogre/include/OgreVisibilityTerrainSceneManager.h
r155 r156 11 11 #include "OgrePlatformQueryManager.h" 12 12 #include "VisibilityManager.h" 13 #include <OgreSolidBoundingBox.h> 14 13 15 14 16 namespace Ogre { … … 123 125 ShadowTechnique mSavedShadowTechnique; 124 126 125 bool mRenderOnlyBoundingBoxes; 127 bool mRenderHierarchyNodes; 128 129 std::vector<SolidBoundingBox *> mSolidBoxes; 126 130 }; 127 131
Note: See TracChangeset
for help on using the changeset viewer.