Index: trunk/VUT/Ogre/include/OgreVisibilityOctreeSceneManager.h
===================================================================
--- trunk/VUT/Ogre/include/OgreVisibilityOctreeSceneManager.h	(revision 87)
+++ trunk/VUT/Ogre/include/OgreVisibilityOctreeSceneManager.h	(revision 92)
@@ -50,4 +50,7 @@
 	GtpVisibility::VisibilityManager *getVisibilityManager( void );
 
+	//writes out into the Ogre log file
+	void WriteLog();
+
 protected:
 	
Index: trunk/VUT/Ogre/include/OgrePlatformHierarchyInterface.h
===================================================================
--- trunk/VUT/Ogre/include/OgrePlatformHierarchyInterface.h	(revision 86)
+++ trunk/VUT/Ogre/include/OgrePlatformHierarchyInterface.h	(revision 92)
@@ -7,5 +7,6 @@
 #include <OgreRenderSystem.h>
 
-#include "OgreSolidHalfBoundingBox.h"
+//#include "OgreSolidHalfBoundingBox.h"
+#include "OgreSolidBoundingBox.h"
 #include "HierarchyInterface.h"
 #include "OgrePlatformOcclusionQuery.h"
@@ -81,9 +82,12 @@
 	/** Returns pointer to current renderable half bounding box geometry
 	*/
-	SolidHalfBoundingBox *GetSolidHalfBoundingBox();
+	//SolidHalfBoundingBox *GetSolidHalfBoundingBox();
+	/** Returns pointer to current renderable bounding box geometry
+	*/
+	SolidBoundingBox *GetSolidBoundingBox();
 
 	/** one renderable half of an aabb. 
 	*/
-	SolidHalfBoundingBox *mSolidHalfBoundingBox;
+	SolidBoundingBox *mSolidBoundingBox;
 
 	SceneManager *mSceneManager;
Index: trunk/VUT/Ogre/include/OgreSolidHalfBoundingBox.h
===================================================================
--- trunk/VUT/Ogre/include/OgreSolidHalfBoundingBox.h	(revision 86)
+++ trunk/VUT/Ogre/include/OgreSolidHalfBoundingBox.h	(revision 92)
@@ -6,7 +6,7 @@
 namespace Ogre {
 
-/** Allows the rendering of one half of a solid bounding box.
+/** The renderable of one half of a solid bounding box.
     @remarks
-        This class builds a wireframe renderable from a given aabb. A pointer to this class can be
+        This class builds a solid renderable from a given aabb. A pointer to this class can be
 		added to a render queue to display the bounding box of an object.
 */
Index: trunk/VUT/Ogre/include/OgreVisibilityTerrainSceneManager.h
===================================================================
--- trunk/VUT/Ogre/include/OgreVisibilityTerrainSceneManager.h	(revision 87)
+++ trunk/VUT/Ogre/include/OgreVisibilityTerrainSceneManager.h	(revision 92)
@@ -53,6 +53,9 @@
 	GtpVisibility::VisibilityManager *getVisibilityManager();
 	
+	//writes out statis into the Ogre log file
+	void WriteLog();
+
 protected:
-
+	
 	OctreeHierarchyInterface *mHierarchyInterface;
 	GtpVisibility::VisibilityManager *mVisibilityManager;
Index: trunk/VUT/Ogre/include/OgreSolidBoundingBox.h
===================================================================
--- trunk/VUT/Ogre/include/OgreSolidBoundingBox.h	(revision 92)
+++ trunk/VUT/Ogre/include/OgreSolidBoundingBox.h	(revision 92)
@@ -0,0 +1,57 @@
+#ifndef _SolidBoundingBox_H__
+#define _SolidBoundingBox_H__
+
+#include "OgreSimpleRenderable.h"
+
+namespace Ogre {
+
+/** A renderable of a solid bounding box using a material with no depth write,
+	no colors, and no lighting.
+*/
+class SolidBoundingBox : public SimpleRenderable
+{
+public:
+
+	SolidBoundingBox();
+	~SolidBoundingBox();
+	/** Sets up the solid box.
+		@param aab the axis aligned bounding box
+	*/
+	void SetupBoundingBox(const AxisAlignedBox& aabb);
+	
+	/** Builds the wireframe line list.
+		@param aab the axis aligned bounding box for setting up the vertices
+    */
+	void SetupBoundingBoxVertices(const AxisAlignedBox& aab);
+
+	Real getSquaredViewDepth(const Camera* cam) const;
+
+	Real getBoundingRadius(void) const { return mRadius; }
+
+protected:
+		/** 
+			Sets the material used for occlusion queries. 
+			@remark the material is called "OcclusionQuery" and
+			uses no lighting, no depth write, and no colours
+		*/
+		void SetOcclusionQueryMaterial();
+        /** Override this method to prevent parent transforms (rotation,translation,scale)
+        */
+		void getWorldTransforms( Matrix4* xform ) const;
+        /** @copydoc Renderable::getWorldOrientation */
+        const Quaternion& getWorldOrientation(void) const;
+        /** @copydoc Renderable::getWorldPosition */
+        const Vector3& getWorldPosition(void) const;
+		
+        /** Builds the wireframe line list.
+        */
+		void setupBoundingBoxVertices(const AxisAlignedBox& aab);
+
+        Real mRadius;
+};
+
+}// namespace Ogre
+
+#endif // SolidBoundingBox
+
+
