Index: /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/media/materials/scripts/grass.material
===================================================================
--- /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/media/materials/scripts/grass.material	(revision 1493)
+++ /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/media/materials/scripts/grass.material	(revision 1546)
@@ -17,14 +17,11 @@
 material Examples/GrassBlades
 {
-	lod_distances 800
-
-	technique
+    technique
     {
-		lod_index 0
         pass
         {
-			alpha_rejection greater 150 
-			scene_blend alpha_blend
-		    cull_hardware none
+            transparency_casts_shadows on
+	    alpha_rejection greater 80 
+	    cull_hardware none
             cull_software none
 
@@ -32,25 +29,5 @@
             {  
 				texture little-grass.tga
-				//filtering trilinear
-				filtering none
-            }
-        }
-    } 
-	
-	
-	technique
-    {
-		lod_index 1
-        pass
-        {
-			alpha_rejection greater 150 
-			scene_blend alpha_blend
-		    cull_hardware none
-            cull_software none
-
-            texture_unit
-            {  
-				texture little-grass.tga
-				filtering none
+				filtering trilinear
             }
         }
Index: /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/media/general/v_lighting_indirect_texture_mapping.cg
===================================================================
--- /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/media/general/v_lighting_indirect_texture_mapping.cg	(revision 1493)
+++ /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/media/general/v_lighting_indirect_texture_mapping.cg	(revision 1546)
@@ -40,5 +40,6 @@
     
     // Transform normal from model-space to eye-space.
-    l_Out.normal = normalize(mul(transpose(p_InverseModelView), p_In.normal).xyz);
+    l_Out.normal = mul(p_Model, p_In.normal);
+    l_Out.normal = normalize(mul(transpose(p_InverseModelView), float4(l_Out.normal,1.0)).xyz);
     
     // Light vector.
Index: /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/media/general/f_lighting_indirect_texture_mapping.cg
===================================================================
--- /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/media/general/f_lighting_indirect_texture_mapping.cg	(revision 1493)
+++ /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/media/general/f_lighting_indirect_texture_mapping.cg	(revision 1546)
@@ -5,4 +5,5 @@
   sampler2D sourceTexture : TEXUNIT1;
   sampler2D visibilityTexture : TEXUNIT2;
+  sampler2D noisyTexture : TEXUNIT3;
 
 
@@ -74,5 +75,5 @@
 		float e = lerp(visibility.x, visibility.y, unifcoord.x);
 		float f = lerp(visibility.w, visibility.z, unifcoord.x);
-		float g = clamp(lerp(e, f, unifcoord.y), 0.3, 1.0);
+		float g = 1.0 - clamp(lerp(e, f, unifcoord.y), 0.0, 1.0);
 		ambientColor +=  float3(g, g, g);
 	    }	    
@@ -84,11 +85,13 @@
 
 	    // Angle between normal and light vector
-	    float l_CosNL = saturate(dot(l_Normal, l_LightVector)) + saturate(-dot(l_Normal, l_LightVector));
+	    float l_CosNL = clamp(dot(l_Normal, l_LightVector), 0.0, 1.0);
 
 	    // No light can reach back surfaces...
-	    //if (l_CosNL == 0)
-	    //    discard;
+	    if (l_CosNL == 0)
+	    {
+		l_CosNL = clamp(-dot(l_Normal, l_LightVector), 0.0, 1.0);
+	    }
 	    
-	    l_Out.color.rgb += (p_Diffuse.rgb * diffuseColor.rgb) * p_LightDiffuse.rgb * l_CosNL;
+	    l_Out.color.rgb += (p_Diffuse.rgb * diffuseColor.rgb) * p_LightDiffuse.rgb * l_CosNL + float3(tex2D(noisyTexture,float2(p_In.wposition.x,p_In.wposition.z)/ 10000.0).x * 0.15, tex2D(noisyTexture,float2(p_In.wposition.z,p_In.wposition.x)/10000.0).x * 0.25,0.0);
 	    
 	    // Specular component
@@ -96,5 +99,5 @@
 
 	    // Apply cosine power distribution around mirror direction
-	    float l_CosNH = saturate(dot(l_Normal, l_HalfVector)) + saturate(-dot(l_Normal, l_HalfVector));
+	    float l_CosNH = clamp(dot(l_Normal, l_HalfVector), 0.0, 1.0) + clamp(-dot(l_Normal, l_HalfVector), 0.0, 1.0);
 		
 	    float l_SpecularPower = pow(l_CosNH, p_Specular.a);
@@ -103,5 +106,5 @@
 
 	    // Add specular component
-	    l_Out.color.rgb += l_Specular.rgb;
+	    //l_Out.color.rgb += l_Specular.rgb;
 
 	    // Modulate by light incoming power
Index: /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/include/IndirectTexturing.h
===================================================================
--- /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/include/IndirectTexturing.h	(revision 1493)
+++ /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/include/IndirectTexturing.h	(revision 1546)
@@ -365,4 +365,6 @@
 	Ogre::ConfigFile config;
 	Ogre::String mNumTrees;
+	bool grassEnabled;
+	bool trunkLOD;
 
 	// Just override the mandatory create scene method
@@ -372,4 +374,10 @@
 		config.load("configScene.cfg");
 		mNumTrees = config.getSetting("NumTrees");
+
+		Ogre::String sGrassEnabled = config.getSetting("Grass");
+		grassEnabled = Ogre::StringConverter::parseBool(sGrassEnabled);
+
+		Ogre::String sTrunkLOD = config.getSetting("TrunkLOD");
+		trunkLOD = Ogre::StringConverter::parseBool(sTrunkLOD);
 
 		SceneManager *mSceneMgr = Root::getSingleton().getSceneManager("ExampleSMInstance");
@@ -390,6 +398,6 @@
 		// NVIDIA
 		//mLightComposite->setShadowTexturePixelFormat(PF_FLOAT32_RGBA);
-		mLightComposite->setShadowTextureSize(1024);
-		//mLightComposite->setShadowTextureSize(2048);
+		//mLightComposite->setShadowTextureSize(1024);
+		mLightComposite->setShadowTextureSize(512);
 		mLightComposite->setShadowColour(shadow);
 		//mLightComposite->setAmbientColour(nightLight);
@@ -425,4 +433,13 @@
 		terrain->attachObject(pPlaneEnt);
 		terrain->setPosition(Vector3(0.0,0.0,0.0));
+
+		MeshPtr meshPtr3= (MeshPtr)MeshManager::getSingleton().load("chestnutTrunkLevel3.mesh", 
+			ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME);
+		if (!meshPtr3.isNull())
+		{
+			meshPtr3->createManualLodLevel(500,"chestnutTrunkLevel2.mesh");
+			meshPtr3->createManualLodLevel(1000,"chestnutTrunkLevel1.mesh");
+			meshPtr3->createManualLodLevel(1300,"chestnutTrunkLevel0.mesh");			
+		}
 
 		SceneNode *forestNode = mSceneMgr->getRootSceneNode()->createChildSceneNode("forestNode");
@@ -446,5 +463,5 @@
 			if ((i == 0) || (i == 1) || !(((xPos < 1000) && (xPos > -2000)) && ((zPos < 1000) && (zPos > -2000))))
 			{				
-				Entity *leaves = mSceneMgr->createEntity("leavesNode_" + StringConverter::toString(i),"chestnutLeavesVisibilityBillboardCloudGroupedIndirectTexturingLOD02.mesh");
+				Entity *leaves = mSceneMgr->createEntity("leavesNode_" + StringConverter::toString(i),"chestnutLeavesVisibilityBillboardCloudGroupedIndirectTexturing.mesh");
 				leaves->setCastShadows(true);				
 				SceneNode *leavesNode = forestNode->createChildSceneNode();
@@ -456,8 +473,16 @@
 				SceneNode *trunkNode;
 				Entity* trunk;
-				trunk = mSceneMgr->createEntity("head1_" + StringConverter::toString(i), "chestnutTrunkLevel2.mesh");
-				trunkNode = mSceneMgr->getRootSceneNode()->createChildSceneNode("trunkNode_" + StringConverter::toString(i));
+				if (trunkLOD)
+				{
+					trunk = mSceneMgr->createEntity("head1_" + StringConverter::toString(i), "chestnutTrunkLevel3.mesh");
+					trunkNode = mSceneMgr->getRootSceneNode()->createChildSceneNode("trunkNode_" + StringConverter::toString(i));
+				}
+				else
+				{
+					trunk = mSceneMgr->createEntity("head1_" + StringConverter::toString(i), "chestnutTrunkLevel2.mesh");
+					trunkNode = forestNode->createChildSceneNode();
+				}
 				trunkNode->attachObject(trunk);				
-				trunkNode->setPosition(xPos,120.0,zPos);
+				trunkNode->setPosition(xPos,-100.0,zPos);
 				trunkNode->scale(4.0,4.0,4.0);
 				trunk->setNormaliseNormals(true);
@@ -545,19 +570,22 @@
 		mCamera->setOrientation(Quaternion(0.9296, 0.09672, 0.345428, -0.05414));
 
-		mGrass = new Grass();
-		mGrass->setGrassShadowReceiver(false);
-		mGrass->setGrassScaleRandomRangeMax(Vector3(1.0,1.0,1.0));
-		mGrass->setGrassScaleRandomRangeMin(Vector3(1.0,0.75,1.0));
-		mGrass->setGrassHeight(50.0);
-		mGrass->setGrassWidth(40.0);
-		mGrass->setGrassFrequency(30);
-		mGrass->setGrassInterFrequency(20);
-		mGrass->setGrassMaterial("Examples/GrassBlades");
-		mGrass->setGrassMeshName("grassblades");
-		mGrass->setSceneManager(mSceneMgr);
-		mGrass->setGrassHeightPosition(-100);
-		mGrass->setGrassLandscapeSizeX(4000);
-		mGrass->setGrassLandscapeSizeZ(4000);
-		mGrass->initGrass();
+		if (grassEnabled)
+		{
+			mGrass = new Grass();
+			mGrass->setGrassShadowReceiver(false);
+			mGrass->setGrassScaleRandomRangeMax(Vector3(1.0,1.0,1.0));
+			mGrass->setGrassScaleRandomRangeMin(Vector3(1.0,0.75,1.0));
+			mGrass->setGrassHeight(50.0);
+			mGrass->setGrassWidth(40.0);
+			mGrass->setGrassFrequency(40);
+			mGrass->setGrassInterFrequency(30);
+			mGrass->setGrassMaterial("Examples/GrassBlades");
+			mGrass->setGrassMeshName("grassblades");
+			mGrass->setSceneManager(mSceneMgr);
+			mGrass->setGrassHeightPosition(-100);
+			mGrass->setGrassLandscapeSizeX(6000);
+			mGrass->setGrassLandscapeSizeZ(6000);
+			mGrass->initGrass();
+		}
 
 		SceneNode *targetNode = mSceneMgr->getRootSceneNode()->createChildSceneNode("targetNode");
Index: /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/include/Grass.h
===================================================================
--- /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/include/Grass.h	(revision 1493)
+++ /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/include/Grass.h	(revision 1546)
@@ -355,4 +355,6 @@
 			s->build();
 			mStaticGeom = s;
+
+			setGrassCastShadows(mShadowCaster);
 		}
 
Index: /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/scripts/Demo_IndirectTexturing.vcproj
===================================================================
--- /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/scripts/Demo_IndirectTexturing.vcproj	(revision 1493)
+++ /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/scripts/Demo_IndirectTexturing.vcproj	(revision 1546)
@@ -22,5 +22,5 @@
 				AdditionalOptions="/Zm500 /D &quot;TIXML_USE_STL&quot;"
 				Optimization="0"
-				AdditionalIncludeDirectories="..\include;&quot;$(OGRE_HOME)\include&quot;"
+				AdditionalIncludeDirectories="..\include;&quot;$(OGRE_SDK)\include&quot;"
 				PreprocessorDefinitions="_WINDOWS;_DEBUG;WIN32"
 				BasicRuntimeChecks="3"
@@ -43,5 +43,5 @@
 				LinkIncremental="1"
 				SuppressStartupBanner="TRUE"
-				AdditionalLibraryDirectories="&quot;$(OGRE_HOME)\lib&quot;"
+				AdditionalLibraryDirectories="&quot;$(OGRE_SDK)\lib&quot;"
 				IgnoreDefaultLibraryNames=""
 				GenerateDebugInformation="TRUE"
@@ -91,5 +91,5 @@
 				Optimization="2"
 				InlineFunctionExpansion="1"
-				AdditionalIncludeDirectories="..\include;&quot;$(OGRE_HOME)\include&quot;"
+				AdditionalIncludeDirectories="..\include;&quot;$(OGRE_SDK)\include&quot;"
 				PreprocessorDefinitions="NDEBUG;_WINDOWS;WIN32"
 				StringPooling="TRUE"
@@ -113,5 +113,5 @@
 				LinkIncremental="1"
 				SuppressStartupBanner="TRUE"
-				AdditionalLibraryDirectories="&quot;$(OGRE_HOME)\lib&quot;"
+				AdditionalLibraryDirectories="&quot;$(OGRE_SDK)\lib&quot;"
 				ProgramDatabaseFile="..\bin\$(ConfigurationName)\Demo_IndirectTexturing.pdb"
 				SubSystem="2"
Index: /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/bin/release/Plugins.cfg
===================================================================
--- /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/bin/release/Plugins.cfg	(revision 1493)
+++ /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/bin/release/Plugins.cfg	(revision 1546)
@@ -11,5 +11,5 @@
 Plugin=Plugin_BSPSceneManager
 Plugin=Plugin_CgProgramManager
-Plugin=Plugin_EXRCodec
+#Plugin=Plugin_EXRCodec
 
 
Index: /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/bin/release/configScene.cfg
===================================================================
--- /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/bin/release/configScene.cfg	(revision 1493)
+++ /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/bin/release/configScene.cfg	(revision 1546)
@@ -1,3 +1,5 @@
-NumTrees		500
-MoveSpeed		300
+NumTrees		300
+MoveSpeed		1000
+Grass			yes
+TrunkLOD		yes
 ShadowsEnabled		yes
Index: /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/bin/release/ogre.cfg
===================================================================
--- /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/bin/release/ogre.cfg	(revision 1494)
+++ /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/bin/release/ogre.cfg	(revision 1546)
@@ -7,6 +7,6 @@
 Full Screen=No
 Rendering Device=NVIDIA Quadro FX 4500
-VSync=No
-Video Mode=800 x 600 @ 32-bit colour
+VSync=Yes
+Video Mode=1024 x 768 @ 32-bit colour
 
 [OpenGL Rendering Subsystem]
Index: /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/bin/release/Ogre.log
===================================================================
--- /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/bin/release/Ogre.log	(revision 1494)
+++ /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/bin/release/Ogre.log	(revision 1546)
@@ -1,162 +1,380 @@
-13:04:05: Creating resource group General
-13:04:05: Creating resource group Internal
-13:04:05: Creating resource group Autodetect
-13:04:05: Registering ResourceManager for type Material
-13:04:05: Registering ResourceManager for type Mesh
-13:04:05: Registering ResourceManager for type Skeleton
-13:04:05: MovableObjectFactory for type 'ParticleSystem' registered.
-13:04:05: Loading library OgrePlatform.dll
-13:04:05: OverlayElementFactory for type Panel registered.
-13:04:05: OverlayElementFactory for type BorderPanel registered.
-13:04:05: OverlayElementFactory for type TextArea registered.
-13:04:05: Registering ResourceManager for type Font
-13:04:05: ArchiveFactory for archive type FileSystem registered.
-13:04:05: ArchiveFactory for archive type Zip registered.
-13:04:05: DevIL version: Developer's Image Library (DevIL) 1.6.7 Oct 28 2005
-13:04:05: DevIL image formats: bmp dib cut dcx dds gif hdr ico cur jpg jpe jpeg lif mdl mng jng pcx pic pix png pbm pgm pnm ppm psd pdd psp pxr sgi bw rgb rgba tga vda icb vst tif tiff wal xpm raw 
-13:04:05: Registering ResourceManager for type HighLevelGpuProgram
-13:04:05: Registering ResourceManager for type Compositor
-13:04:05: MovableObjectFactory for type 'Entity' registered.
-13:04:05: MovableObjectFactory for type 'Light' registered.
-13:04:05: MovableObjectFactory for type 'BillboardSet' registered.
-13:04:05: MovableObjectFactory for type 'ManualObject' registered.
-13:04:05: MovableObjectFactory for type 'BillboardChain' registered.
-13:04:05: MovableObjectFactory for type 'RibbonTrail' registered.
-13:04:05: Loading library .\RenderSystem_Direct3D9
-13:04:05: D3D9 : Direct3D9 Rendering Subsystem created.
-13:04:05: D3D9: Driver Detection Starts
-13:04:05: D3D9: Driver Detection Ends
-13:04:05: Loading library .\RenderSystem_GL
-13:04:05: OpenGL Rendering Subsystem created.
-13:04:06: Loading library .\Plugin_ParticleFX
-13:04:06: Particle Emitter Type 'Point' registered
-13:04:06: Particle Emitter Type 'Box' registered
-13:04:06: Particle Emitter Type 'Ellipsoid' registered
-13:04:06: Particle Emitter Type 'Cylinder' registered
-13:04:06: Particle Emitter Type 'Ring' registered
-13:04:06: Particle Emitter Type 'HollowEllipsoid' registered
-13:04:06: Particle Affector Type 'LinearForce' registered
-13:04:06: Particle Affector Type 'ColourFader' registered
-13:04:06: Particle Affector Type 'ColourFader2' registered
-13:04:06: Particle Affector Type 'ColourImage' registered
-13:04:06: Particle Affector Type 'ColourInterpolator' registered
-13:04:06: Particle Affector Type 'Scaler' registered
-13:04:06: Particle Affector Type 'Rotator' registered
-13:04:06: Particle Affector Type 'DirectionRandomiser' registered
-13:04:06: Particle Affector Type 'DeflectorPlane' registered
-13:04:06: Loading library .\Plugin_OctreeSceneManager
-13:04:06: Loading library .\Plugin_BSPSceneManager
-13:04:06: Registering ResourceManager for type BspLevel
-13:04:06: Loading library .\Plugin_CgProgramManager
-13:04:06: Loading library .\Plugin_EXRCodec
-13:04:06: EXRCodec initialised
-13:04:06: *-*-* OGRE Initialising
-13:04:06: *-*-* Version 1.2.1 (Dagon)
-13:04:06: Creating resource group Bootstrap
-13:04:06: Added resource location '../../media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
-13:04:06: Added resource location '../../media' of type 'FileSystem' to resource group 'General'
-13:04:06: Added resource location '../../media/fonts' of type 'FileSystem' to resource group 'General'
-13:04:06: Added resource location '../../media/materials/programs' of type 'FileSystem' to resource group 'General'
-13:04:06: Added resource location '../../media/materials/scripts' of type 'FileSystem' to resource group 'General'
-13:04:06: Added resource location '../../media/materials/textures' of type 'FileSystem' to resource group 'General'
-13:04:06: Added resource location '../../media/models' of type 'FileSystem' to resource group 'General'
-13:04:06: Added resource location '../../media/overlays' of type 'FileSystem' to resource group 'General'
-13:04:06: Added resource location '../../media/particle' of type 'FileSystem' to resource group 'General'
-13:04:06: Added resource location '../../media/gui' of type 'FileSystem' to resource group 'General'
-13:04:06: Added resource location '../../media/chestnut' of type 'FileSystem' to resource group 'General'
-13:04:06: Added resource location '../../media/oldgeneral' of type 'FileSystem' to resource group 'General'
-13:04:06: Added resource location '../../media/general' of type 'FileSystem' to resource group 'General'
-13:04:06: Added resource location '../../media/farm' of type 'FileSystem' to resource group 'General'
-13:04:06: Added resource location '../../media/butterfly' of type 'FileSystem' to resource group 'General'
-13:04:06: Added resource location '../../media/ruin' of type 'FileSystem' to resource group 'General'
-13:04:06: Added resource location '../../media/barrel' of type 'FileSystem' to resource group 'General'
-13:04:06: Added resource location '../../media/scene' of type 'FileSystem' to resource group 'General'
-13:04:06: Added resource location '../../media/general/clouds.zip' of type 'Zip' to resource group 'General'
-13:04:06: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
-13:04:06: D3D9 : RenderSystem Option: Anti aliasing = None
-13:04:06: D3D9 : RenderSystem Option: Floating-point mode = Fastest
-13:04:06: D3D9 : RenderSystem Option: Full Screen = No
-13:04:06: D3D9 : RenderSystem Option: Rendering Device = NVIDIA Quadro FX 4500
-13:04:06: D3D9 : RenderSystem Option: VSync = No
-13:04:06: D3D9 : RenderSystem Option: Video Mode = 1920 x 1200 @ 32-bit colour
-13:04:13: D3D9 : RenderSystem Option: Video Mode = 800 x 600 @ 32-bit colour
-13:04:15: D3D9 : Subsystem Initialising
-13:04:15: D3D9RenderSystem::createRenderWindow "OGRE Render Window", 800x600 windowed  miscParams: FSAA=0 FSAAQuality=0 colourDepth=32 useNVPerfHUD=false vsync=false 
-13:04:15: D3D9 : Created D3D9 Rendering Window 'OGRE Render Window' : 800x600, 32bpp
-13:04:15: D3D9 : WARNING - disabling VSync in windowed mode can cause timing issues at lower frame rates, turn VSync on if you observe this problem.
-13:04:15: Registering ResourceManager for type Texture
-13:04:15: Registering ResourceManager for type GpuProgram
-13:04:15: RenderSystem capabilities
-13:04:15: -------------------------
-13:04:15:  * Hardware generation of mipmaps: yes
-13:04:15:  * Texture blending: yes
-13:04:15:  * Anisotropic texture filtering: yes
-13:04:15:  * Dot product texture operation: yes
-13:04:15:  * Cube mapping: yes
-13:04:15:  * Hardware stencil buffer: yes
-13:04:15:    - Stencil depth: 8
-13:04:15:    - Two sided stencil support: yes
-13:04:15:    - Wrap stencil values: yes
-13:04:15:  * Hardware vertex / index buffers: yes
-13:04:15:  * Vertex programs: yes
-13:04:15:    - Max vertex program version: vs_3_0
-13:04:15:  * Fragment programs: yes
-13:04:15:    - Max fragment program version: ps_3_0
-13:04:15:  * Texture Compression: yes
-13:04:15:    - DXT: yes
-13:04:15:    - VTC: no
-13:04:15:  * Scissor Rectangle: yes
-13:04:15:  * Hardware Occlusion Query: yes
-13:04:15:  * User clip planes: yes
-13:04:15:  * VET_UBYTE4 vertex element type: yes
-13:04:15:  * Infinite far plane projection: yes
-13:04:15:  * Hardware render-to-texture: yes
-13:04:15:  * Floating point textures: yes
-13:04:15:  * Non-power-of-two textures: yes
-13:04:15:  * Volume textures: yes
-13:04:15:  * Multiple Render Targets: 4
-13:04:15:  * Point Sprites: yes
-13:04:15:  * Extended point parameters: yes
-13:04:15:  * Max Point Size: 8192
-13:04:15: ***************************************
-13:04:15: *** D3D9 : Subsystem Initialised OK ***
-13:04:15: ***************************************
-13:04:15: ResourceBackgroundQueue - threading disabled
-13:04:15: Particle Renderer Type 'billboard' registered
-13:04:15: Creating viewport on target 'OGRE Render Window', rendering from camera 'PlayerCam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-13:04:15: Viewport for camera 'PlayerCam', actual dimensions L: 0 T: 0 W: 800 H: 600
-13:04:15: Parsing scripts for resource group Autodetect
-13:04:15: Finished parsing scripts for resource group Autodetect
-13:04:15: Parsing scripts for resource group Bootstrap
-13:04:15: Parsing script OgreCore.material
-13:04:15: Parsing script OgreProfiler.material
-13:04:15: Parsing script Ogre.fontdef
-13:04:15: Parsing script OgreDebugPanel.overlay
-13:04:15: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
-13:04:15: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8B8G8R8,256x256x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
-13:04:15: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
-13:04:15: Font TrebuchetMSBoldusing texture size 512x512
-13:04:15: Info: Freetype returned null for character 160 in font TrebuchetMSBold
-13:04:15: Texture: TrebuchetMSBoldTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
-13:04:15: Texture: ogretext.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
-13:04:15: Parsing script OgreLoadingPanel.overlay
-13:04:15: Finished parsing scripts for resource group Bootstrap
-13:04:15: Parsing scripts for resource group General
-13:04:15: Parsing script Examples.program
-13:04:15: Parsing script impostors_programs.program
-13:04:15: Parsing script general.program
-13:04:15: Parsing script OffsetMapping.material
-13:04:15: Parsing script Example-DynTex.material
-13:04:15: Parsing script Example-Water.material
-13:04:15: Parsing script RZR-002.material
-13:04:15: Parsing script Ogre.material
-13:04:15: Parsing script smoke.material
-13:04:15: Parsing script Examples-Advanced.material
-13:04:15: Parsing script gametools.material
-13:04:15: Parsing script Example.material
-13:04:15: Parsing script grass.material
-13:04:15: Parsing script chesnutTrunk.material
-13:04:15: Parsing script chestnutLeavesMaterial.material
-13:04:15: An exception has been thrown!
+18:59:30: Creating resource group General
+18:59:30: Creating resource group Internal
+18:59:30: Creating resource group Autodetect
+18:59:30: Registering ResourceManager for type Material
+18:59:30: Registering ResourceManager for type Mesh
+18:59:30: Registering ResourceManager for type Skeleton
+18:59:30: MovableObjectFactory for type 'ParticleSystem' registered.
+18:59:30: Loading library OgrePlatform.dll
+18:59:30: OverlayElementFactory for type Panel registered.
+18:59:30: OverlayElementFactory for type BorderPanel registered.
+18:59:30: OverlayElementFactory for type TextArea registered.
+18:59:30: Registering ResourceManager for type Font
+18:59:30: ArchiveFactory for archive type FileSystem registered.
+18:59:30: ArchiveFactory for archive type Zip registered.
+18:59:30: DevIL version: Developer's Image Library (DevIL) 1.6.7 Oct 28 2005
+18:59:30: DevIL image formats: bmp dib cut dcx dds gif hdr ico cur jpg jpe jpeg lif mdl mng jng pcx pic pix png pbm pgm pnm ppm psd pdd psp pxr sgi bw rgb rgba tga vda icb vst tif tiff wal xpm raw 
+18:59:30: Registering ResourceManager for type HighLevelGpuProgram
+18:59:30: Registering ResourceManager for type Compositor
+18:59:30: MovableObjectFactory for type 'Entity' registered.
+18:59:30: MovableObjectFactory for type 'Light' registered.
+18:59:30: MovableObjectFactory for type 'BillboardSet' registered.
+18:59:30: MovableObjectFactory for type 'ManualObject' registered.
+18:59:30: MovableObjectFactory for type 'BillboardChain' registered.
+18:59:30: MovableObjectFactory for type 'RibbonTrail' registered.
+18:59:30: Loading library .\RenderSystem_Direct3D9
+18:59:30: D3D9 : Direct3D9 Rendering Subsystem created.
+18:59:30: D3D9: Driver Detection Starts
+18:59:30: D3D9: Driver Detection Ends
+18:59:30: Loading library .\RenderSystem_GL
+18:59:30: OpenGL Rendering Subsystem created.
+18:59:30: Loading library .\Plugin_ParticleFX
+18:59:30: Particle Emitter Type 'Point' registered
+18:59:30: Particle Emitter Type 'Box' registered
+18:59:30: Particle Emitter Type 'Ellipsoid' registered
+18:59:30: Particle Emitter Type 'Cylinder' registered
+18:59:30: Particle Emitter Type 'Ring' registered
+18:59:30: Particle Emitter Type 'HollowEllipsoid' registered
+18:59:30: Particle Affector Type 'LinearForce' registered
+18:59:30: Particle Affector Type 'ColourFader' registered
+18:59:30: Particle Affector Type 'ColourFader2' registered
+18:59:30: Particle Affector Type 'ColourImage' registered
+18:59:30: Particle Affector Type 'ColourInterpolator' registered
+18:59:30: Particle Affector Type 'Scaler' registered
+18:59:30: Particle Affector Type 'Rotator' registered
+18:59:30: Particle Affector Type 'DirectionRandomiser' registered
+18:59:30: Particle Affector Type 'DeflectorPlane' registered
+18:59:30: Loading library .\Plugin_OctreeSceneManager
+18:59:30: Loading library .\Plugin_BSPSceneManager
+18:59:30: Registering ResourceManager for type BspLevel
+18:59:30: Loading library .\Plugin_CgProgramManager
+18:59:30: *-*-* OGRE Initialising
+18:59:30: *-*-* Version 1.2.3 (Dagon)
+18:59:30: Creating resource group Bootstrap
+18:59:30: Added resource location '../../media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
+18:59:30: Added resource location '../../media' of type 'FileSystem' to resource group 'General'
+18:59:30: Added resource location '../../media/fonts' of type 'FileSystem' to resource group 'General'
+18:59:30: Added resource location '../../media/materials/programs' of type 'FileSystem' to resource group 'General'
+18:59:30: Added resource location '../../media/materials/scripts' of type 'FileSystem' to resource group 'General'
+18:59:30: Added resource location '../../media/materials/textures' of type 'FileSystem' to resource group 'General'
+18:59:30: Added resource location '../../media/models' of type 'FileSystem' to resource group 'General'
+18:59:30: Added resource location '../../media/overlays' of type 'FileSystem' to resource group 'General'
+18:59:30: Added resource location '../../media/particle' of type 'FileSystem' to resource group 'General'
+18:59:30: Added resource location '../../media/gui' of type 'FileSystem' to resource group 'General'
+18:59:30: Added resource location '../../media/chestnut' of type 'FileSystem' to resource group 'General'
+18:59:30: Added resource location '../../media/oldgeneral' of type 'FileSystem' to resource group 'General'
+18:59:30: Added resource location '../../media/general' of type 'FileSystem' to resource group 'General'
+18:59:30: Added resource location '../../media/farm' of type 'FileSystem' to resource group 'General'
+18:59:30: Added resource location '../../media/butterfly' of type 'FileSystem' to resource group 'General'
+18:59:30: Added resource location '../../media/ruin' of type 'FileSystem' to resource group 'General'
+18:59:30: Added resource location '../../media/barrel' of type 'FileSystem' to resource group 'General'
+18:59:30: Added resource location '../../media/scene' of type 'FileSystem' to resource group 'General'
+18:59:30: Added resource location '../../media/general/clouds.zip' of type 'Zip' to resource group 'General'
+18:59:30: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
+18:59:30: D3D9 : RenderSystem Option: Anti aliasing = None
+18:59:30: D3D9 : RenderSystem Option: Floating-point mode = Fastest
+18:59:30: D3D9 : RenderSystem Option: Full Screen = Yes
+18:59:30: D3D9 : RenderSystem Option: Rendering Device = NVIDIA Quadro FX 4500
+18:59:30: D3D9 : RenderSystem Option: VSync = Yes
+18:59:30: D3D9 : RenderSystem Option: Video Mode = 1024 x 768 @ 32-bit colour
+18:59:35: D3D9 : RenderSystem Option: Full Screen = No
+18:59:35: D3D9 : Subsystem Initialising
+18:59:35: D3D9RenderSystem::createRenderWindow "OGRE Render Window", 1024x768 windowed  miscParams: FSAA=0 FSAAQuality=0 colourDepth=32 useNVPerfHUD=false vsync=true 
+18:59:35: D3D9 : Created D3D9 Rendering Window 'OGRE Render Window' : 1024x768, 32bpp
+18:59:35: Registering ResourceManager for type Texture
+18:59:35: Registering ResourceManager for type GpuProgram
+18:59:35: RenderSystem capabilities
+18:59:35: -------------------------
+18:59:35:  * Hardware generation of mipmaps: yes
+18:59:35:  * Texture blending: yes
+18:59:35:  * Anisotropic texture filtering: yes
+18:59:35:  * Dot product texture operation: yes
+18:59:35:  * Cube mapping: yes
+18:59:35:  * Hardware stencil buffer: yes
+18:59:35:    - Stencil depth: 8
+18:59:35:    - Two sided stencil support: yes
+18:59:35:    - Wrap stencil values: yes
+18:59:35:  * Hardware vertex / index buffers: yes
+18:59:35:  * Vertex programs: yes
+18:59:35:    - Max vertex program version: vs_3_0
+18:59:35:  * Fragment programs: yes
+18:59:35:    - Max fragment program version: ps_3_0
+18:59:35:  * Texture Compression: yes
+18:59:35:    - DXT: yes
+18:59:35:    - VTC: no
+18:59:35:  * Scissor Rectangle: yes
+18:59:35:  * Hardware Occlusion Query: yes
+18:59:35:  * User clip planes: yes
+18:59:35:  * VET_UBYTE4 vertex element type: yes
+18:59:35:  * Infinite far plane projection: yes
+18:59:35:  * Hardware render-to-texture: yes
+18:59:35:  * Floating point textures: yes
+18:59:35:  * Non-power-of-two textures: yes
+18:59:35:  * Volume textures: yes
+18:59:35:  * Multiple Render Targets: 4
+18:59:35:  * Point Sprites: yes
+18:59:35:  * Extended point parameters: yes
+18:59:35:  * Max Point Size: 8192
+18:59:35: ***************************************
+18:59:35: *** D3D9 : Subsystem Initialised OK ***
+18:59:35: ***************************************
+18:59:35: ResourceBackgroundQueue - threading disabled
+18:59:35: Particle Renderer Type 'billboard' registered
+18:59:35: Creating viewport on target 'OGRE Render Window', rendering from camera 'PlayerCam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+18:59:35: Viewport for camera 'PlayerCam', actual dimensions L: 0 T: 0 W: 1024 H: 768
+18:59:35: Parsing scripts for resource group Autodetect
+18:59:35: Finished parsing scripts for resource group Autodetect
+18:59:35: Parsing scripts for resource group Bootstrap
+18:59:35: Parsing script OgreCore.material
+18:59:35: Parsing script OgreProfiler.material
+18:59:35: Parsing script Ogre.fontdef
+18:59:35: Parsing script OgreDebugPanel.overlay
+18:59:35: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
+18:59:35: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8B8G8R8,256x256x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
+18:59:35: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
+18:59:35: Font TrebuchetMSBoldusing texture size 512x512
+18:59:35: Info: Freetype returned null for character 160 in font TrebuchetMSBold
+18:59:35: Texture: TrebuchetMSBoldTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
+18:59:35: Texture: ogretext.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
+18:59:35: Parsing script OgreLoadingPanel.overlay
+18:59:35: Finished parsing scripts for resource group Bootstrap
+18:59:35: Parsing scripts for resource group General
+18:59:36: Parsing script Examples.program
+18:59:36: Parsing script impostors_programs.program
+18:59:36: Parsing script general.program
+18:59:36: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named p_LightSpecular. 
+File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: Error at line 145 of general.program: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named p_LightSpecular. 
+File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named p_Specular. 
+File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: Error at line 145 of general.program: Invalid param_named attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named p_Specular. 
+File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: Parsing script OffsetMapping.material
+18:59:36: Parsing script Example-DynTex.material
+18:59:36: Parsing script Example-Water.material
+18:59:36: Parsing script RZR-002.material
+18:59:36: Parsing script Ogre.material
+18:59:36: Parsing script smoke.material
+18:59:36: Parsing script Examples-Advanced.material
+18:59:36: Parsing script gametools.material
+18:59:36: Parsing script Example.material
+18:59:36: Parsing script grass.material
+18:59:36: Error in material Examples/GrassBlades at line 23 of grass.material: Unrecognised command: transparency_casts_shadows
+18:59:36: Parsing script chesnutTrunk.material
+18:59:36: Parsing script chestnutLeavesMaterial32.material
+18:59:36: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named p_LightSpecular. 
+File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: Error in material chestnutLeavesVisibilityBillboardCloudGroupedIndirectTexturingMaterialLOD0 at line 29 of chestnutLeavesMaterial32.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named p_LightSpecular. 
+File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named p_Specular. 
+File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: Error in material chestnutLeavesVisibilityBillboardCloudGroupedIndirectTexturingMaterialLOD0 at line 33 of chestnutLeavesMaterial32.material: Invalid param_named attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named p_Specular. 
+File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named p_LightSpecular. 
+File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: Error in material chestnutLeavesVisibilityBillboardCloudGroupedIndirectTexturingMaterialLOD0 at line 78 of chestnutLeavesMaterial32.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named p_LightSpecular. 
+File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named p_Specular. 
+File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: Error in material chestnutLeavesVisibilityBillboardCloudGroupedIndirectTexturingMaterialLOD0 at line 82 of chestnutLeavesMaterial32.material: Invalid param_named attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named p_Specular. 
+File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named p_LightSpecular. 
+File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: Error in material chestnutLeavesVisibilityBillboardCloudGroupedIndirectTexturingMaterial0_32 at line 130 of chestnutLeavesMaterial32.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named p_LightSpecular. 
+File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named p_Specular. 
+File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: Error in material chestnutLeavesVisibilityBillboardCloudGroupedIndirectTexturingMaterial0_32 at line 134 of chestnutLeavesMaterial32.material: Invalid param_named attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named p_Specular. 
+File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named p_LightSpecular. 
+File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: Error in material chestnutLeavesVisibilityBillboardCloudGroupedIndirectTexturingMaterial0_64 at line 185 of chestnutLeavesMaterial32.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named p_LightSpecular. 
+File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named p_Specular. 
+File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: Error in material chestnutLeavesVisibilityBillboardCloudGroupedIndirectTexturingMaterial0_64 at line 189 of chestnutLeavesMaterial32.material: Invalid param_named attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named p_Specular. 
+File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: An exception has been thrown!
 
 -----------------------------------
@@ -167,7 +385,7 @@
 Description: Cannot find a parameter named eyePosition. 
 File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
-Line: 773
-Stack unwinding: <<beginning of stack>>
-13:04:15: Error in material chestnutLeavesBillboardCloudGroupMaterial0 at line 180 of chestnutLeavesMaterial.material: Invalid param_named_auto attribute - An exception has been thrown!
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: Error in material chestnutLeavesBillboardCloudGroupMaterial0 at line 236 of chestnutLeavesMaterial32.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -178,7 +396,7 @@
 Description: Cannot find a parameter named eyePosition. 
 File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
-Line: 773
-Stack unwinding: <<beginning of stack>>
-13:04:15: An exception has been thrown!
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: An exception has been thrown!
 
 -----------------------------------
@@ -189,7 +407,7 @@
 Description: Cannot find a parameter named eyePosition. 
 File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
-Line: 773
-Stack unwinding: <<beginning of stack>>
-13:04:15: Error in material chestnutLeavesBillboardCloudGroupMaterial0 at line 222 of chestnutLeavesMaterial.material: Invalid param_named_auto attribute - An exception has been thrown!
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: Error in material chestnutLeavesBillboardCloudGroupMaterial0 at line 278 of chestnutLeavesMaterial32.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -200,117 +418,117 @@
 Description: Cannot find a parameter named eyePosition. 
 File: \OgreDev\Dagon\OgreMain\src\OgreGpuProgram.cpp
-Line: 773
-Stack unwinding: <<beginning of stack>>
-13:04:15: Parsing script dynamic_skybox.material
-13:04:15: Parsing script shadoMapImage.material
-13:04:15: Parsing script test_terrain.material
-13:04:15: Parsing script general.material
-13:04:15: Parsing script skybox.material
-13:04:15: Parsing script farm.material
-13:04:15: Parsing script butterfly_bones_animated.material
-13:04:15: Parsing script ruin.material
-13:04:15: Parsing script barrel.material
-13:04:15: Parsing script sample.fontdef
-13:04:15: Bad attribute line: glyph	 	0.152344	0.125	0.160156	0.1875 in font Ogre
-13:04:15: Parsing script smoke.particle
-13:04:15: Parsing script Example-Water.particle
-13:04:15: Parsing script Example.particle
-13:04:15: Parsing script Example-CubeMapping.overlay
-13:04:15: Parsing script Example-DynTex.overlay
-13:04:15: Parsing script DP3.overlay
-13:04:15: Parsing script Shadows.overlay
-13:04:15: Parsing script Example-Water.overlay
-13:04:15: Parsing script gametools.overlay
-13:04:15: Texture: gametoolsVideoPage.png: Loading 1 faces(PF_B8G8R8,1024x768x1) with 10 generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x768x1.
-13:04:16: Parsing script overlay_shadow_map.overlay
-13:04:16: Finished parsing scripts for resource group General
-13:04:16: Parsing scripts for resource group Internal
-13:04:16: Finished parsing scripts for resource group Internal
-13:04:16: WARNING: Texture instance 'Ogre/ShadowTexture0' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
-13:04:16: Creating viewport on target 'rtt/2288448', rendering from camera 'Ogre/ShadowTextureCam0', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-13:04:16: Viewport for camera 'Ogre/ShadowTextureCam0', actual dimensions L: 0 T: 0 W: 512 H: 512
-13:04:16: Render Target 'rtt/2288448' Average FPS: 0 Best FPS: 0 Worst FPS: 999
-13:04:16: WARNING: Texture instance 'Ogre/ShadowTexture0' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
-13:04:16: Creating viewport on target 'rtt/2288448', rendering from camera 'Ogre/ShadowTextureCam0', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-13:04:16: Viewport for camera 'Ogre/ShadowTextureCam0', actual dimensions L: 0 T: 0 W: 512 H: 512
-13:04:16: Render Target 'rtt/2288448' Average FPS: 0 Best FPS: 0 Worst FPS: 999
-13:04:16: WARNING: Texture instance 'Ogre/ShadowTexture0' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
-13:04:16: Creating viewport on target 'rtt/2288448', rendering from camera 'Ogre/ShadowTextureCam0', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-13:04:16: Viewport for camera 'Ogre/ShadowTextureCam0', actual dimensions L: 0 T: 0 W: 1024 H: 1024
-13:04:16: Texture: Clouds_fr.jpg: Loading 1 faces(PF_B8G8R8,1024x1024x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
-13:04:16: Texture: Clouds_bk.jpg: Loading 1 faces(PF_B8G8R8,1024x1024x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
-13:04:16: Texture: Clouds_lf.jpg: Loading 1 faces(PF_B8G8R8,1024x1024x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
-13:04:16: Texture: Clouds_rt.jpg: Loading 1 faces(PF_B8G8R8,1024x1024x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
-13:04:16: Texture: Clouds_up.jpg: Loading 1 faces(PF_B8G8R8,1024x1024x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
-13:04:16: Texture: Clouds_dn.jpg: Loading 1 faces(PF_B8G8R8,1024x1024x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
-13:04:16: Texture: grass2.tga: Loading 1 faces(PF_R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
-13:04:16: Mesh: Loading chestnutLeavesVisibilityBillboardCloudGroupedIndirectTexturingLOD02.mesh.
-13:04:16: Texture: chestnutLeavesVisibilityIndirectDiffuseColorBillboardGroupAtlas0.png: Loading 1 faces(PF_A8B8G8R8,256x256x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
-13:04:16: Texture: chestnutRotatedLeafAtlasDefault.png: Loading 1 faces(PF_A8B8G8R8,1024x1024x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,1024x1024x1.
-13:04:16: Texture: chestnutLeavesVisibilityIndirectBillboardGroupAtlas0.png: Loading 1 faces(PF_A8B8G8R8,256x256x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
-13:04:16: Texture: chestnutRotatedLeafAtlasDefault128.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
-13:04:16: Mesh: Loading chestnutTrunkLevel2.mesh.
-13:04:16: Warning: VET_COLOUR element type is deprecated, you should use one of the more specific types to indicate the byte order. Use OgreMeshUpgrade on chestnutTrunkLevel2.mesh as soon as possible. 
-13:04:16: Texture: castanea_sativa_bark.png: Loading 1 faces(PF_B8G8R8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
-13:04:16: Mesh: Loading ruin.mesh.
-13:04:16: Warning: VET_COLOUR element type is deprecated, you should use one of the more specific types to indicate the byte order. Use OgreMeshUpgrade on ruin.mesh as soon as possible. 
-13:04:16: Texture: RuinT05.tga: Loading 1 faces(PF_R8G8B8,256x256x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
-13:04:16: Texture: RuinT03.tga: Loading 1 faces(PF_R8G8B8,256x256x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
-13:04:16: Mesh: Loading barrel.mesh.
-13:04:16: Texture: old_planks.jpg: Loading 1 faces(PF_B8G8R8,316x316x1) with 8 generated mipmaps from Image. Internal format is PF_X8R8G8B8,316x316x1.
-13:04:16: Mesh: Loading butterfly_bones_animated.mesh.
-13:04:16: Skeleton: Loading butterfly_bones_animated.skeleton
-13:04:16: Texture: BUTTFACE.jpg: Loading 1 faces(PF_B8G8R8,452x453x1) with 8 generated mipmaps from Image. Internal format is PF_X8R8G8B8,452x453x1.
-13:04:17: Texture: BUTTWIFR.jpg: Loading 1 faces(PF_B8G8R8,1218x913x1) with 10 generated mipmaps from Image. Internal format is PF_X8R8G8B8,1218x913x1.
-13:04:17: Texture: BUTTWIBA.jpg: Loading 1 faces(PF_B8G8R8,987x875x1) with 9 generated mipmaps from Image. Internal format is PF_X8R8G8B8,987x875x1.
-13:04:17: Texture: BUTTBODY.jpg: Loading 1 faces(PF_B8G8R8,829x226x1) with 9 generated mipmaps from Image. Internal format is PF_X8R8G8B8,829x226x1.
-13:04:18: Mesh: Loading farm.mesh.
-13:04:18: Texture: D5002WOO.JPG: Loading 1 faces(PF_B8G8R8,200x1024x1) with 10 generated mipmaps from Image. Internal format is PF_X8R8G8B8,200x1024x1.
-13:04:18: Texture: D5002B3NEW.JPG: Loading 1 faces(PF_B8G8R8,886x629x1) with 9 generated mipmaps from Image. Internal format is PF_X8R8G8B8,886x629x1.
-13:04:18: Texture: D5002B4.JPG: Loading 1 faces(PF_B8G8R8,826x31x1) with 9 generated mipmaps from Image. Internal format is PF_X8R8G8B8,826x31x1.
-13:04:18: Texture: D5002WO2.JPG: Loading 1 faces(PF_B8G8R8,200x1024x1) with 10 generated mipmaps from Image. Internal format is PF_X8R8G8B8,200x1024x1.
-13:04:18: Texture: glass.png: Loading 1 faces(PF_A8B8G8R8,10x10x1) with 3 generated mipmaps from Image. Internal format is PF_A8R8G8B8,10x10x1.
-13:04:18: Texture: D5002B3.JPG: Loading 1 faces(PF_B8G8R8,886x629x1) with 9 generated mipmaps from Image. Internal format is PF_X8R8G8B8,886x629x1.
-13:04:18: Texture: D5002M.JPG: Loading 1 faces(PF_B8G8R8,15x699x1) with 9 generated mipmaps from Image. Internal format is PF_X8R8G8B8,15x699x1.
-13:04:18: Mesh: Loading cow.mesh.
-13:04:18: WARNING: Mesh instance 'grassblades' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
-13:04:18: Texture: little-grass.tga: Loading 1 faces(PF_A8R8G8B8,64x64x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x64x1.
-13:04:20: Win32Input8: DirectInput Activation Starts
-13:04:20: Win32Input8: Establishing keyboard input.
-13:04:20: Win32Input8: Keyboard input established.
-13:04:20: Win32Input8: Initializing mouse input in immediate mode.
-13:04:20: Win32Input8: Mouse input in immediate mode initialized.
-13:04:20: Win32Input8: DirectInput OK.
-13:04:20: ********************************
-13:04:20: **     oScene Loader Lib      **
-13:04:20: ********************************
-13:04:20: oSceneLoader: Loading '../../media/scene/scene.OSM' file
-13:04:20: oSceneLoader: Creating scene on 'Root' node
-13:04:20: ********************************
-13:04:20: ** oSceneLoader: Scene loaded **
-13:04:20: ********************************
-13:04:20: Texture: spot_shadow_fade.png: Loading 1 faces(PF_B8G8R8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
-13:04:22: Unregistering ResourceManager for type BspLevel
-13:04:22: Render Target 'rtt/2288448' Average FPS: 13.2827 Best FPS: 13.2827 Worst FPS: 13.2827
-13:04:22: *-*-* OGRE Shutdown
-13:04:22: Unregistering ResourceManager for type Compositor
-13:04:22: Unregistering ResourceManager for type Font
-13:04:22: Unregistering ResourceManager for type Skeleton
-13:04:22: Unregistering ResourceManager for type Mesh
-13:04:22: Unregistering ResourceManager for type HighLevelGpuProgram
-13:04:22: EXRCodec deinitialised
-13:04:22: Unloading library .\Plugin_EXRCodec
-13:04:22: Unloading library .\Plugin_CgProgramManager
-13:04:22: Unloading library .\Plugin_BSPSceneManager
-13:04:22: Unloading library .\Plugin_OctreeSceneManager
-13:04:22: Unloading library .\Plugin_ParticleFX
-13:04:22: *** Stopping Win32GL Subsystem ***
-13:04:22: Unloading library .\RenderSystem_GL
-13:04:22: Render Target 'OGRE Render Window' Average FPS: 13.22 Best FPS: 13.22 Worst FPS: 13.22
-13:04:22: D3D9 : Shutting down cleanly.
-13:04:22: Unregistering ResourceManager for type Texture
-13:04:22: Unregistering ResourceManager for type GpuProgram
-13:04:22: D3D9 : Direct3D9 Rendering Subsystem destroyed.
-13:04:22: Unloading library .\RenderSystem_Direct3D9
-13:04:22: Unregistering ResourceManager for type Material
-13:04:22: Unloading library OgrePlatform.dll
+Line: 776
+Stack unwinding: <<beginning of stack>>
+18:59:36: Parsing script dynamic_skybox.material
+18:59:36: Parsing script shadoMapImage.material
+18:59:36: Parsing script test_terrain.material
+18:59:36: Parsing script general.material
+18:59:36: Parsing script skybox.material
+18:59:36: Parsing script farm.material
+18:59:36: Parsing script butterfly_bones_animated.material
+18:59:36: Parsing script ruin.material
+18:59:36: Parsing script barrel.material
+18:59:36: Parsing script sample.fontdef
+18:59:36: Bad attribute line: glyph	 	0.152344	0.125	0.160156	0.1875 in font Ogre
+18:59:36: Parsing script smoke.particle
+18:59:36: Parsing script Example-Water.particle
+18:59:36: Parsing script Example.particle
+18:59:36: Parsing script Example-CubeMapping.overlay
+18:59:36: Parsing script Example-DynTex.overlay
+18:59:36: Parsing script DP3.overlay
+18:59:36: Parsing script Shadows.overlay
+18:59:36: Parsing script Example-Water.overlay
+18:59:36: Parsing script gametools.overlay
+18:59:36: Texture: gametoolsVideoPage.png: Loading 1 faces(PF_B8G8R8,1024x768x1) with 10 generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x768x1.
+18:59:36: Parsing script overlay_shadow_map.overlay
+18:59:36: Finished parsing scripts for resource group General
+18:59:36: Parsing scripts for resource group Internal
+18:59:36: Finished parsing scripts for resource group Internal
+18:59:36: WARNING: Texture instance 'Ogre/ShadowTexture0' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
+18:59:36: Creating viewport on target 'rtt/2289184', rendering from camera 'Ogre/ShadowTextureCam0', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+18:59:36: Viewport for camera 'Ogre/ShadowTextureCam0', actual dimensions L: 0 T: 0 W: 512 H: 512
+18:59:36: Render Target 'rtt/2289184' Average FPS: 0 Best FPS: 0 Worst FPS: 999
+18:59:36: WARNING: Texture instance 'Ogre/ShadowTexture0' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
+18:59:36: Creating viewport on target 'rtt/2289184', rendering from camera 'Ogre/ShadowTextureCam0', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+18:59:36: Viewport for camera 'Ogre/ShadowTextureCam0', actual dimensions L: 0 T: 0 W: 512 H: 512
+18:59:36: Texture: Clouds_fr.jpg: Loading 1 faces(PF_B8G8R8,1024x1024x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
+18:59:36: Texture: Clouds_bk.jpg: Loading 1 faces(PF_B8G8R8,1024x1024x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
+18:59:36: Texture: Clouds_lf.jpg: Loading 1 faces(PF_B8G8R8,1024x1024x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
+18:59:37: Texture: Clouds_rt.jpg: Loading 1 faces(PF_B8G8R8,1024x1024x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
+18:59:37: Texture: Clouds_up.jpg: Loading 1 faces(PF_B8G8R8,1024x1024x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
+18:59:37: Texture: Clouds_dn.jpg: Loading 1 faces(PF_B8G8R8,1024x1024x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
+18:59:37: Texture: grass2.tga: Loading 1 faces(PF_R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
+18:59:37: Mesh: Loading chestnutTrunkLevel3.mesh.
+18:59:37: Warning: VET_COLOUR element type is deprecated, you should use one of the more specific types to indicate the byte order. Use OgreMeshUpgrade on chestnutTrunkLevel3.mesh as soon as possible. 
+18:59:37: Mesh: Loading chestnutLeavesVisibilityBillboardCloudGroupedIndirectTexturing.mesh.
+18:59:37: Texture: chestnutLeavesVisibilityIndirectDiffuseColorBillboardGroupAtlas0_32.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
+18:59:37: Texture: chestnutRotatedLeafAtlasDefault.png: Loading 1 faces(PF_A8B8G8R8,1024x1024x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,1024x1024x1.
+18:59:37: Texture: chestnutLeavesVisibilityIndirectBillboardGroupAtlas0_32.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
+18:59:37: D3D9 : Loading 2D Texture, image name : 'Random3D.dds' with 2147483647 mip map levels
+18:59:37: Texture: castanea_sativa_bark.png: Loading 1 faces(PF_B8G8R8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
+18:59:37: Mesh: Loading chestnutTrunkLevel2.mesh.
+18:59:37: Warning: VET_COLOUR element type is deprecated, you should use one of the more specific types to indicate the byte order. Use OgreMeshUpgrade on chestnutTrunkLevel2.mesh as soon as possible. 
+18:59:37: Mesh: Loading chestnutTrunkLevel1.mesh.
+18:59:37: Warning: VET_COLOUR element type is deprecated, you should use one of the more specific types to indicate the byte order. Use OgreMeshUpgrade on chestnutTrunkLevel1.mesh as soon as possible. 
+18:59:37: Mesh: Loading chestnutTrunkLevel0.mesh.
+18:59:37: Warning: VET_COLOUR element type is deprecated, you should use one of the more specific types to indicate the byte order. Use OgreMeshUpgrade on chestnutTrunkLevel0.mesh as soon as possible. 
+18:59:37: Mesh: Loading ruin.mesh.
+18:59:37: Warning: VET_COLOUR element type is deprecated, you should use one of the more specific types to indicate the byte order. Use OgreMeshUpgrade on ruin.mesh as soon as possible. 
+18:59:37: Texture: RuinT05.tga: Loading 1 faces(PF_R8G8B8,256x256x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
+18:59:37: Texture: RuinT03.tga: Loading 1 faces(PF_R8G8B8,256x256x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
+18:59:37: Mesh: Loading barrel.mesh.
+18:59:37: Texture: old_planks.jpg: Loading 1 faces(PF_B8G8R8,316x316x1) with 8 generated mipmaps from Image. Internal format is PF_X8R8G8B8,316x316x1.
+18:59:37: Mesh: Loading butterfly_bones_animated.mesh.
+18:59:37: Skeleton: Loading butterfly_bones_animated.skeleton
+18:59:37: Texture: BUTTFACE.jpg: Loading 1 faces(PF_B8G8R8,452x453x1) with 8 generated mipmaps from Image. Internal format is PF_X8R8G8B8,452x453x1.
+18:59:37: Texture: BUTTWIFR.jpg: Loading 1 faces(PF_B8G8R8,1218x913x1) with 10 generated mipmaps from Image. Internal format is PF_X8R8G8B8,1218x913x1.
+18:59:38: Texture: BUTTWIBA.jpg: Loading 1 faces(PF_B8G8R8,987x875x1) with 9 generated mipmaps from Image. Internal format is PF_X8R8G8B8,987x875x1.
+18:59:38: Texture: BUTTBODY.jpg: Loading 1 faces(PF_B8G8R8,829x226x1) with 9 generated mipmaps from Image. Internal format is PF_X8R8G8B8,829x226x1.
+18:59:38: Mesh: Loading farm.mesh.
+18:59:38: Texture: D5002WOO.JPG: Loading 1 faces(PF_B8G8R8,200x1024x1) with 10 generated mipmaps from Image. Internal format is PF_X8R8G8B8,200x1024x1.
+18:59:38: Texture: D5002B3NEW.JPG: Loading 1 faces(PF_B8G8R8,886x629x1) with 9 generated mipmaps from Image. Internal format is PF_X8R8G8B8,886x629x1.
+18:59:38: Texture: D5002B4.JPG: Loading 1 faces(PF_B8G8R8,826x31x1) with 9 generated mipmaps from Image. Internal format is PF_X8R8G8B8,826x31x1.
+18:59:38: Texture: D5002WO2.JPG: Loading 1 faces(PF_B8G8R8,200x1024x1) with 10 generated mipmaps from Image. Internal format is PF_X8R8G8B8,200x1024x1.
+18:59:39: Texture: glass.png: Loading 1 faces(PF_A8B8G8R8,10x10x1) with 3 generated mipmaps from Image. Internal format is PF_A8R8G8B8,10x10x1.
+18:59:39: Texture: D5002B3.JPG: Loading 1 faces(PF_B8G8R8,886x629x1) with 9 generated mipmaps from Image. Internal format is PF_X8R8G8B8,886x629x1.
+18:59:39: Texture: D5002M.JPG: Loading 1 faces(PF_B8G8R8,15x699x1) with 9 generated mipmaps from Image. Internal format is PF_X8R8G8B8,15x699x1.
+18:59:39: Mesh: Loading cow.mesh.
+18:59:39: WARNING: Mesh instance 'grassblades' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
+18:59:39: Texture: little-grass.tga: Loading 1 faces(PF_A8R8G8B8,64x64x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x64x1.
+18:59:41: Win32Input8: DirectInput Activation Starts
+18:59:41: Win32Input8: Establishing keyboard input.
+18:59:41: Win32Input8: Keyboard input established.
+18:59:41: Win32Input8: Initializing mouse input in immediate mode.
+18:59:41: Win32Input8: Mouse input in immediate mode initialized.
+18:59:41: Win32Input8: DirectInput OK.
+18:59:41: ********************************
+18:59:41: **     oScene Loader Lib      **
+18:59:41: ********************************
+18:59:41: oSceneLoader: Loading '../../media/scene/scene.OSM' file
+18:59:41: oSceneLoader: Creating scene on 'Root' node
+18:59:41: ********************************
+18:59:41: ** oSceneLoader: Scene loaded **
+18:59:41: ********************************
+18:59:44: Texture: spot_shadow_fade.png: Loading 1 faces(PF_B8G8R8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
+18:59:46: Unregistering ResourceManager for type BspLevel
+18:59:46: Render Target 'rtt/2289184' Average FPS: 21.5729 Best FPS: 42.8287 Worst FPS: 0.317058
+18:59:46: *-*-* OGRE Shutdown
+18:59:46: Unregistering ResourceManager for type Compositor
+18:59:46: Unregistering ResourceManager for type Font
+18:59:46: Unregistering ResourceManager for type Skeleton
+18:59:46: Unregistering ResourceManager for type Mesh
+18:59:46: Unregistering ResourceManager for type HighLevelGpuProgram
+18:59:46: Unloading library .\Plugin_CgProgramManager
+18:59:46: Unloading library .\Plugin_BSPSceneManager
+18:59:46: Unloading library .\Plugin_OctreeSceneManager
+18:59:46: Unloading library .\Plugin_ParticleFX
+18:59:46: *** Stopping Win32GL Subsystem ***
+18:59:46: Unloading library .\RenderSystem_GL
+18:59:46: Render Target 'OGRE Render Window' Average FPS: 28.12 Best FPS: 55.9441 Worst FPS: 0.296033
+18:59:46: D3D9 : Shutting down cleanly.
+18:59:46: Unregistering ResourceManager for type Texture
+18:59:46: Unregistering ResourceManager for type GpuProgram
+18:59:46: D3D9 : Direct3D9 Rendering Subsystem destroyed.
+18:59:46: Unloading library .\RenderSystem_Direct3D9
+18:59:46: Unregistering ResourceManager for type Material
+18:59:46: Unloading library OgrePlatform.dll
Index: /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/obj/Release/BuildLog.htm
===================================================================
--- /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/obj/Release/BuildLog.htm	(revision 1493)
+++ /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/obj/Release/BuildLog.htm	(revision 1546)
@@ -12,31 +12,31 @@
 </pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2>
 Líneas de comandos
-</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>Creando archivo temporal "l:\isma\IndirectTexturingOGRE14072006\IndirectTexturing\obj\Release\RSP0000DC.rsp" con contenido
+</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>Creando archivo temporal "l:\isma\IBRTreesOGRE\obj\Release\RSP000001.rsp" con contenido
 [
-/O2 /I "..\include" /I "L:\isma\OgreSDK121\include" /D "NDEBUG" /D "_WINDOWS" /D "WIN32" /D "_MBCS" /FD /EHsc /MD /Fp".\..\obj\Release/Demo_SkyPlane.pch" /Fo".\..\obj\Release/" /Fd".\..\obj\Release/" /W3 /c  /D "TIXML_USE_STL"
-\isma\IndirectTexturingOGRE14072006\IndirectTexturing\src\IndirectTexturing.cpp
+/O2 /I "..\include" /I "l:\isma\OgreSDK123\include" /D "NDEBUG" /D "_WINDOWS" /D "WIN32" /D "_MBCS" /FD /EHsc /MD /Fp".\..\obj\Release/Demo_SkyPlane.pch" /Fo".\..\obj\Release/" /Fd".\..\obj\Release/" /W3 /c  /D "TIXML_USE_STL"
+\isma\IBRTreesOGRE\src\IndirectTexturing.cpp
 ]
-Creando línea de comandos "cl.exe @l:\isma\IndirectTexturingOGRE14072006\IndirectTexturing\obj\Release\RSP0000DC.rsp /nologo"
-Creando archivo temporal "l:\isma\IndirectTexturingOGRE14072006\IndirectTexturing\obj\Release\RSP0000DD.rsp" con contenido
+Creando línea de comandos "cl.exe @l:\isma\IBRTreesOGRE\obj\Release\RSP000001.rsp /nologo"
+Creando archivo temporal "l:\isma\IBRTreesOGRE\obj\Release\RSP000002.rsp" con contenido
 [
-/OUT:"..\bin\Release/Demo_IndirectTexturing.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"L:\isma\OgreSDK121\lib" /PDB:"..\bin\Release\Demo_IndirectTexturing.pdb" /SUBSYSTEM:WINDOWS /MACHINE:X86 OgreMain.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
-\isma\IndirectTexturingOGRE14072006\IndirectTexturing\obj\Release\IndirectTexturing.obj
-\isma\IndirectTexturingOGRE14072006\IndirectTexturing\obj\Release\tinyxmlparser.obj
-\isma\IndirectTexturingOGRE14072006\IndirectTexturing\obj\Release\OgreOSMScene.obj
-\isma\IndirectTexturingOGRE14072006\IndirectTexturing\obj\Release\tinystr.obj
-\isma\IndirectTexturingOGRE14072006\IndirectTexturing\obj\Release\tinyxml.obj
-\isma\IndirectTexturingOGRE14072006\IndirectTexturing\obj\Release\tinyxmlerror.obj
+/OUT:"..\bin\Release/Demo_IndirectTexturing.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"l:\isma\OgreSDK123\lib" /PDB:"..\bin\Release\Demo_IndirectTexturing.pdb" /SUBSYSTEM:WINDOWS /MACHINE:X86 OgreMain.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
+\isma\IBRTreesOGRE\obj\Release\IndirectTexturing.obj
+\isma\IBRTreesOGRE\obj\Release\OgreOSMScene.obj
+\isma\IBRTreesOGRE\obj\Release\tinystr.obj
+\isma\IBRTreesOGRE\obj\Release\tinyxml.obj
+\isma\IBRTreesOGRE\obj\Release\tinyxmlerror.obj
+\isma\IBRTreesOGRE\obj\Release\tinyxmlparser.obj
 ]
-Creando línea de comandos "link.exe @l:\isma\IndirectTexturingOGRE14072006\IndirectTexturing\obj\Release\RSP0000DD.rsp"
+Creando línea de comandos "link.exe @l:\isma\IBRTreesOGRE\obj\Release\RSP000002.rsp"
 </pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2>
 Ventana de resultados
 </font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>Compilando...
 IndirectTexturing.cpp
-..\include\IndirectTexturing.h(430) : warning C4018: '<' : no coinciden signed/unsigned
+..\include\IndirectTexturing.h(447) : warning C4018: '<' : no coinciden signed/unsigned
 Vinculando...
 </pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2>
 Resultados
 </font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>
-El registro de generación se guardó en el "file://l:\isma\IndirectTexturingOGRE14072006\IndirectTexturing\obj\Release\BuildLog.htm"
+El registro de generación se guardó en el "file://l:\isma\IBRTreesOGRE\obj\Release\BuildLog.htm"
 Demo_IndirectTexturing - 0 error(es), 1 advertencia(s)</pre></table><table   width=100% height=20 bgcolor=#CFCFE5><tr><td><font face=arial size=+2>
 </font></table></body></html>
Index: /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/obj/Debug/BuildLog.htm
===================================================================
--- /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/obj/Debug/BuildLog.htm	(revision 1493)
+++ /GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/obj/Debug/BuildLog.htm	(revision 1546)
@@ -12,26 +12,26 @@
 </pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2>
 Líneas de comandos
-</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>Creando archivo temporal "l:\isma\IndirectTexturingOGRE14072006\IndirectTexturing\obj\Debug\RSP0000DE.rsp" con contenido
+</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>Creando archivo temporal "l:\isma\IBRTreesOGRE\obj\Debug\RSP000003.rsp" con contenido
 [
-/Od /I "..\include" /I "L:\isma\OgreSDK121\include" /D "_WINDOWS" /D "_DEBUG" /D "WIN32" /D "_MBCS" /FD /EHsc /RTC1 /MDd /Fp".\..\obj\Debug/Demo_SkyPlane.pch" /Fo".\..\obj\Debug/" /Fd".\..\obj\Debug/" /W3 /c /ZI  /Zm500 /D "TIXML_USE_STL"
-\isma\IndirectTexturingOGRE14072006\IndirectTexturing\src\IndirectTexturing.cpp
+/Od /I "..\include" /I "l:\isma\OgreSDK123\include" /D "_WINDOWS" /D "_DEBUG" /D "WIN32" /D "_MBCS" /FD /EHsc /RTC1 /MDd /Fp".\..\obj\Debug/Demo_SkyPlane.pch" /Fo".\..\obj\Debug/" /Fd".\..\obj\Debug/" /W3 /c /ZI  /Zm500 /D "TIXML_USE_STL"
+\isma\IBRTreesOGRE\src\IndirectTexturing.cpp
 ]
-Creando línea de comandos "cl.exe @l:\isma\IndirectTexturingOGRE14072006\IndirectTexturing\obj\Debug\RSP0000DE.rsp /nologo"
-Creando archivo temporal "l:\isma\IndirectTexturingOGRE14072006\IndirectTexturing\obj\Debug\RSP0000DF.rsp" con contenido
+Creando línea de comandos "cl.exe @l:\isma\IBRTreesOGRE\obj\Debug\RSP000003.rsp /nologo"
+Creando archivo temporal "l:\isma\IBRTreesOGRE\obj\Debug\RSP000004.rsp" con contenido
 [
-/OUT:"..\bin\Debug/Demo_IndirectTexturing.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"L:\isma\OgreSDK121\lib" /DEBUG /PDB:"..\bin\Debug\Demo_IndirectTexturing.pdb" /SUBSYSTEM:WINDOWS /MACHINE:X86 OgreMain_d.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
-\isma\IndirectTexturingOGRE14072006\IndirectTexturing\obj\Debug\IndirectTexturing.obj
-\isma\IndirectTexturingOGRE14072006\IndirectTexturing\obj\Debug\tinyxmlparser.obj
-\isma\IndirectTexturingOGRE14072006\IndirectTexturing\obj\Debug\OgreOSMScene.obj
-\isma\IndirectTexturingOGRE14072006\IndirectTexturing\obj\Debug\tinystr.obj
-\isma\IndirectTexturingOGRE14072006\IndirectTexturing\obj\Debug\tinyxml.obj
-\isma\IndirectTexturingOGRE14072006\IndirectTexturing\obj\Debug\tinyxmlerror.obj
+/OUT:"..\bin\Debug/Demo_IndirectTexturing.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"l:\isma\OgreSDK123\lib" /DEBUG /PDB:"..\bin\Debug\Demo_IndirectTexturing.pdb" /SUBSYSTEM:WINDOWS /MACHINE:X86 OgreMain_d.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
+\isma\IBRTreesOGRE\obj\Debug\IndirectTexturing.obj
+\isma\IBRTreesOGRE\obj\Debug\OgreOSMScene.obj
+\isma\IBRTreesOGRE\obj\Debug\tinystr.obj
+\isma\IBRTreesOGRE\obj\Debug\tinyxml.obj
+\isma\IBRTreesOGRE\obj\Debug\tinyxmlerror.obj
+\isma\IBRTreesOGRE\obj\Debug\tinyxmlparser.obj
 ]
-Creando línea de comandos "link.exe @l:\isma\IndirectTexturingOGRE14072006\IndirectTexturing\obj\Debug\RSP0000DF.rsp"
+Creando línea de comandos "link.exe @l:\isma\IBRTreesOGRE\obj\Debug\RSP000004.rsp"
 </pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2>
 Ventana de resultados
 </font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>Compilando...
 IndirectTexturing.cpp
-l:\isma\IndirectTexturingOGRE14072006\IndirectTexturing\include\IndirectTexturing.h(430) : warning C4018: '<' : no coinciden signed/unsigned
+l:\isma\IBRTreesOGRE\include\IndirectTexturing.h(447) : warning C4018: '<' : no coinciden signed/unsigned
 Vinculando...
 LINK : warning LNK4075: se omite '/EDITANDCONTINUE' debido a la especificación '/INCREMENTAL:NO'
@@ -39,5 +39,5 @@
 Resultados
 </font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>
-El registro de generación se guardó en el "file://l:\isma\IndirectTexturingOGRE14072006\IndirectTexturing\obj\Debug\BuildLog.htm"
+El registro de generación se guardó en el "file://l:\isma\IBRTreesOGRE\obj\Debug\BuildLog.htm"
 Demo_IndirectTexturing - 0 error(es), 2 advertencia(s)</pre></table><table   width=100% height=20 bgcolor=#CFCFE5><tr><td><font face=arial size=+2>
 </font></table></body></html>
