Index: GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/MetalTeapot.material
===================================================================
--- GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/MetalTeapot.material	(revision 1720)
+++ GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/MetalTeapot.material	(revision 1720)
@@ -0,0 +1,59 @@
+
+material MetalTeapot
+{ 
+
+   technique 
+   { 
+      pass 
+      { 
+		IllumTechniques
+		{
+			RenderTechnique ColorCubeMap
+			{
+				update_interval		0
+				distance_calc false
+				face_angle_calc false
+				render		
+			}
+			RenderTechnique DistanceCubeMap
+			{
+				update_interval		0
+				distance_calc true false
+				face_angle_calc true false		
+			}
+		
+		 }
+		 vertex_program_ref GameTools/CubeMap/VertexPrograms/LocalizedVS
+         {       
+            param_named_auto worldViewProj worldviewproj_matrix 
+    	    param_named_auto world world_matrix
+	    
+         } 
+		 fragment_program_ref 	GameTools/CubeMap/FragmentPrograms/LocalizedMetalPS
+         { 
+			param_named_auto cameraPos camera_position
+			//param_named n float3 0.21 0.96 1.17
+			//param_named k float3 4.16 2.57 2.32
+			param_named F0 float3 0.95 0.63 0.54
+			param_named_auto lightPosition light_position 0 
+			
+		} 
+		
+		//Cube map for reflections and refractions	
+		texture_unit
+		{
+			cubic_texture cubemap.jpg combinedUVW
+			tex_address_mode clamp
+			colour_op replace
+		}
+
+		//Cube map of distances
+		texture_unit
+		{
+			cubic_texture cubemap.jpg combinedUVW
+			tex_address_mode clamp
+			colour_op replace
+		}
+	  }
+    }
+}
Index: GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs/MetalTeapot.hlsl
===================================================================
--- GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs/MetalTeapot.hlsl	(revision 1720)
+++ GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs/MetalTeapot.hlsl	(revision 1720)
@@ -0,0 +1,429 @@
+float3 F0;
+
+float4 readCubeMap(samplerCUBE cm, float3 coord)		
+{
+	float4 color = texCUBE( cm, float3(coord.xy, - coord.z) );
+	return color;
+}
+
+float readDistanceCubeMap(samplerCUBE dcm, float3 coord)		
+{
+	float dist = texCUBE(dcm, float3(coord.xy, - coord.z)).r;
+	return dist;
+}
+
+
+
+#define LIN_ITERATIONCOUNT 2
+#define SECANT_ITERATIONCOUNT 2
+/*
+float3 Hit(float3 x, float3 R, samplerCUBE mp, float cameraDistance = 0)
+{
+	R = normalize(R);
+	
+	float3 Ra = abs(R);
+	float3 xa = abs(x);
+	float a = max(max(xa.x,xa.y),xa.z) / 
+			  max(max(Ra.x,Ra.y),Ra.z);
+	
+	bool overshoot = false, undershoot = false;
+	float dp, dl = 0, ppp, llp;
+	float lR = readDistanceCubeMap(mp, R);
+	float3 p = R;
+	
+	float dt = 1.0 / LIN_ITERATIONCOUNT;
+	
+	//linear iteration	
+	float t = 0;
+	while(t < 1.0 && !overshoot)
+	{
+		//if(!overshoot)
+		//{
+			dp = a * t / (1 - t);
+			p = x + R * dp;
+			float dist = readDistanceCubeMap(mp, p);
+			if(dist > 0)
+			{
+				ppp = length(p) / dist;
+				if(ppp < 1)
+				{
+					dl = dp;
+					llp = ppp;		
+					undershoot = true;		
+				}
+				else
+				{
+					if (undershoot) 
+					   overshoot = true;
+				}
+			}
+			else 
+				undershoot = false;
+		//}
+		t += dt;		
+	}
+	
+	if(overshoot)
+	{
+		float dnew;
+		for(int i = 0; i < SECANT_ITERATIONCOUNT; i++ )
+		{
+			dnew = dl + (dp - dl) * (1 - llp) / (ppp - llp);	
+			    
+			p = x + R * dnew;
+			half pppnew = length(p) / readDistanceCubeMap(mp, p);
+			if(pppnew < 1)
+			{
+				llp = pppnew;
+				dl = dnew;
+			}
+			else
+			{
+				ppp = pppnew;
+				dp = dnew;
+			}
+		}	
+	}
+	else
+		p = float3(0,0,0);
+	 
+	return p;
+}
+*/				
+
+float3 Hit( float3 x, float3 R, samplerCUBE mp )
+{
+	return R  + 0.00000000001 * x;
+	float rl = readDistanceCubeMap( mp, R);				// |r|
+	
+	float ppp = length( x ) /  readDistanceCubeMap( mp, x);			// |p|/|p|
+	float dun = 0, pun = ppp, dov = 0, pov = 0;
+	float dl = rl * ( 1 - ppp );							// eq. 2
+	float3 l = x + R * dl;									// ray equation
+
+	// iteration
+	for( int i = 0; i < 2; i++ )	// 2 !!!!!!!!!!!!!!!!!!!!!!!
+	{
+		float llp = length( l ) / readDistanceCubeMap( mp, l);		// |l|/|l|
+		if ( llp < 0.999f )									// undershooting
+		{
+			dun = dl; pun = llp;							// last undershooting
+			dl += ( dov == 0 ) ? rl * ( 1 - llp ) :			// eq. 2
+				( dl - dov ) * ( 1 - llp ) / ( llp - pov );	// eq. 3
+		} else if ( llp > 1.001f )							// overshooting
+		{
+			dov = dl; pov = llp;							// last overshooting
+			dl += ( dl -dun ) * ( 1 - llp ) / ( llp - pun );// eq. 3
+		}
+		l = x + R * dl;										// ray equation
+	}
+	return l;												// computed hit point
+}
+
+void LocalizedVS(float4 position : POSITION,
+		out float3 wPos	: TEXCOORD1,				
+		float2 texCoord : TEXCOORD0,
+		out float2 otexCoord : TEXCOORD0,
+		float3 normal   : NORMAL,
+		out float3 mNormal  : TEXCOORD2,
+		out float4 hPos : POSITION,		
+		uniform float4x4 worldViewProj,
+		uniform float4x4 world)
+{
+ 
+  hPos = mul(worldViewProj, position);
+  wPos = mul(world, position).xyz;  
+  mNormal = normal;
+  otexCoord = texCoord;
+}
+
+//////////////
+//Localized reflection
+//////////////
+void LocalizedPS(  float2 texCoord : TEXCOORD0, 
+		float3 wPos	: TEXCOORD1,	
+		float3 mNormal  : TEXCOORD2,
+		uniform float3 cameraPos,
+		uniform samplerCUBE CubeMap : register(s0),
+		uniform samplerCUBE DistanceMap : register(s1),
+		uniform float3 lastCenter,
+		uniform float3 lightPosition,		
+		out float4 Color :COLOR0)
+{
+	
+	Color = float4(1,1,1,1);
+	
+	mNormal = normalize(mNormal);
+	float3 RR, TT;	
+	float3 mPos = wPos - lastCenter;
+	float3 V = normalize(wPos - cameraPos);
+	float3 R = /*normalize*/(reflect( V, mNormal));
+	
+	float3 T = refract(V, mNormal, 0.9);
+		
+	RR = R;	TT = T;
+	//RR += 0.000001 * lastCenter.x;
+	RR = Hit(mPos, R, DistanceMap);
+	TT = Hit(mPos, T, DistanceMap);
+	
+	float4 reflectcolor = readCubeMap(CubeMap, RR );		
+	float4 refractcolor = readCubeMap(CubeMap, TT );		
+	
+	float cos_theta = -dot(V, mNormal);
+	float sFresnel = 0.1;
+	float F = (sFresnel + pow(1-cos_theta, 5.0f) * (1-sFresnel));
+    
+    float3 L = normalize(lightPosition - wPos);
+	float3 H = normalize(L+V);
+	float4 lighting = lit(dot(mNormal, L),dot(mNormal, H), 30);
+	Color = (F * reflectcolor + (1-F) * refractcolor) + lighting.z;	
+}
+
+
+
+//////////////
+//Metal
+//////////////
+void LocalizedMetalPS(  float2 texCoord : TEXCOORD0, 
+		float3 wPos	: TEXCOORD1,	
+		float3 mNormal  : TEXCOORD2,
+		uniform float3 cameraPos,
+		uniform samplerCUBE CubeMap : register(s0),
+		uniform samplerCUBE DistanceMap : register(s1),
+		uniform float3 lastCenter,
+		uniform float3 lightPosition,				
+		out float4 Color :COLOR0)
+{
+	
+	Color = float4(1,1,1,1);
+	
+	mNormal = normalize(mNormal);
+	float3 newTexCoord;	
+	float3 mPos = wPos - lastCenter;
+	float3 V  = (wPos - cameraPos);
+	float cameraDistace = length(V);
+	V = normalize(V);
+	float3 R = normalize(reflect( V, mNormal));
+		
+	newTexCoord = R;	
+	
+	newTexCoord = Hit(mPos, R, DistanceMap);
+	/*if(dot(newTexCoord,newTexCoord) == 0) 
+		Color = float4(0.5,0.5,0.5,1);
+	else*/
+		Color = readCubeMap(CubeMap, newTexCoord );	
+	
+	float ctheta_in = dot(mNormal,R);
+	float ctheta_out = dot(mNormal,-V);
+
+	float3 F = 0;
+	
+	// F,P,G számítása
+	if ( ctheta_in > 0 && ctheta_out > 0 )
+	{
+		float3 H = normalize(R - V);	// felezõvektor
+		float cbeta  = dot(H,R);		
+		F = F0 + (1-F0)*pow(1-cbeta,5);
+	}	
+	
+	Color = Color * float4(F,1);	
+}
+//////////////
+//PhotonMap
+//////////////
+/*void PhotonMapPS(  float2 texCoord : TEXCOORD0, 
+		float3 wPos	: TEXCOORD1,	
+		float3 mNormal  : TEXCOORD2,
+		uniform float3 cameraPos,
+		uniform samplerCUBE UVMap : register(s0),
+		uniform samplerCUBE DistanceMap : register(s1),
+		uniform float3 lastCenter,
+		out float4 Color :COLOR0)
+{
+	
+	Color = float4(1,1,1,1);
+	
+	mNormal = normalize(mNormal);
+	float3 newTexCoord;	
+	float3 mPos = wPos - lastCenter;
+	float3 V = normalize(wPos - cameraPos);
+	float3 R = normalize(reflect( V, mNormal));
+		
+	newTexCoord = R;	
+	
+	newTexCoord = Hit(mPos, R, DistanceMap);
+	
+	Color = readCubeMap(UVMap, newTexCoord );
+	//Color = float4(1,0,0,1);		
+}*/
+
+float4 PhotonMapCausticPS(  float2 texCoord : TEXCOORD0, 
+		float3 wPos	: TEXCOORD1,	
+		float3 mNormal  : TEXCOORD2,
+		uniform float3 cameraPos,
+		uniform samplerCUBE DistanceMap : register(s0),
+		uniform float3 lastCenter):COLOR0
+{
+	
+	float4 Color = float4(1,1,1,1);
+	
+	mNormal = normalize(mNormal);
+	float3 newTexCoord;	
+	float3 mPos = wPos - lastCenter;
+	float3 V = normalize(wPos - cameraPos);
+		
+	float3 R = refract(V, mNormal, 0.85);		
+	//float3 R = V;	
+	newTexCoord = R;	
+		
+	newTexCoord = Hit(mPos, R, DistanceMap);
+		
+	Color = float4(newTexCoord, 1);
+	
+	//Color = 0.0001 * Color +  float4(0,0,1,1);
+	//Color += 0.0001 * lastCenter.x;
+	if(dot(V,mNormal)>0)
+	{
+		Color = float4(1,0,0,0);		
+	}		
+	return Color;
+}
+
+
+
+/////////////////////
+///// Diffuse
+///////////////////
+
+float4 GetContibution(float3 L, float3 pos, float3 N, float3 V, samplerCUBE SmallEnvMapSampler, samplerCUBE DistanceEnvMapSampler)	// Phong-Blinn
+// L: a hossza lényeges (az egységkocka faláig ér)
+{
+    REDUCED_CUBEMAP_SIZE = 4;
+    
+	float kd = 0.3;	// 0.3
+	float ks = 0;	// 0.5
+	float shininess = 10;
+	
+	float l = length(L);
+	L = normalize(L);
+
+	//dw
+	float dw = 4 / (REDUCED_CUBEMAP_SIZE*REDUCED_CUBEMAP_SIZE*l*l*l + 4/3.1416f);
+	//Lin
+	float4 Lin = readCubeMap(SmallEnvMapSampler, L);
+	//r
+	float doy = readDistanceCubeMap(DistanceEnvMapSampler, L);
+	float dxy = length(L * doy - pos);	
+
+	//dws
+	float dws = (doy*doy * dw) / (dxy*dxy*(1 - dw/3.1416f) + doy*doy*dw/3.1416f);	// localization:
+	//float dws = dw;
+	
+	//L = L * doy - pos;	// L: x->y, az objektumtól induljon, ne a középpontból
+	L = normalize(L);
+	float3 H = normalize(L + V);	// felezõvektor
+
+	float a = kd * max(dot(N,L),0) + 
+			  ks * pow(max(dot(N,H),0), shininess); // diffuse + specular
+
+	// 1.: eddigi
+	//return Lin * a * dws;
+	
+	float ctheta_in = dot(N,L);
+	float ctheta_out = dot(N,V);	
+	
+	return Lin * a * dws;		
+}
+
+void DiffuseVS( float4 position : POSITION,
+                float3 normal : NORMAL,
+                float2 Tex : TEXCOORD0,
+                uniform float4x4 worldViewProj,
+				uniform float4x4 world,
+				//uniform float3 lastCenter,	//LI//
+				out float4 hposition : POSITION,
+                out float2 oTex : TEXCOORD0,
+                out float3 Normal : TEXCOORD1,
+                out float3 pos : TEXCOORD2 )
+{
+	pos = /*lastCenter + 0.01 * */mul( world, position ).xyz;
+	Normal = normal;
+    oTex = Tex;    
+    hposition = mul( worldViewProj, position );
+}
+
+
+float4 DiffusePS( float2 Tex : TEXCOORD0,
+           float3 N : TEXCOORD1,
+           float3 pos : TEXCOORD2,
+           uniform float3 cameraPos,
+           uniform float3 lastCenter,	//LI//
+           uniform samplerCUBE SmallEnvMapSampler : register(s0),
+           uniform samplerCUBE DistanceEnvMapSampler : register(s1)
+            ) : COLOR0
+{
+    REDUCED_CUBEMAP_SIZE = 4;
+	
+    //V = /*-*/normalize( V );
+    float3 V = normalize(pos - cameraPos);	// 
+    N = normalize( N ); 
+	float3 R = reflect(V, N);
+    pos -= lastCenter;
+
+	
+    //return float4(N,1);
+    //return float4(V,1);
+    //return float4(R,1);
+		
+	//return readCubeMap(SmallEnvMapSampler,R);
+	
+    //pos.xy += float2(1.0/LIGHT_TEXTURE_SIZE, -1.0/LIGHT_TEXTURE_SIZE);	// eltolás a pixel/texel középpontba
+    // x, y = -1..1
+    // z = 1
+    
+    float4 intens = 0;
+    /*
+	intens += GetContibution( R, pos, N, V, SmallEnvMapSampler);
+	intens = readCubeMap(SmallEnvMapSampler, R);
+	return intens;*/
+	
+	for (int x = 0; x < REDUCED_CUBEMAP_SIZE; x++)			// az envmap minden texelére
+	 for (int y = 0; y < REDUCED_CUBEMAP_SIZE; y++)
+	//int x = 0;		// az envmap 1 texelére
+	//int y = 0; 
+	//if (x==LIGHT_TEXTURE_SIZE/2 && y==LIGHT_TEXTURE_SIZE/2)
+	 {
+		// intenzitás kiolvasása az adott texelbõl 
+		
+		float2 p, tpos; 
+	    tpos.x = x/(float)REDUCED_CUBEMAP_SIZE;	// 0..1
+	    tpos.y = y/(float)REDUCED_CUBEMAP_SIZE;	// 0..1
+	    tpos.xy += float2(0.5/REDUCED_CUBEMAP_SIZE, 0.5/REDUCED_CUBEMAP_SIZE);	// az adott texel középpont uv koordinátái
+	    
+	    p.x = tpos.x; 
+	    p.y = 1-tpos.y;
+	    p.xy = 2*p.xy - 1;	// -1..1	// az adott texel középpont pozíciója
+	    
+	    float3 L;
+	   
+		L = float3(p.x, p.y, 1);
+		intens += GetContibution( L, pos, N, V, SmallEnvMapSampler, DistanceEnvMapSampler);
+		
+		L = float3(p.x, p.y, -1);
+		intens += GetContibution( L, pos, N, V, SmallEnvMapSampler, DistanceEnvMapSampler);
+		
+		L = float3(p.x, 1, p.y);
+		intens += GetContibution( L, pos, N, V, SmallEnvMapSampler, DistanceEnvMapSampler);
+		
+		L = float3(p.x, -1, p.y);
+		intens += GetContibution( L, pos, N, V, SmallEnvMapSampler, DistanceEnvMapSampler);
+		
+		L = float3(1, p.x, p.y);
+		intens += GetContibution( L, pos, N, V, SmallEnvMapSampler, DistanceEnvMapSampler);
+		
+		L = float3(-1, p.x, p.y);
+		intens += GetContibution( L, pos, N, V, SmallEnvMapSampler, DistanceEnvMapSampler);
+	}
+
+	return intens;
+}
Index: GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs/GameTools_Localized_EnvMap.hlsl
===================================================================
--- GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs/GameTools_Localized_EnvMap.hlsl	(revision 1712)
+++ GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs/GameTools_Localized_EnvMap.hlsl	(revision 1720)
@@ -31,5 +31,5 @@
 {
 	float dist = texCUBE(dcm, float3(coord.xy, - coord.z)).r;
-	//if(dist == 0) dist = 1000; ///sky
+	if(dist == 0) dist = 1000; ///sky
 	return dist;
 }
@@ -37,5 +37,6 @@
 
 
-#define LIN_ITERATIONCOUNT_L0 20
+#define LIN_ITERATIONCOUNT 6
+#define LIN_ITERATIONCOUNT_L0 5
 #define LIN_ITERATIONCOUNT_L1 5
 #define LIN_ITERATIONCOUNT_L2 3
@@ -57,5 +58,4 @@
 	float3 p = R;
 	
-	float LIN_ITERATIONCOUNT = LIN_ITERATIONCOUNT_L0;
 	/*
 	if(cameraDistance < 100)
@@ -73,8 +73,8 @@
 	//linear iteration	
 	float t = 0;
-	while(t < 1.0)
-	{
-		if(!overshoot)
-		{
+	while(t < 1.0 && !overshoot)
+	{
+		//if(!overshoot)
+		//{
 			dp = a * t / (1 - t);
 			p = x + R * dp;
@@ -97,5 +97,5 @@
 			else 
 				undershoot = false;
-		}
+		//}
 		t += dt;		
 	}
@@ -127,44 +127,9 @@
 	return p;
 }
-				
-/*
-float3 Hit(float3 x, float3 R, samplerCUBE mp)
-{
-	R = normalize(R);
-	float3 xNorm = normalize(x);
-	float3 dt = (R - xNorm) / (float) LIN_ITERATIONCOUNT;
-	float dx = length(cross(R,x));
-	
-	float3 pN = normalize(cross(R, xNorm));
-	float3 N = normalize(cross(pN,R));
-	float d = dot(x, N);	
-	
-	float3 under = xNorm * readDistanceCubeMap(mp, x);
-	float3 over = R * readDistanceCubeMap(mp, R);
-	
-	//linear iteration	
-	for(int i = 1; i < LIN_ITERATIONCOUNT; i++)
-	{
-		float3 dir = normalize(xNorm + dt * i);
-		float dist = readDistanceCubeMap( mp, dir);
-		float3 point = dir * dist;
-				
-		if( dot(N, point) > d)//undershooting
-		{
-			under = point;			
-		}
-		else				//overshooting
-		{
-			over = point;			
-			i = LIN_ITERATIONCOUNT;
-		}	
-	}
-	return over;
-}
-*/
-
-/*
+/*			
+
 float3 Hit( float3 x, float3 R, samplerCUBE mp )
 {
+	//return R  + 0.00000000001 * x;
 	float rl = readDistanceCubeMap( mp, R);				// |r|
 	
@@ -175,5 +140,5 @@
 
 	// iteration
-	for( int i = 0; i < SECANT_ITERATIONCOUNT; i++ )
+	for( int i = 0; i < 2; i++ )	// 2 !!!!!!!!!!!!!!!!!!!!!!!
 	{
 		float llp = length( l ) / readDistanceCubeMap( mp, l);		// |l|/|l|
@@ -194,4 +159,34 @@
 */
 
+/*
+float3 Hit( float3 x, float3 R, samplerCUBE mp )
+{
+	float rl = readDistanceCubeMap( mp, R);				// |r|
+	
+	float ppp = length( x ) /  readDistanceCubeMap( mp, x);			// |p|/|p|
+	float dun = 0, pun = ppp, dov = 0, pov = 0;
+	float dl = rl * ( 1 - ppp );							// eq. 2
+	float3 l = x + R * dl;									// ray equation
+
+	// iteration
+	for( int i = 0; i < SECANT_ITERATIONCOUNT; i++ )
+	{
+		float llp = length( l ) / readDistanceCubeMap( mp, l);		// |l|/|l|
+		if ( llp < 0.999f )									// undershooting
+		{
+			dun = dl; pun = llp;							// last undershooting
+			dl += ( dov == 0 ) ? rl * ( 1 - llp ) :			// eq. 2
+				( dl - dov ) * ( 1 - llp ) / ( llp - pov );	// eq. 3
+		} else if ( llp > 1.001f )							// overshooting
+		{
+			dov = dl; pov = llp;							// last overshooting
+			dl += ( dl -dun ) * ( 1 - llp ) / ( llp - pun );// eq. 3
+		}
+		l = x + R * dl;										// ray equation
+	}
+	return l;												// computed hit point
+}
+*/
+
 void LocalizedVS(float4 position : POSITION,
 		out float3 wPos	: TEXCOORD1,				
@@ -280,9 +275,9 @@
 	newTexCoord = R;	
 	
-	newTexCoord = Hit(mPos, R, DistanceMap, cameraDistace);
-	if(dot(newTexCoord,newTexCoord) == 0) 
+	newTexCoord = Hit(mPos, R, DistanceMap);
+	/*if(dot(newTexCoord,newTexCoord) == 0) 
 		Color = float4(0.5,0.5,0.5,1);
-	else
-		Color = readCubeMap(CubeMap, newTexCoord );	
+	else*/
+	Color = readCubeMap(CubeMap, newTexCoord );	
 	
 	float ctheta_in = dot(mNormal,R);
Index: GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/Makefile.in
===================================================================
--- GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/Makefile.in	(revision 1720)
+++ GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/Makefile.in	(revision 1720)
@@ -0,0 +1,484 @@
+# Makefile.in generated by automake 1.7.5 from Makefile.am.
+# @configure_input@
+
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+# Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ../..
+
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+host_triplet = @host@
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BUILD_CEGUI_SAMPLE_FALSE = @BUILD_CEGUI_SAMPLE_FALSE@
+BUILD_CEGUI_SAMPLE_TRUE = @BUILD_CEGUI_SAMPLE_TRUE@
+BUILD_CGPLUGIN_FALSE = @BUILD_CGPLUGIN_FALSE@
+BUILD_CGPLUGIN_TRUE = @BUILD_CGPLUGIN_TRUE@
+BUILD_DX9RENDERSYSTEM_FALSE = @BUILD_DX9RENDERSYSTEM_FALSE@
+BUILD_DX9RENDERSYSTEM_TRUE = @BUILD_DX9RENDERSYSTEM_TRUE@
+BUILD_EXRPLUGIN_FALSE = @BUILD_EXRPLUGIN_FALSE@
+BUILD_EXRPLUGIN_TRUE = @BUILD_EXRPLUGIN_TRUE@
+BUILD_UNIT_TESTS_FALSE = @BUILD_UNIT_TESTS_FALSE@
+BUILD_UNIT_TESTS_TRUE = @BUILD_UNIT_TESTS_TRUE@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CEGUI_CFLAGS = @CEGUI_CFLAGS@
+CEGUI_LIBS = @CEGUI_LIBS@
+CFGTK_DEPS_CFLAGS = @CFGTK_DEPS_CFLAGS@
+CFGTK_DEPS_LIBS = @CFGTK_DEPS_LIBS@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CPPUNIT_CFLAGS = @CPPUNIT_CFLAGS@
+CPPUNIT_CONFIG = @CPPUNIT_CONFIG@
+CPPUNIT_LIBS = @CPPUNIT_LIBS@
+CXX = @CXX@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FT2_CFLAGS = @FT2_CFLAGS@
+FT2_CONFIG = @FT2_CONFIG@
+FT2_LIBS = @FT2_LIBS@
+GLSUPPORT_CFLAGS = @GLSUPPORT_CFLAGS@
+GLSUPPORT_LIBS = @GLSUPPORT_LIBS@
+GL_LIBS = @GL_LIBS@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LEX = @LEX@
+LEXLIB = @LEXLIB@
+LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+OBJEXT = @OBJEXT@
+OGREMAIN_VERSION_INFO = @OGREMAIN_VERSION_INFO@
+OGRE_CFGTK = @OGRE_CFGTK@
+OGRE_CFLAGS = @OGRE_CFLAGS@
+OGRE_GLSUPPORT = @OGRE_GLSUPPORT@
+OGRE_LINUX_FALSE = @OGRE_LINUX_FALSE@
+OGRE_LINUX_TRUE = @OGRE_LINUX_TRUE@
+OGRE_NT_FALSE = @OGRE_NT_FALSE@
+OGRE_NT_TRUE = @OGRE_NT_TRUE@
+OGRE_OSX_FALSE = @OGRE_OSX_FALSE@
+OGRE_OSX_TRUE = @OGRE_OSX_TRUE@
+OGRE_PLATFORM = @OGRE_PLATFORM@
+OPENEXR_CFLAGS = @OPENEXR_CFLAGS@
+OPENEXR_LIBS = @OPENEXR_LIBS@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PLATFORM_CFLAGS = @PLATFORM_CFLAGS@
+PLATFORM_LIBS = @PLATFORM_LIBS@
+PLUGIN_FLAGS = @PLUGIN_FLAGS@
+RANLIB = @RANLIB@
+RC = @RC@
+SDL_CFLAGS = @SDL_CFLAGS@
+SDL_CONFIG = @SDL_CONFIG@
+SDL_LIBS = @SDL_LIBS@
+SET_MAKE = @SET_MAKE@
+SHARED_FLAGS = @SHARED_FLAGS@
+SHELL = @SHELL@
+STLPORT_CFLAGS = @STLPORT_CFLAGS@
+STLPORT_LIBS = @STLPORT_LIBS@
+STRIP = @STRIP@
+USE_DEVIL_FALSE = @USE_DEVIL_FALSE@
+USE_DEVIL_TRUE = @USE_DEVIL_TRUE@
+VERSION = @VERSION@
+YACC = @YACC@
+ZZIPLIB_CFLAGS = @ZZIPLIB_CFLAGS@
+ZZIPLIB_LIBS = @ZZIPLIB_LIBS@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_RANLIB = @ac_ct_RANLIB@
+ac_ct_RC = @ac_ct_RC@
+ac_ct_STRIP = @ac_ct_STRIP@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+datadir = @datadir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+oldincludedir = @oldincludedir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+SUBDIRS = src include
+subdir = Samples/Lighting
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/OgreMain/include/config.h
+CONFIG_CLEAN_FILES =
+DIST_SOURCES =
+
+RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
+	ps-recursive install-info-recursive uninstall-info-recursive \
+	all-recursive install-data-recursive install-exec-recursive \
+	installdirs-recursive install-recursive uninstall-recursive \
+	check-recursive installcheck-recursive
+DIST_COMMON = Makefile.am Makefile.in
+DIST_SUBDIRS = $(SUBDIRS)
+all: all-recursive
+
+.SUFFIXES:
+$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --foreign  Samples/Lighting/Makefile
+Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
+	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+	-rm -f libtool
+uninstall-info-am:
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run `make' without going through this Makefile.
+# To change the values of `make' variables: instead of editing Makefiles,
+# (1) if the variable is set in `config.status', edit `config.status'
+#     (which will cause the Makefiles to be regenerated when you run `make');
+# (2) otherwise, pass the desired values on the `make' command line.
+$(RECURSIVE_TARGETS):
+	@set fnord $$MAKEFLAGS; amf=$$2; \
+	dot_seen=no; \
+	target=`echo $@ | sed s/-recursive//`; \
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  echo "Making $$target in $$subdir"; \
+	  if test "$$subdir" = "."; then \
+	    dot_seen=yes; \
+	    local_target="$$target-am"; \
+	  else \
+	    local_target="$$target"; \
+	  fi; \
+	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	done; \
+	if test "$$dot_seen" = "no"; then \
+	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+	fi; test -z "$$fail"
+
+mostlyclean-recursive clean-recursive distclean-recursive \
+maintainer-clean-recursive:
+	@set fnord $$MAKEFLAGS; amf=$$2; \
+	dot_seen=no; \
+	case "$@" in \
+	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+	  *) list='$(SUBDIRS)' ;; \
+	esac; \
+	rev=''; for subdir in $$list; do \
+	  if test "$$subdir" = "."; then :; else \
+	    rev="$$subdir $$rev"; \
+	  fi; \
+	done; \
+	rev="$$rev ."; \
+	target=`echo $@ | sed s/-recursive//`; \
+	for subdir in $$rev; do \
+	  echo "Making $$target in $$subdir"; \
+	  if test "$$subdir" = "."; then \
+	    local_target="$$target-am"; \
+	  else \
+	    local_target="$$target"; \
+	  fi; \
+	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	done && test -z "$$fail"
+tags-recursive:
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+	done
+ctags-recursive:
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+	done
+
+ETAGS = etags
+ETAGSFLAGS =
+
+CTAGS = ctags
+CTAGSFLAGS =
+
+tags: TAGS
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	if (etags --etags-include --version) >/dev/null 2>&1; then \
+	  include_option=--etags-include; \
+	else \
+	  include_option=--include; \
+	fi; \
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  if test "$$subdir" = .; then :; else \
+	    test -f $$subdir/TAGS && \
+	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
+	  fi; \
+	done; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	     $$tags $$unique
+
+ctags: CTAGS
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+
+top_distdir = ../..
+distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkinstalldirs) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  if test "$$subdir" = .; then :; else \
+	    test -d $(distdir)/$$subdir \
+	    || mkdir $(distdir)/$$subdir \
+	    || exit 1; \
+	    (cd $$subdir && \
+	      $(MAKE) $(AM_MAKEFLAGS) \
+	        top_distdir="$(top_distdir)" \
+	        distdir=../$(distdir)/$$subdir \
+	        distdir) \
+	      || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+check: check-recursive
+all-am: Makefile
+installdirs: installdirs-recursive
+installdirs-am:
+
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-recursive
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-recursive
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-recursive
+
+distclean-am: clean-am distclean-generic distclean-libtool \
+	distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+info: info-recursive
+
+info-am:
+
+install-data-am:
+
+install-exec-am:
+
+install-info: install-info-recursive
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am: uninstall-info-am
+
+uninstall-info: uninstall-info-recursive
+
+.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
+	clean-generic clean-libtool clean-recursive ctags \
+	ctags-recursive distclean distclean-generic distclean-libtool \
+	distclean-recursive distclean-tags distdir dvi dvi-am \
+	dvi-recursive info info-am info-recursive install install-am \
+	install-data install-data-am install-data-recursive \
+	install-exec install-exec-am install-exec-recursive \
+	install-info install-info-am install-info-recursive install-man \
+	install-recursive install-strip installcheck installcheck-am \
+	installdirs installdirs-am installdirs-recursive \
+	maintainer-clean maintainer-clean-generic \
+	maintainer-clean-recursive mostlyclean mostlyclean-generic \
+	mostlyclean-libtool mostlyclean-recursive pdf pdf-am \
+	pdf-recursive ps ps-am ps-recursive tags tags-recursive \
+	uninstall uninstall-am uninstall-info-am \
+	uninstall-info-recursive uninstall-recursive
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Index: GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/include/ReflectionTest.h
===================================================================
--- GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/include/ReflectionTest.h	(revision 1720)
+++ GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/include/ReflectionTest.h	(revision 1720)
@@ -0,0 +1,157 @@
+
+
+
+/*
+-----------------------------------------------------------------------------
+This source file is part of OGRE
+    (Object-oriented Graphics Rendering Engine)
+For the latest info, see http://www.ogre3d.org/
+
+Copyright (c) 2000-2005 The OGRE Team
+Also see acknowledgements in Readme.html
+
+You may use this sample code for anything you like, it is not covered by the
+LGPL like the rest of the engine.
+-----------------------------------------------------------------------------
+*/
+
+/**
+    \file 
+        Lighting.h
+    \brief
+        Shows lighting support in OGRE. Also demonstrates the use of billboards
+        and controllers for automatic time-relative behaviour.
+*/
+
+
+#include "ExampleApplication.h"
+#include "OgreIlluminationManager.h"
+#include "SpriteParticleRenderer.h"
+
+
+// Listener class for frame updates
+class RaytraceDemoListener : public ExampleFrameListener
+{
+protected:
+	unsigned long framecount;
+	
+public:
+    RaytraceDemoListener(RenderWindow* window, Camera* maincam)
+        :ExampleFrameListener(window, maincam) 
+				 
+    {
+		this->mMoveSpeed = 2.0;
+		framecount = 0;		
+    }
+	bool processUnbufferedKeyInput(const FrameEvent& evt)
+    {
+		return ExampleFrameListener::processUnbufferedKeyInput(evt);
+	}
+    bool frameStarted(const FrameEvent& evt)
+    {
+		bool result = ExampleFrameListener::frameStarted(evt);
+		framecount++;
+		return result;     
+    }
+};
+
+/** Application class */
+class RaytraceDemoApplication : public ExampleApplication
+{
+
+public:
+
+
+protected:
+
+	SceneNode* objectNode;
+
+	void createScene(void)
+    {
+
+		OgreIlluminationManager::getSingleton().setMainCamera(mCamera);
+		OgreIlluminationManager::getSingleton().setMainViewport(mWindow->getViewport(0));
+		
+		OgreIlluminationManager::getSingleton().setMaxJoinRadius(420);		
+
+		Root::getSingleton()._setCurrentSceneManager(mSceneMgr);
+
+		mCamera->setPosition(0,1,0);		
+		mCamera->setFOVy(Radian(Degree(80)));
+		mCamera->setFarClipDistance(200);
+		mCamera->setNearClipDistance(0.1);
+
+		OgreIlluminationManager::getSingleton().setFocusingSM(false);
+	   OgreIlluminationManager::getSingleton().setShadowMapSize(512);
+	   OgreIlluminationManager::getSingleton().setBlurShadowMap(true);
+	   OgreIlluminationManager::getSingleton().setShadowMapMaterialName("GameTools/ShadowMapDistance");
+	    mSceneMgr->setAmbientLight(ColourValue(0.505 * 0.2, 0.897 * 0.2, 0.914 * 0.2));
+		
+		SceneNode* rootNode = mSceneMgr->getRootSceneNode();
+
+     	Entity* object = mSceneMgr->createEntity("object", "teapot.mesh");
+		object->setMaterialName("EnvMetals/Gold");
+		objectNode = rootNode->createChildSceneNode();
+		objectNode->attachObject(object);
+		objectNode->scale(0.5,0.5,0.5);
+		objectNode->rotate(Vector3(0,1,0),Radian(Math::PI));
+		objectNode->setPosition(0,1.2,0);
+		objectNode->_updateBounds();
+
+		Entity* room = mSceneMgr->createEntity("scene", "difflab.mesh");
+		//room->setMaterialName("GameTools/Phong");
+		SceneNode* roomNode = rootNode->createChildSceneNode();
+		roomNode->attachObject(room);
+		roomNode->_updateBounds();		
+
+		mSceneMgr->setShadowTechnique(SHADOWTYPE_NONE);
+		Light* redLight1 = mSceneMgr->createLight("RedLight1");
+		redLight1->setType(Light::LT_POINT);
+		redLight1->setCastShadows(false);
+        redLight1->setDiffuseColour(ColourValue(1,0.055, 0.0));
+		redLight1->setPowerScale(1.6);
+		SceneNode* redLightNode1 = rootNode->createChildSceneNode();
+		redLightNode1->setPosition(0.05,2.361,-1.07);
+		redLightNode1->attachObject(redLight1);
+
+		Light* greenLight1 = mSceneMgr->createLight("GreenLight1");
+		greenLight1->setType(Light::LT_POINT);
+		greenLight1->setCastShadows(false);
+        greenLight1->setDiffuseColour(ColourValue(0.362,0.783, 0.685));
+		greenLight1->setPowerScale(2.0);
+		SceneNode* greenLightNode1 = rootNode->createChildSceneNode();
+		greenLightNode1->setPosition(1.312,1.313,0);
+		greenLightNode1->attachObject(greenLight1); 
+
+		Light* mainBlueLight = mSceneMgr->createLight("MainBlueLight");
+		mainBlueLight->setType(Light::LT_SPOTLIGHT);
+		mainBlueLight->setCastShadows(true);
+        mainBlueLight->setDiffuseColour(ColourValue(0.395,0.766, 1.0));
+		mainBlueLight->setPowerScale(5.0);
+		mainBlueLight->setSpotlightRange(Degree(0),Degree(160));
+		mainBlueLight->setAttenuation(2.5, 0, 1, 0);
+		SceneNode* mainBlueLightNode = rootNode->createChildSceneNode();
+		mainBlueLightNode->setPosition(-0.546,2.095,1.035);
+		//mainBlueLightNode->rotate(Vector3::UNIT_X, Degree(161.396));
+		//mainBlueLightNode->rotate(Vector3::UNIT_Y, Degree(53.955));
+		//mainBlueLightNode->rotate(Vector3::UNIT_Z, Degree(-145.065));
+		mainBlueLight->setDirection(-1.5,-2.0,1.0);
+		mainBlueLightNode->attachObject(mainBlueLight); 
+
+		OgreIlluminationManager::getSingleton().initTechniques();
+
+   }
+
+	void createFrameListener(void)
+    {
+		// This is where we instantiate our own frame listener
+		mFrameListener= new RaytraceDemoListener(mWindow, mCamera);
+		mFrameListener->setPriority(1);
+		OgreIlluminationManager::getSingleton().setPriority(2);
+		mRoot->addFrameListener(mFrameListener);
+		mRoot->addFrameListener(&OgreIlluminationManager::getSingleton());
+
+    }
+
+};
+
Index: GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/include/Makefile.in
===================================================================
--- GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/include/Makefile.in	(revision 1720)
+++ GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/include/Makefile.in	(revision 1720)
@@ -0,0 +1,386 @@
+# Makefile.in generated by automake 1.7.5 from Makefile.am.
+# @configure_input@
+
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+# Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ../../..
+
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+host_triplet = @host@
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BUILD_CEGUI_SAMPLE_FALSE = @BUILD_CEGUI_SAMPLE_FALSE@
+BUILD_CEGUI_SAMPLE_TRUE = @BUILD_CEGUI_SAMPLE_TRUE@
+BUILD_CGPLUGIN_FALSE = @BUILD_CGPLUGIN_FALSE@
+BUILD_CGPLUGIN_TRUE = @BUILD_CGPLUGIN_TRUE@
+BUILD_DX9RENDERSYSTEM_FALSE = @BUILD_DX9RENDERSYSTEM_FALSE@
+BUILD_DX9RENDERSYSTEM_TRUE = @BUILD_DX9RENDERSYSTEM_TRUE@
+BUILD_EXRPLUGIN_FALSE = @BUILD_EXRPLUGIN_FALSE@
+BUILD_EXRPLUGIN_TRUE = @BUILD_EXRPLUGIN_TRUE@
+BUILD_UNIT_TESTS_FALSE = @BUILD_UNIT_TESTS_FALSE@
+BUILD_UNIT_TESTS_TRUE = @BUILD_UNIT_TESTS_TRUE@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CEGUI_CFLAGS = @CEGUI_CFLAGS@
+CEGUI_LIBS = @CEGUI_LIBS@
+CFGTK_DEPS_CFLAGS = @CFGTK_DEPS_CFLAGS@
+CFGTK_DEPS_LIBS = @CFGTK_DEPS_LIBS@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CPPUNIT_CFLAGS = @CPPUNIT_CFLAGS@
+CPPUNIT_CONFIG = @CPPUNIT_CONFIG@
+CPPUNIT_LIBS = @CPPUNIT_LIBS@
+CXX = @CXX@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FT2_CFLAGS = @FT2_CFLAGS@
+FT2_CONFIG = @FT2_CONFIG@
+FT2_LIBS = @FT2_LIBS@
+GLSUPPORT_CFLAGS = @GLSUPPORT_CFLAGS@
+GLSUPPORT_LIBS = @GLSUPPORT_LIBS@
+GL_LIBS = @GL_LIBS@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LEX = @LEX@
+LEXLIB = @LEXLIB@
+LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+OBJEXT = @OBJEXT@
+OGREMAIN_VERSION_INFO = @OGREMAIN_VERSION_INFO@
+OGRE_CFGTK = @OGRE_CFGTK@
+OGRE_CFLAGS = @OGRE_CFLAGS@
+OGRE_GLSUPPORT = @OGRE_GLSUPPORT@
+OGRE_LINUX_FALSE = @OGRE_LINUX_FALSE@
+OGRE_LINUX_TRUE = @OGRE_LINUX_TRUE@
+OGRE_NT_FALSE = @OGRE_NT_FALSE@
+OGRE_NT_TRUE = @OGRE_NT_TRUE@
+OGRE_OSX_FALSE = @OGRE_OSX_FALSE@
+OGRE_OSX_TRUE = @OGRE_OSX_TRUE@
+OGRE_PLATFORM = @OGRE_PLATFORM@
+OPENEXR_CFLAGS = @OPENEXR_CFLAGS@
+OPENEXR_LIBS = @OPENEXR_LIBS@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PLATFORM_CFLAGS = @PLATFORM_CFLAGS@
+PLATFORM_LIBS = @PLATFORM_LIBS@
+PLUGIN_FLAGS = @PLUGIN_FLAGS@
+RANLIB = @RANLIB@
+RC = @RC@
+SDL_CFLAGS = @SDL_CFLAGS@
+SDL_CONFIG = @SDL_CONFIG@
+SDL_LIBS = @SDL_LIBS@
+SET_MAKE = @SET_MAKE@
+SHARED_FLAGS = @SHARED_FLAGS@
+SHELL = @SHELL@
+STLPORT_CFLAGS = @STLPORT_CFLAGS@
+STLPORT_LIBS = @STLPORT_LIBS@
+STRIP = @STRIP@
+USE_DEVIL_FALSE = @USE_DEVIL_FALSE@
+USE_DEVIL_TRUE = @USE_DEVIL_TRUE@
+VERSION = @VERSION@
+YACC = @YACC@
+ZZIPLIB_CFLAGS = @ZZIPLIB_CFLAGS@
+ZZIPLIB_LIBS = @ZZIPLIB_LIBS@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_RANLIB = @ac_ct_RANLIB@
+ac_ct_RC = @ac_ct_RC@
+ac_ct_STRIP = @ac_ct_STRIP@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+datadir = @datadir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+oldincludedir = @oldincludedir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+noinst_HEADERS = Lighting.h
+subdir = Samples/Lighting/include
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/OgreMain/include/config.h
+CONFIG_CLEAN_FILES =
+DIST_SOURCES =
+HEADERS = $(noinst_HEADERS)
+
+DIST_COMMON = $(noinst_HEADERS) Makefile.am Makefile.in
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --foreign  Samples/Lighting/include/Makefile
+Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
+	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+	-rm -f libtool
+uninstall-info-am:
+
+ETAGS = etags
+ETAGSFLAGS =
+
+CTAGS = ctags
+CTAGSFLAGS =
+
+tags: TAGS
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	     $$tags $$unique
+
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+
+top_distdir = ../../..
+distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkinstalldirs) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+check: check-am
+all-am: Makefile $(HEADERS)
+
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+
+distclean-am: clean-am distclean-generic distclean-libtool \
+	distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+	clean-libtool ctags distclean distclean-generic \
+	distclean-libtool distclean-tags distdir dvi dvi-am info \
+	info-am install install-am install-data install-data-am \
+	install-exec install-exec-am install-info install-info-am \
+	install-man install-strip installcheck installcheck-am \
+	installdirs maintainer-clean maintainer-clean-generic \
+	mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
+	ps ps-am tags uninstall uninstall-am uninstall-info-am
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Index: GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/include/Makefile.am
===================================================================
--- GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/include/Makefile.am	(revision 1720)
+++ GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/include/Makefile.am	(revision 1720)
@@ -0,0 +1,1 @@
+noinst_HEADERS = Lighting.h
Index: GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/scripts/ReflectionTest.dsp
===================================================================
--- GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/scripts/ReflectionTest.dsp	(revision 1720)
+++ GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/scripts/ReflectionTest.dsp	(revision 1720)
@@ -0,0 +1,114 @@
+# Microsoft Developer Studio Project File - Name="Demo_Lighting" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Application" 0x0101
+
+CFG=Demo_Lighting - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE 
+!MESSAGE NMAKE /f "Demo_Lighting.mak".
+!MESSAGE 
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE 
+!MESSAGE NMAKE /f "Demo_Lighting.mak" CFG="Demo_Lighting - Win32 Debug"
+!MESSAGE 
+!MESSAGE Possible choices for configuration are:
+!MESSAGE 
+!MESSAGE "Demo_Lighting - Win32 Release" (based on "Win32 (x86) Application")
+!MESSAGE "Demo_Lighting - Win32 Debug" (based on "Win32 (x86) Application")
+!MESSAGE 
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+MTL=midl.exe
+RSC=rc.exe
+
+!IF  "$(CFG)" == "Demo_Lighting - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "..\bin\Release"
+# PROP BASE Intermediate_Dir "..\obj\Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "..\bin\Release"
+# PROP Intermediate_Dir "..\obj\Release"
+# PROP Ignore_Export_Lib 1
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /c
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\include" /I "..\..\Common\include" /I "..\..\..\OgreMain\include" /D "NDEBUG" /D "_MBCS" /D "_WINDOWS" /D "WIN32" /YX /FD /c
+# SUBTRACT CPP /Fr
+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD BASE RSC /l 0x809 /d "NDEBUG"
+# ADD RSC /l 0x809 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib OgreMain.lib /nologo /subsystem:windows /machine:I386 /out:"../../Common/Bin/Release/Demo_Lighting.exe" /libpath:"..\..\..\OgreMain\lib\release"
+# SUBTRACT LINK32 /profile /debug
+
+!ELSEIF  "$(CFG)" == "Demo_Lighting - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "..\bin\Debug"
+# PROP BASE Intermediate_Dir "..\obj\Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "..\bin\Debug"
+# PROP Intermediate_Dir "..\obj\Debug"
+# PROP Ignore_Export_Lib 1
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /GZ /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\include" /I "..\..\Common\include" /I "..\..\..\OgreMain\include" /D "_MBCS" /D "_WINDOWS" /D "_DEBUG" /D "WIN32" /FD /GZ /Zm500 /c
+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
+# ADD BASE RSC /l 0x809 /d "_DEBUG"
+# ADD RSC /l 0x809 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib OgreMain_d.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"LIBCMT" /out:"../../Common/Bin/Debug/Demo_Lighting.exe" /pdbtype:sept /libpath:"..\..\..\OgreMain\lib\debug"
+# SUBTRACT LINK32 /verbose
+
+!ENDIF 
+
+# Begin Target
+
+# Name "Demo_Lighting - Win32 Release"
+# Name "Demo_Lighting - Win32 Debug"
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+# Begin Source File
+
+SOURCE=..\src\Lighting.cpp
+# End Source File
+# End Group
+# Begin Group "Header Files"
+
+# PROP Default_Filter "h;hpp;hxx;hm;inl"
+# Begin Source File
+
+SOURCE=..\include\Lighting.h
+# End Source File
+# End Group
+# Begin Group "Resource Files"
+
+# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
+# End Group
+# End Target
+# End Project
Index: GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/scripts/ReflectionTest.vcproj
===================================================================
--- GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/scripts/ReflectionTest.vcproj	(revision 1720)
+++ GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/scripts/ReflectionTest.vcproj	(revision 1720)
@@ -0,0 +1,233 @@
+<?xml version="1.0" encoding="windows-1250"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="8,00"
+	Name="ReflectionTest"
+	ProjectGUID="{945CF851-1CE7-469B-AB24-82A7C12C7170}"
+	RootNamespace="GameToolsRaytraceDemo"
+	Keyword="Win32Proj"
+	>
+	<Platforms>
+		<Platform
+			Name="Win32"
+		/>
+	</Platforms>
+	<ToolFiles>
+	</ToolFiles>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="..\bin\$(ConfigurationName)"
+			IntermediateDirectory="..\obj\$(ConfigurationName)"
+			ConfigurationType="1"
+			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+			CharacterSet="2"
+			>
+			<Tool
+				Name="VCPreBuildEventTool"
+			/>
+			<Tool
+				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"
+			/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"
+			/>
+			<Tool
+				Name="VCMIDLTool"
+			/>
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="0"
+				AdditionalIncludeDirectories="..\include;&quot;$(OGRE_PATH)\Samples\Common\include&quot;;&quot;$(OGRE_PATH)\OgreMain\include&quot;;..\..\..\..\..\..\..\Lib\Illum\IllumModule\OgreIllumModule\include;..\..\..\..\..\..\..\Lib\Illum\IllumModule\OgreIllumModule\include\RenderTechniques;..\..\..\..\..\..\..\Lib\Illum\IllumModule\OgreIllumModule\include\RenderingRuns;..\..\..\..\..\..\..\Lib\Illum\IllumModule\IllumModule\include\RenderTechniques;..\..\..\..\..\..\..\Lib\Illum\IllumModule\IllumModule\include;..\..\..\..\..\..\..\Lib\Illum\IllumModule\IllumModule\include\RenderingRuns"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;GAMETOOLS_ILLUMINATION_MODULE"
+				MinimalRebuild="true"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="3"
+				EnableFunctionLevelLinking="true"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				Detect64BitPortabilityProblems="true"
+				DebugInformationFormat="4"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="OgreMain_d.lib IllumModule_Ogre.lib IllumModule.lib"
+				OutputFile="$(OutDir)/GameToolsRaytraceDemo.exe"
+				LinkIncremental="2"
+				AdditionalLibraryDirectories="..\..\..\..\..\..\..\Lib\Illum\IllumModule\OgreIllumModule\bin\Debug;&quot;$(OGRE_PATH)\OgreMain\lib\$(ConfigurationName)&quot;;..\..\..\..\..\..\..\Lib\Illum\IllumModule\IllumModule\bin\Debug"
+				IgnoreDefaultLibraryNames=""
+				GenerateDebugInformation="true"
+				ProgramDatabaseFile="$(OutDir)/proba.pdb"
+				SubSystem="2"
+				OptimizeForWindows98="1"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCWebDeploymentTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+				CommandLine="copy $(OutDir)\$(TargetFileName) ..\..\..\bin\$(ConfigurationName)"
+			/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="..\bin\$(ConfigurationName)"
+			IntermediateDirectory="..\obj\$(ConfigurationName)"
+			ConfigurationType="1"
+			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+			CharacterSet="2"
+			WholeProgramOptimization="1"
+			>
+			<Tool
+				Name="VCPreBuildEventTool"
+			/>
+			<Tool
+				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"
+			/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"
+			/>
+			<Tool
+				Name="VCMIDLTool"
+			/>
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="2"
+				InlineFunctionExpansion="1"
+				EnableIntrinsicFunctions="true"
+				FavorSizeOrSpeed="1"
+				OmitFramePointers="true"
+				EnableFiberSafeOptimizations="false"
+				AdditionalIncludeDirectories="..\include;&quot;$(OGRE_PATH)\Samples\Common\include&quot;;&quot;$(OGRE_PATH)\OgreMain\include&quot;;..\..\..\..\..\..\..\Lib\Illum\IllumModule\OgreIllumModule\include;..\..\..\..\..\..\..\Lib\Illum\IllumModule\OgreIllumModule\include\RenderTechniques;..\..\..\..\..\..\..\Lib\Illum\IllumModule\OgreIllumModule\include\RenderingRuns;..\..\..\..\..\..\..\Lib\Illum\IllumModule\IllumModule\include\RenderTechniques;..\..\..\..\..\..\..\Lib\Illum\IllumModule\IllumModule\include;..\..\..\..\..\..\..\Lib\Illum\IllumModule\IllumModule\include\RenderingRuns"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;GAMETOOLS_ILLUMINATION_MODULE"
+				StringPooling="true"
+				MinimalRebuild="true"
+				RuntimeLibrary="2"
+				BufferSecurityCheck="false"
+				EnableFunctionLevelLinking="true"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				Detect64BitPortabilityProblems="true"
+				DebugInformationFormat="3"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="OgreMain.lib IllumModule_Ogre.lib IllumModule.lib"
+				OutputFile="$(OutDir)/GameToolsRaytraceDemo.exe"
+				LinkIncremental="1"
+				AdditionalLibraryDirectories="..\..\..\..\..\..\..\Lib\Illum\IllumModule\OgreIllumModule\bin\Release;&quot;$(OGRE_PATH)\OgreMain\lib\$(ConfigurationName)&quot;;..\..\..\..\..\..\..\Lib\Illum\IllumModule\IllumModule\bin\Release"
+				GenerateDebugInformation="false"
+				SubSystem="2"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				OptimizeForWindows98="1"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCWebDeploymentTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+				CommandLine="copy $(OutDir)\$(TargetFileName) ..\..\..\bin\$(ConfigurationName)"
+			/>
+		</Configuration>
+	</Configurations>
+	<References>
+	</References>
+	<Files>
+		<Filter
+			Name="Source Files"
+			Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm"
+			>
+			<File
+				RelativePath="..\src\ReflectionTest.cpp"
+				>
+			</File>
+		</Filter>
+		<Filter
+			Name="Header Files"
+			Filter="h;hpp;hxx;hm;inl;inc"
+			>
+			<File
+				RelativePath="..\include\ReflectionTest.h"
+				>
+			</File>
+		</Filter>
+		<Filter
+			Name="Resource Files"
+			Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
+			>
+			<File
+				RelativePath="..\..\..\Media\materials\programs\MetalTeapot.hlsl"
+				>
+			</File>
+			<File
+				RelativePath="..\..\..\Media\materials\scripts\MetalTeapot.material"
+				>
+			</File>
+		</Filter>
+	</Files>
+	<Globals>
+	</Globals>
+</VisualStudioProject>
Index: GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/src/Makefile.in
===================================================================
--- GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/src/Makefile.in	(revision 1720)
+++ GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/src/Makefile.in	(revision 1720)
@@ -0,0 +1,473 @@
+# Makefile.in generated by automake 1.7.5 from Makefile.am.
+# @configure_input@
+
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+# Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ../../..
+
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+host_triplet = @host@
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BUILD_CEGUI_SAMPLE_FALSE = @BUILD_CEGUI_SAMPLE_FALSE@
+BUILD_CEGUI_SAMPLE_TRUE = @BUILD_CEGUI_SAMPLE_TRUE@
+BUILD_CGPLUGIN_FALSE = @BUILD_CGPLUGIN_FALSE@
+BUILD_CGPLUGIN_TRUE = @BUILD_CGPLUGIN_TRUE@
+BUILD_DX9RENDERSYSTEM_FALSE = @BUILD_DX9RENDERSYSTEM_FALSE@
+BUILD_DX9RENDERSYSTEM_TRUE = @BUILD_DX9RENDERSYSTEM_TRUE@
+BUILD_EXRPLUGIN_FALSE = @BUILD_EXRPLUGIN_FALSE@
+BUILD_EXRPLUGIN_TRUE = @BUILD_EXRPLUGIN_TRUE@
+BUILD_UNIT_TESTS_FALSE = @BUILD_UNIT_TESTS_FALSE@
+BUILD_UNIT_TESTS_TRUE = @BUILD_UNIT_TESTS_TRUE@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CEGUI_CFLAGS = @CEGUI_CFLAGS@
+CEGUI_LIBS = @CEGUI_LIBS@
+CFGTK_DEPS_CFLAGS = @CFGTK_DEPS_CFLAGS@
+CFGTK_DEPS_LIBS = @CFGTK_DEPS_LIBS@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CPPUNIT_CFLAGS = @CPPUNIT_CFLAGS@
+CPPUNIT_CONFIG = @CPPUNIT_CONFIG@
+CPPUNIT_LIBS = @CPPUNIT_LIBS@
+CXX = @CXX@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FT2_CFLAGS = @FT2_CFLAGS@
+FT2_CONFIG = @FT2_CONFIG@
+FT2_LIBS = @FT2_LIBS@
+GLSUPPORT_CFLAGS = @GLSUPPORT_CFLAGS@
+GLSUPPORT_LIBS = @GLSUPPORT_LIBS@
+GL_LIBS = @GL_LIBS@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LEX = @LEX@
+LEXLIB = @LEXLIB@
+LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+OBJEXT = @OBJEXT@
+OGREMAIN_VERSION_INFO = @OGREMAIN_VERSION_INFO@
+OGRE_CFGTK = @OGRE_CFGTK@
+OGRE_CFLAGS = @OGRE_CFLAGS@
+OGRE_GLSUPPORT = @OGRE_GLSUPPORT@
+OGRE_LINUX_FALSE = @OGRE_LINUX_FALSE@
+OGRE_LINUX_TRUE = @OGRE_LINUX_TRUE@
+OGRE_NT_FALSE = @OGRE_NT_FALSE@
+OGRE_NT_TRUE = @OGRE_NT_TRUE@
+OGRE_OSX_FALSE = @OGRE_OSX_FALSE@
+OGRE_OSX_TRUE = @OGRE_OSX_TRUE@
+OGRE_PLATFORM = @OGRE_PLATFORM@
+OPENEXR_CFLAGS = @OPENEXR_CFLAGS@
+OPENEXR_LIBS = @OPENEXR_LIBS@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PLATFORM_CFLAGS = @PLATFORM_CFLAGS@
+PLATFORM_LIBS = @PLATFORM_LIBS@
+PLUGIN_FLAGS = @PLUGIN_FLAGS@
+RANLIB = @RANLIB@
+RC = @RC@
+SDL_CFLAGS = @SDL_CFLAGS@
+SDL_CONFIG = @SDL_CONFIG@
+SDL_LIBS = @SDL_LIBS@
+SET_MAKE = @SET_MAKE@
+SHARED_FLAGS = @SHARED_FLAGS@
+SHELL = @SHELL@
+STLPORT_CFLAGS = @STLPORT_CFLAGS@
+STLPORT_LIBS = @STLPORT_LIBS@
+STRIP = @STRIP@
+USE_DEVIL_FALSE = @USE_DEVIL_FALSE@
+USE_DEVIL_TRUE = @USE_DEVIL_TRUE@
+VERSION = @VERSION@
+YACC = @YACC@
+ZZIPLIB_CFLAGS = @ZZIPLIB_CFLAGS@
+ZZIPLIB_LIBS = @ZZIPLIB_LIBS@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_RANLIB = @ac_ct_RANLIB@
+ac_ct_RC = @ac_ct_RC@
+ac_ct_STRIP = @ac_ct_STRIP@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+datadir = @datadir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+oldincludedir = @oldincludedir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+INCLUDES = $(STLPORT_CFLAGS) -I$(top_srcdir)/Samples/Lighting/include -I$(top_srcdir)/OgreMain/include -I$(top_srcdir)/Samples/Common/include
+
+noinst_PROGRAMS = Lighting
+
+Lighting_SOURCES = Lighting.cpp
+Lighting_LDFLAGS = -L$(top_builddir)/OgreMain/src
+Lighting_LDADD = -lOgreMain
+subdir = Samples/Lighting/src
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/OgreMain/include/config.h
+CONFIG_CLEAN_FILES =
+noinst_PROGRAMS = Lighting$(EXEEXT)
+PROGRAMS = $(noinst_PROGRAMS)
+
+am_Lighting_OBJECTS = Lighting.$(OBJEXT)
+Lighting_OBJECTS = $(am_Lighting_OBJECTS)
+Lighting_DEPENDENCIES =
+
+DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/OgreMain/include
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/Lighting.Po
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CXXFLAGS) $(CXXFLAGS)
+CXXLD = $(CXX)
+CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+DIST_SOURCES = $(Lighting_SOURCES)
+DIST_COMMON = Makefile.am Makefile.in
+SOURCES = $(Lighting_SOURCES)
+
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .cpp .lo .o .obj
+$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --foreign  Samples/Lighting/src/Makefile
+Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
+	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+
+clean-noinstPROGRAMS:
+	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
+	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+	  echo " rm -f $$p $$f"; \
+	  rm -f $$p $$f ; \
+	done
+Lighting$(EXEEXT): $(Lighting_OBJECTS) $(Lighting_DEPENDENCIES) 
+	@rm -f Lighting$(EXEEXT)
+	$(CXXLINK) $(Lighting_LDFLAGS) $(Lighting_OBJECTS) $(Lighting_LDADD) $(LIBS)
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT) core *.core
+
+distclean-compile:
+	-rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Lighting.Po@am__quote@
+
+distclean-depend:
+	-rm -rf ./$(DEPDIR)
+
+.cpp.o:
+@am__fastdepCXX_TRUE@	if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
+@am__fastdepCXX_TRUE@	  -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
+@am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
+@am__fastdepCXX_TRUE@	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
+@am__fastdepCXX_TRUE@	fi
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+
+.cpp.obj:
+@am__fastdepCXX_TRUE@	if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
+@am__fastdepCXX_TRUE@	  -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
+@am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
+@am__fastdepCXX_TRUE@	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
+@am__fastdepCXX_TRUE@	fi
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
+
+.cpp.lo:
+@am__fastdepCXX_TRUE@	if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
+@am__fastdepCXX_TRUE@	  -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
+@am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
+@am__fastdepCXX_TRUE@	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
+@am__fastdepCXX_TRUE@	fi
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(LTCXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+	-rm -f libtool
+uninstall-info-am:
+
+ETAGS = etags
+ETAGSFLAGS =
+
+CTAGS = ctags
+CTAGSFLAGS =
+
+tags: TAGS
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	     $$tags $$unique
+
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+
+top_distdir = ../../..
+distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkinstalldirs) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+check: check-am
+all-am: Makefile $(PROGRAMS)
+
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
+	mostlyclean-am
+
+distclean: distclean-am
+
+distclean-am: clean-am distclean-compile distclean-depend \
+	distclean-generic distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-exec-am: install-exec-local
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+	clean-libtool clean-noinstPROGRAMS ctags distclean \
+	distclean-compile distclean-depend distclean-generic \
+	distclean-libtool distclean-tags distdir dvi dvi-am info \
+	info-am install install-am install-data install-data-am \
+	install-exec install-exec-am install-exec-local install-info \
+	install-info-am install-man install-strip installcheck \
+	installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+	tags uninstall uninstall-am uninstall-info-am
+
+
+install-exec-local:
+	$(INSTALL_PROGRAM) .libs/Lighting $(top_builddir)/Samples/Common/bin/Lighting
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Index: GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/src/Makefile.am
===================================================================
--- GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/src/Makefile.am	(revision 1720)
+++ GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/src/Makefile.am	(revision 1720)
@@ -0,0 +1,10 @@
+INCLUDES = $(STLPORT_CFLAGS) -I$(top_srcdir)/Samples/Lighting/include -I$(top_srcdir)/OgreMain/include -I$(top_srcdir)/Samples/Common/include
+
+noinst_PROGRAMS = Lighting
+
+Lighting_SOURCES = Lighting.cpp
+Lighting_LDFLAGS = -L$(top_builddir)/OgreMain/src
+Lighting_LDADD = -lOgreMain
+
+install-exec-local:
+	$(INSTALL_PROGRAM) .libs/Lighting $(top_builddir)/Samples/Common/bin/Lighting
Index: GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/src/ReflectionTest.cpp
===================================================================
--- GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/src/ReflectionTest.cpp	(revision 1720)
+++ GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/src/ReflectionTest.cpp	(revision 1720)
@@ -0,0 +1,62 @@
+/*
+-----------------------------------------------------------------------------
+This source file is part of OGRE
+    (Object-oriented Graphics Rendering Engine)
+For the latest info, see http://www.ogre3d.org/
+
+Copyright (c) 2000-2005 The OGRE Team
+Also see acknowledgements in Readme.html
+
+You may use this sample code for anything you like, it is not covered by the
+LGPL like the rest of the engine.
+-----------------------------------------------------------------------------
+*/
+
+/**
+    \file 
+        Lighting.cpp
+    \brief
+        Shows lighting support in OGRE.
+*/
+
+
+
+#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
+#define WIN32_LEAN_AND_MEAN
+#include "windows.h"
+#endif
+
+#include "ReflectionTest.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+
+#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
+INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT )
+#else
+int main(int argc, char **argv)
+#endif
+{
+
+    // Create application object
+    RaytraceDemoApplication app;
+
+    try {
+        app.go();
+    } catch( Ogre::Exception& e ) {
+#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
+        MessageBox( NULL, e.getFullDescription().c_str(), "An exception has occured!", MB_OK | MB_ICONERROR | MB_TASKMODAL);
+#else
+        std::cerr << "An exception has occured: " << e.getFullDescription();
+#endif
+    }
+
+    return 0;
+}
+
+#ifdef __cplusplus
+}
+#endif
Index: GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/Makefile.am
===================================================================
--- GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/Makefile.am	(revision 1720)
+++ GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/Makefile.am	(revision 1720)
@@ -0,0 +1,1 @@
+SUBDIRS = src include
Index: GTP/trunk/App/Demos/Illum/Ogre/bin/Release/Ogre.log
===================================================================
--- GTP/trunk/App/Demos/Illum/Ogre/bin/Release/Ogre.log	(revision 1712)
+++ GTP/trunk/App/Demos/Illum/Ogre/bin/Release/Ogre.log	(revision 1720)
@@ -1,137 +1,137 @@
-17:35:17: Creating resource group General
-17:35:17: Creating resource group Internal
-17:35:17: Creating resource group Autodetect
-17:35:17: Registering ResourceManager for type Material
-17:35:17: Registering ResourceManager for type Mesh
-17:35:17: Registering ResourceManager for type Skeleton
-17:35:17: MovableObjectFactory for type 'ParticleSystem' registered.
-17:35:17: Loading library OgrePlatform.dll
-17:35:17: OverlayElementFactory for type Panel registered.
-17:35:17: OverlayElementFactory for type BorderPanel registered.
-17:35:17: OverlayElementFactory for type TextArea registered.
-17:35:17: Registering ResourceManager for type Font
-17:35:17: ArchiveFactory for archive type FileSystem registered.
-17:35:17: ArchiveFactory for archive type Zip registered.
-17:35:17: DevIL version: Developer's Image Library (DevIL) 1.6.7 Oct 28 2005
-17:35:17: 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 
-17:35:17: Registering ResourceManager for type HighLevelGpuProgram
-17:35:17: Registering ResourceManager for type Compositor
-17:35:17: MovableObjectFactory for type 'Entity' registered.
-17:35:17: MovableObjectFactory for type 'Light' registered.
-17:35:17: MovableObjectFactory for type 'BillboardSet' registered.
-17:35:17: MovableObjectFactory for type 'ManualObject' registered.
-17:35:17: MovableObjectFactory for type 'BillboardChain' registered.
-17:35:17: MovableObjectFactory for type 'RibbonTrail' registered.
-17:35:17: Loading library .\RenderSystem_Direct3D9
-17:35:17: D3D9 : Direct3D9 Rendering Subsystem created.
-17:35:17: D3D9: Driver Detection Starts
-17:35:17: D3D9: Driver Detection Ends
-17:35:17: Loading library .\Plugin_ParticleFX
-17:35:17: Particle Emitter Type 'Point' registered
-17:35:17: Particle Emitter Type 'Box' registered
-17:35:17: Particle Emitter Type 'Ellipsoid' registered
-17:35:17: Particle Emitter Type 'Cylinder' registered
-17:35:17: Particle Emitter Type 'Ring' registered
-17:35:17: Particle Emitter Type 'HollowEllipsoid' registered
-17:35:17: Particle Affector Type 'LinearForce' registered
-17:35:17: Particle Affector Type 'ColourFader' registered
-17:35:17: Particle Affector Type 'ColourFader2' registered
-17:35:17: Particle Affector Type 'ColourImage' registered
-17:35:17: Particle Affector Type 'ColourInterpolator' registered
-17:35:17: Particle Affector Type 'Scaler' registered
-17:35:17: Particle Affector Type 'Rotator' registered
-17:35:17: Particle Affector Type 'DirectionRandomiser' registered
-17:35:17: Particle Affector Type 'DeflectorPlane' registered
-17:35:17: Loading library .\Plugin_BSPSceneManager
-17:35:17: Registering ResourceManager for type BspLevel
-17:35:17: Loading library .\Plugin_OctreeSceneManager
-17:35:17: Loading library .\Plugin_CgProgramManager
-17:35:17: *-*-* OGRE Initialising
-17:35:17: *-*-* Version 1.2.0 (Dagon)
-17:35:17: Creating resource group Bootstrap
-17:35:17: Added resource location '../../Media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
-17:35:17: Added resource location '../../Media' of type 'FileSystem' to resource group 'General'
-17:35:17: Added resource location '../../Media/fonts' of type 'FileSystem' to resource group 'General'
-17:35:17: Added resource location '../../Media/materials/programs' of type 'FileSystem' to resource group 'General'
-17:35:17: Added resource location '../../Media/materials/scripts' of type 'FileSystem' to resource group 'General'
-17:35:17: Added resource location '../../Media/materials/textures' of type 'FileSystem' to resource group 'General'
-17:35:17: Added resource location '../../Media/models' of type 'FileSystem' to resource group 'General'
-17:35:17: Added resource location '../../Media/overlays' of type 'FileSystem' to resource group 'General'
-17:35:17: Added resource location '../../Media/particle' of type 'FileSystem' to resource group 'General'
-17:35:17: Added resource location '../../Media/gui' of type 'FileSystem' to resource group 'General'
-17:35:17: Added resource location '../../Media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
-17:35:17: Added resource location '../../Media/packs/smokealphaclip.zip' of type 'Zip' to resource group 'General'
-17:35:17: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
-17:35:17: D3D9 : RenderSystem Option: Anti aliasing = None
-17:35:17: D3D9 : RenderSystem Option: Floating-point mode = Fastest
-17:35:17: D3D9 : RenderSystem Option: Full Screen = No
-17:35:17: D3D9 : RenderSystem Option: Rendering Device = NVIDIA GeForce 7950 GX2
-17:35:17: D3D9 : RenderSystem Option: VSync = No
-17:35:17: D3D9 : RenderSystem Option: Video Mode = 800 x 600 @ 32-bit colour
-17:35:18: D3D9 : Subsystem Initialising
-17:35:18: D3D9RenderSystem::createRenderWindow "OGRE Render Window", 800x600 windowed  miscParams: FSAA=0 FSAAQuality=0 colourDepth=32 useNVPerfHUD=false vsync=false 
-17:35:18: D3D9 : Created D3D9 Rendering Window 'OGRE Render Window' : 800x600, 32bpp
-17:35:18: D3D9 : WARNING - disabling VSync in windowed mode can cause timing issues at lower frame rates, turn VSync on if you observe this problem.
-17:35:18: Registering ResourceManager for type Texture
-17:35:18: Registering ResourceManager for type GpuProgram
-17:35:18: RenderSystem capabilities
-17:35:18: -------------------------
-17:35:18:  * Hardware generation of mipmaps: yes
-17:35:18:  * Texture blending: yes
-17:35:18:  * Anisotropic texture filtering: yes
-17:35:18:  * Dot product texture operation: yes
-17:35:18:  * Cube mapping: yes
-17:35:18:  * Hardware stencil buffer: yes
-17:35:18:    - Stencil depth: 8
-17:35:18:    - Two sided stencil support: yes
-17:35:18:    - Wrap stencil values: yes
-17:35:18:  * Hardware vertex / index buffers: yes
-17:35:18:  * Vertex programs: yes
-17:35:18:    - Max vertex program version: vs_3_0
-17:35:18:  * Fragment programs: yes
-17:35:18:    - Max fragment program version: ps_3_0
-17:35:18:  * Texture Compression: yes
-17:35:18:    - DXT: yes
-17:35:18:    - VTC: no
-17:35:18:  * Scissor Rectangle: yes
-17:35:18:  * Hardware Occlusion Query: yes
-17:35:18:  * User clip planes: yes
-17:35:18:  * VET_UBYTE4 vertex element type: yes
-17:35:18:  * Infinite far plane projection: yes
-17:35:18:  * Hardware render-to-texture: yes
-17:35:18:  * Floating point textures: yes
-17:35:18:  * Non-power-of-two textures: yes
-17:35:18:  * Volume textures: yes
-17:35:18:  * Multiple Render Targets: 4
-17:35:18:  * Max Point Size: 8192
-17:35:18: ***************************************
-17:35:18: *** D3D9 : Subsystem Initialised OK ***
-17:35:18: ***************************************
-17:35:18: ResourceBackgroundQueue - threading disabled
-17:35:18: Particle Renderer Type 'billboard' registered
-17:35:18: Particle Renderer Type 'sprite' registered
-17:35:18: 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
-17:35:18: Viewport for camera 'PlayerCam', actual dimensions L: 0 T: 0 W: 800 H: 600
-17:35:18: Parsing scripts for resource group Autodetect
-17:35:18: Finished parsing scripts for resource group Autodetect
-17:35:18: Parsing scripts for resource group Bootstrap
-17:35:18: Parsing script OgreCore.material
-17:35:18: Parsing script OgreProfiler.material
-17:35:18: Parsing script Ogre.fontdef
-17:35:18: Parsing script OgreDebugPanel.overlay
-17:35:18: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
-17:35:18: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8B8G8R8,256x256x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
-17:35:18: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
-17:35:18: Font TrebuchetMSBoldusing texture size 512x512
-17:35:18: Info: Freetype returned null for character 160 in font TrebuchetMSBold
-17:35:18: Texture: TrebuchetMSBoldTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
-17:35:18: Texture: ogretext.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
-17:35:18: Parsing script OgreLoadingPanel.overlay
-17:35:18: Finished parsing scripts for resource group Bootstrap
-17:35:18: Parsing scripts for resource group General
-17:35:18: Parsing script GameTools.program
-17:35:18: Parsing script atlascube.material
-17:35:18: Parsing script difflab.material
-17:35:19: An exception has been thrown!
+14:25:18: Creating resource group General
+14:25:18: Creating resource group Internal
+14:25:18: Creating resource group Autodetect
+14:25:18: Registering ResourceManager for type Material
+14:25:18: Registering ResourceManager for type Mesh
+14:25:18: Registering ResourceManager for type Skeleton
+14:25:18: MovableObjectFactory for type 'ParticleSystem' registered.
+14:25:18: Loading library OgrePlatform.dll
+14:25:18: OverlayElementFactory for type Panel registered.
+14:25:18: OverlayElementFactory for type BorderPanel registered.
+14:25:18: OverlayElementFactory for type TextArea registered.
+14:25:18: Registering ResourceManager for type Font
+14:25:18: ArchiveFactory for archive type FileSystem registered.
+14:25:18: ArchiveFactory for archive type Zip registered.
+14:25:18: DevIL version: Developer's Image Library (DevIL) 1.6.7 Oct 28 2005
+14:25:18: 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 
+14:25:18: Registering ResourceManager for type HighLevelGpuProgram
+14:25:18: Registering ResourceManager for type Compositor
+14:25:18: MovableObjectFactory for type 'Entity' registered.
+14:25:18: MovableObjectFactory for type 'Light' registered.
+14:25:18: MovableObjectFactory for type 'BillboardSet' registered.
+14:25:18: MovableObjectFactory for type 'ManualObject' registered.
+14:25:18: MovableObjectFactory for type 'BillboardChain' registered.
+14:25:18: MovableObjectFactory for type 'RibbonTrail' registered.
+14:25:18: Loading library .\RenderSystem_Direct3D9
+14:25:18: D3D9 : Direct3D9 Rendering Subsystem created.
+14:25:18: D3D9: Driver Detection Starts
+14:25:18: D3D9: Driver Detection Ends
+14:25:18: Loading library .\Plugin_ParticleFX
+14:25:18: Particle Emitter Type 'Point' registered
+14:25:18: Particle Emitter Type 'Box' registered
+14:25:18: Particle Emitter Type 'Ellipsoid' registered
+14:25:18: Particle Emitter Type 'Cylinder' registered
+14:25:18: Particle Emitter Type 'Ring' registered
+14:25:18: Particle Emitter Type 'HollowEllipsoid' registered
+14:25:18: Particle Affector Type 'LinearForce' registered
+14:25:18: Particle Affector Type 'ColourFader' registered
+14:25:18: Particle Affector Type 'ColourFader2' registered
+14:25:18: Particle Affector Type 'ColourImage' registered
+14:25:18: Particle Affector Type 'ColourInterpolator' registered
+14:25:18: Particle Affector Type 'Scaler' registered
+14:25:18: Particle Affector Type 'Rotator' registered
+14:25:18: Particle Affector Type 'DirectionRandomiser' registered
+14:25:18: Particle Affector Type 'DeflectorPlane' registered
+14:25:18: Loading library .\Plugin_BSPSceneManager
+14:25:18: Registering ResourceManager for type BspLevel
+14:25:18: Loading library .\Plugin_OctreeSceneManager
+14:25:18: Loading library .\Plugin_CgProgramManager
+14:25:18: *-*-* OGRE Initialising
+14:25:18: *-*-* Version 1.2.0 (Dagon)
+14:25:18: Creating resource group Bootstrap
+14:25:18: Added resource location '../../Media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
+14:25:18: Added resource location '../../Media' of type 'FileSystem' to resource group 'General'
+14:25:18: Added resource location '../../Media/fonts' of type 'FileSystem' to resource group 'General'
+14:25:18: Added resource location '../../Media/materials/programs' of type 'FileSystem' to resource group 'General'
+14:25:18: Added resource location '../../Media/materials/scripts' of type 'FileSystem' to resource group 'General'
+14:25:18: Added resource location '../../Media/materials/textures' of type 'FileSystem' to resource group 'General'
+14:25:18: Added resource location '../../Media/models' of type 'FileSystem' to resource group 'General'
+14:25:18: Added resource location '../../Media/overlays' of type 'FileSystem' to resource group 'General'
+14:25:18: Added resource location '../../Media/particle' of type 'FileSystem' to resource group 'General'
+14:25:18: Added resource location '../../Media/gui' of type 'FileSystem' to resource group 'General'
+14:25:18: Added resource location '../../Media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
+14:25:18: Added resource location '../../Media/packs/smokealphaclip.zip' of type 'Zip' to resource group 'General'
+14:25:18: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
+14:25:18: D3D9 : RenderSystem Option: Anti aliasing = None
+14:25:18: D3D9 : RenderSystem Option: Floating-point mode = Fastest
+14:25:18: D3D9 : RenderSystem Option: Full Screen = No
+14:25:18: D3D9 : RenderSystem Option: Rendering Device = NVIDIA GeForce 7950 GX2
+14:25:18: D3D9 : RenderSystem Option: VSync = No
+14:25:18: D3D9 : RenderSystem Option: Video Mode = 800 x 600 @ 32-bit colour
+14:25:18: D3D9 : Subsystem Initialising
+14:25:18: D3D9RenderSystem::createRenderWindow "OGRE Render Window", 800x600 windowed  miscParams: FSAA=0 FSAAQuality=0 colourDepth=32 useNVPerfHUD=false vsync=false 
+14:25:18: D3D9 : Created D3D9 Rendering Window 'OGRE Render Window' : 800x600, 32bpp
+14:25:18: D3D9 : WARNING - disabling VSync in windowed mode can cause timing issues at lower frame rates, turn VSync on if you observe this problem.
+14:25:18: Registering ResourceManager for type Texture
+14:25:18: Registering ResourceManager for type GpuProgram
+14:25:18: RenderSystem capabilities
+14:25:18: -------------------------
+14:25:18:  * Hardware generation of mipmaps: yes
+14:25:18:  * Texture blending: yes
+14:25:18:  * Anisotropic texture filtering: yes
+14:25:18:  * Dot product texture operation: yes
+14:25:18:  * Cube mapping: yes
+14:25:18:  * Hardware stencil buffer: yes
+14:25:18:    - Stencil depth: 8
+14:25:18:    - Two sided stencil support: yes
+14:25:18:    - Wrap stencil values: yes
+14:25:18:  * Hardware vertex / index buffers: yes
+14:25:18:  * Vertex programs: yes
+14:25:18:    - Max vertex program version: vs_3_0
+14:25:18:  * Fragment programs: yes
+14:25:18:    - Max fragment program version: ps_3_0
+14:25:18:  * Texture Compression: yes
+14:25:18:    - DXT: yes
+14:25:18:    - VTC: no
+14:25:18:  * Scissor Rectangle: yes
+14:25:18:  * Hardware Occlusion Query: yes
+14:25:18:  * User clip planes: yes
+14:25:18:  * VET_UBYTE4 vertex element type: yes
+14:25:18:  * Infinite far plane projection: yes
+14:25:18:  * Hardware render-to-texture: yes
+14:25:18:  * Floating point textures: yes
+14:25:18:  * Non-power-of-two textures: yes
+14:25:18:  * Volume textures: yes
+14:25:18:  * Multiple Render Targets: 4
+14:25:18:  * Max Point Size: 8192
+14:25:18: ***************************************
+14:25:18: *** D3D9 : Subsystem Initialised OK ***
+14:25:18: ***************************************
+14:25:18: ResourceBackgroundQueue - threading disabled
+14:25:18: Particle Renderer Type 'billboard' registered
+14:25:18: Particle Renderer Type 'sprite' registered
+14:25:18: 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
+14:25:18: Viewport for camera 'PlayerCam', actual dimensions L: 0 T: 0 W: 800 H: 600
+14:25:18: Parsing scripts for resource group Autodetect
+14:25:18: Finished parsing scripts for resource group Autodetect
+14:25:18: Parsing scripts for resource group Bootstrap
+14:25:18: Parsing script OgreCore.material
+14:25:18: Parsing script OgreProfiler.material
+14:25:18: Parsing script Ogre.fontdef
+14:25:18: Parsing script OgreDebugPanel.overlay
+14:25:18: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
+14:25:18: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8B8G8R8,256x256x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
+14:25:18: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
+14:25:18: Font TrebuchetMSBoldusing texture size 512x512
+14:25:18: Info: Freetype returned null for character 160 in font TrebuchetMSBold
+14:25:18: Texture: TrebuchetMSBoldTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
+14:25:18: Texture: ogretext.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
+14:25:18: Parsing script OgreLoadingPanel.overlay
+14:25:18: Finished parsing scripts for resource group Bootstrap
+14:25:18: Parsing scripts for resource group General
+14:25:18: Parsing script GameTools.program
+14:25:18: Parsing script atlascube.material
+14:25:18: Parsing script difflab.material
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -144,5 +144,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material Difflab/TexturedPhong at line 33 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material Difflab/TexturedPhong at line 33 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -155,5 +155,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -166,5 +166,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material Difflab/TexturedPhong at line 38 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material Difflab/TexturedPhong at line 38 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -177,5 +177,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -188,5 +188,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material Difflab/TexturedPhong at line 39 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material Difflab/TexturedPhong at line 39 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -199,5 +199,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -210,5 +210,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material Difflab/TexturedPhong at line 40 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material Difflab/TexturedPhong at line 40 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -221,5 +221,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -232,5 +232,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material Difflab/TexturedPhong at line 41 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material Difflab/TexturedPhong at line 41 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -243,5 +243,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -254,5 +254,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material Difflab/TexturedPhong at line 42 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material Difflab/TexturedPhong at line 42 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -265,5 +265,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -276,5 +276,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material Difflab/TexturedPhong at line 47 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material Difflab/TexturedPhong at line 47 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -287,5 +287,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -298,5 +298,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material Difflab/TexturedPhong at line 48 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material Difflab/TexturedPhong at line 48 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -309,5 +309,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -320,5 +320,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material Difflab/TexturedPhong at line 49 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material Difflab/TexturedPhong at line 49 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -331,5 +331,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -342,5 +342,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material Difflab/TexturedPhong at line 50 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material Difflab/TexturedPhong at line 50 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -353,5 +353,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -364,5 +364,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material Difflab/TexturedPhong at line 51 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material Difflab/TexturedPhong at line 51 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -375,5 +375,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -386,5 +386,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material Difflab/TexturedPhong at line 56 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material Difflab/TexturedPhong at line 56 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -397,5 +397,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -408,5 +408,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material Difflab/TexturedPhong at line 57 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material Difflab/TexturedPhong at line 57 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -419,5 +419,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -430,5 +430,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material Difflab/TexturedPhong at line 58 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material Difflab/TexturedPhong at line 58 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -441,5 +441,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -452,5 +452,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material Difflab/TexturedPhong at line 59 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material Difflab/TexturedPhong at line 59 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -463,5 +463,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -474,5 +474,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material Difflab/TexturedPhong at line 60 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material Difflab/TexturedPhong at line 60 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -485,5 +485,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -496,5 +496,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material Difflab/TexturedPhong at line 65 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material Difflab/TexturedPhong at line 65 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -507,5 +507,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -518,5 +518,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material Difflab/TexturedPhong at line 66 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material Difflab/TexturedPhong at line 66 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -529,5 +529,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -540,5 +540,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material Difflab/TexturedPhong at line 67 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material Difflab/TexturedPhong at line 67 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -551,5 +551,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -562,5 +562,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material Difflab/TexturedPhong at line 68 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material Difflab/TexturedPhong at line 68 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -573,5 +573,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -584,5 +584,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material Difflab/TexturedPhong at line 69 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material Difflab/TexturedPhong at line 69 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -595,6 +595,6 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Parsing script diffscene.material
-17:35:19: An exception has been thrown!
+14:25:19: Parsing script diffscene.material
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -607,5 +607,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material GameTools/Phong at line 36 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material GameTools/Phong at line 36 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -618,5 +618,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -629,5 +629,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material GameTools/Phong at line 37 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material GameTools/Phong at line 37 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -640,5 +640,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -651,5 +651,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material GameTools/Phong at line 38 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material GameTools/Phong at line 38 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -662,5 +662,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -673,5 +673,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material GameTools/Phong at line 39 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material GameTools/Phong at line 39 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -684,5 +684,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -695,5 +695,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material GameTools/Phong at line 45 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material GameTools/Phong at line 45 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -706,5 +706,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -717,5 +717,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material GameTools/Phong at line 46 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material GameTools/Phong at line 46 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -728,5 +728,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -739,5 +739,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material GameTools/Phong at line 47 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material GameTools/Phong at line 47 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -750,5 +750,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: An exception has been thrown!
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -761,5 +761,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material GameTools/Phong at line 48 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:19: Error in material GameTools/Phong at line 48 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -772,8 +772,8 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material asztallap at line 73 of diffscene.material: Invalid param_named attribute - unrecognised parameter type 0.560857
-17:35:19: Error in material asztallap at line 74 of diffscene.material: Invalid param_named attribute - unrecognised parameter type 0.560857
-17:35:19: Parsing script Diffuse.material
-17:35:19: An exception has been thrown!
+14:25:19: Error in material asztallap at line 73 of diffscene.material: Invalid param_named attribute - unrecognised parameter type 0.560857
+14:25:19: Error in material asztallap at line 74 of diffscene.material: Invalid param_named attribute - unrecognised parameter type 0.560857
+14:25:19: Parsing script Diffuse.material
+14:25:19: An exception has been thrown!
 
 -----------------------------------
@@ -786,5 +786,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:19: Error in material GameTools/CubeMap/Reduce at line 20 of Diffuse.material: Invalid param_named attribute - An exception has been thrown!
+14:25:19: Error in material GameTools/CubeMap/Reduce at line 20 of Diffuse.material: Invalid param_named attribute - An exception has been thrown!
 
 -----------------------------------
@@ -797,5 +797,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:20: An exception has been thrown!
+14:25:20: An exception has been thrown!
 
 -----------------------------------
@@ -808,5 +808,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:20: Error in material GameTools/Diffuse at line 74 of Diffuse.material: Invalid param_named attribute - An exception has been thrown!
+14:25:20: Error in material GameTools/Diffuse at line 74 of Diffuse.material: Invalid param_named attribute - An exception has been thrown!
 
 -----------------------------------
@@ -819,5 +819,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:23: An exception has been thrown!
+14:25:23: An exception has been thrown!
 
 -----------------------------------
@@ -830,5 +830,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:23: Error in material GameTools/DiffuseBump at line 224 of Diffuse.material: Invalid param_named_auto attribute - An exception has been thrown!
+14:25:23: Error in material GameTools/DiffuseBump at line 224 of Diffuse.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -841,5 +841,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:23: An exception has been thrown!
+14:25:23: An exception has been thrown!
 
 -----------------------------------
@@ -852,5 +852,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:23: Error in material GameTools/DiffuseBump at line 225 of Diffuse.material: Invalid param_named attribute - An exception has been thrown!
+14:25:23: Error in material GameTools/DiffuseBump at line 225 of Diffuse.material: Invalid param_named attribute - An exception has been thrown!
 
 -----------------------------------
@@ -863,34 +863,1021 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-17:35:23: Parsing script EnvMetals.material
-17:35:24: An exception has been thrown!
-
------------------------------------
-Details:
------------------------------------
-Error #: -2147467259
-Function: D3D9HLSLProgram::loadFromSource
-Description: Cannot assemble D3D9 high-level shader GameTools/CubeMap/FragmentPrograms/LocalizedMetalPS Errors:
-(74): error X3511: loop does not appear to terminate in a timely manner (1024 iterations)
-. 
-File: ..\src\OgreD3D9HLSLProgram.cpp
-Line: 63
-Stack unwinding: <<beginning of stack>>
-17:35:29: Unregistering ResourceManager for type BspLevel
-17:35:29: *-*-* OGRE Shutdown
-17:35:29: Unregistering ResourceManager for type Compositor
-17:35:29: Unregistering ResourceManager for type Font
-17:35:29: Unregistering ResourceManager for type Skeleton
-17:35:29: Unregistering ResourceManager for type Mesh
-17:35:29: Unregistering ResourceManager for type HighLevelGpuProgram
-17:35:29: Unloading library .\Plugin_CgProgramManager
-17:35:29: Unloading library .\Plugin_OctreeSceneManager
-17:35:29: Unloading library .\Plugin_BSPSceneManager
-17:35:29: Unloading library .\Plugin_ParticleFX
-17:35:29: Render Target 'OGRE Render Window' Average FPS: 0 Best FPS: 0 Worst FPS: 999
-17:35:29: D3D9 : Shutting down cleanly.
-17:35:29: Unregistering ResourceManager for type Texture
-17:35:29: Unregistering ResourceManager for type GpuProgram
-17:35:29: D3D9 : Direct3D9 Rendering Subsystem destroyed.
-17:35:29: Unloading library .\RenderSystem_Direct3D9
-17:35:29: Unregistering ResourceManager for type Material
+14:25:23: Parsing script EnvMetals.material
+14:25:27: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightPosition. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: Error in material EnvMetals/Copper at line 37 of EnvMetals.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightPosition. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightPosition. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: Error in material EnvMetals/Gold at line 97 of EnvMetals.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightPosition. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightPosition. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: Error in material EnvMetals/Silver at line 159 of EnvMetals.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightPosition. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightPosition. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: Error in material EnvMetals/Alu at line 222 of EnvMetals.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightPosition. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: Parsing script GameTools.material
+14:25:27: Error in material TestPlane at line 120 of GameTools.material: Bad specular attribute, wrong number of parameters (expected 2, 4 or 5)
+14:25:27: Error in material GameTools/SceneCameraDepthShader at line 190 of GameTools.material: Unrecognised command: scene_blend
+14:25:27: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named farplane. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: Error in material GameTools/SceneCameraDepthShader at line 198 of GameTools.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named farplane. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: Error in material GameTools/FocusingShader at line 214 of GameTools.material: Unrecognised command: scene_blend
+14:25:27: Error in material GameTools/FocusingShader at line 222 of GameTools.material: Invalid param_named attribute - expected at least 3 parameters.
+14:25:27: Error in material GameTools/ShadowMapDepth at line 238 of GameTools.material: Unrecognised command: scene_blend
+14:25:27: Error in material GameTools/ShadowMapDistance at line 263 of GameTools.material: Unrecognised command: scene_blend
+14:25:27: Parsing script GameTools_HPS.material
+14:25:27: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named worldViewProj. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: Error in material HPS_SMOKE_S at line 25 of GameTools_HPS.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named worldViewProj. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named worldViewProj. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: Error in material HPS_SMOKE_L at line 84 of GameTools_HPS.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named worldViewProj. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named Proj. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: Error in material HPS_SMOKE_L at line 90 of GameTools_HPS.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named Proj. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named worldViewProj. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: Error in material HPS_SMOKE_L_Depth at line 160 of GameTools_HPS.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named worldViewProj. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named Proj. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: Error in material HPS_SMOKE_L_Depth at line 169 of GameTools_HPS.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named Proj. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named farplane. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: Error in material HPS_SMOKE_L_Depth at line 170 of GameTools_HPS.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named farplane. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named worldViewProj. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: Error in material Smoke_IllumVolume at line 229 of GameTools_HPS.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named worldViewProj. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: Parsing script GlassHead.material
+14:25:27: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named worldIT. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:27: Error in material GameTools/PhotonMapCaustic at line 12 of GlassHead.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named worldIT. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:28: Error in material GameTools/PhotonMapCaustic at line 23 of GlassHead.material: Bad cubic_texture attribute, final parameter must be 'combinedUVW' or 'separateUV'.
+14:25:28: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named worldViewProj. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:28: Error in material GameTools/Cau at line 47 of GlassHead.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named worldViewProj. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:28: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named resolution. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:28: Error in material GameTools/Cau at line 50 of GlassHead.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named resolution. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:28: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named resolution. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:28: Error in material GameTools/CauTri at line 105 of GlassHead.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named resolution. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Parsing script Glow.material
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named Gain. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error in material GameTools/ToneMap at line 239 of Glow.material: Invalid param_named attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named Gain. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Parsing script hangar.material
+14:25:40: Parsing script kupola.material
+14:25:40: Error in material kupolalambert2 at line 23 of kupola.material: Bad scene_blend attribute, unrecognised parameter 'none'
+14:25:40: Error in material kupolalambert2 at line 26 of kupola.material: Bad scene_blend_alpha attribute, unrecognised parameter 'none'
+14:25:40: Error in material kupolalambert5 at line 77 of kupola.material: Bad scene_blend attribute, unrecognised parameter 'none'
+14:25:40: Error in material kupolalambert5 at line 80 of kupola.material: Bad scene_blend_alpha attribute, unrecognised parameter 'none'
+14:25:40: Parsing script MetalTeapot.material
+14:25:40: Error in material MetalTeapot at line 16 of MetalTeapot.material: Unrecognised command: render
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightPosition. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error in material MetalTeapot at line 38 of MetalTeapot.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightPosition. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Parsing script Ogre.material
+14:25:40: Parsing script Particles.material
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named worldViewProj. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error in material GameTools/SpriteShader at line 17 of Particles.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named worldViewProj. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named worldViewProj. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error in material GameTools/SBB at line 52 of Particles.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named worldViewProj. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Parsing script RaytraceDemo.material
+14:25:40: Parsing script stairs.material
+14:25:40: Parsing script uvegfolyoso2.material
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightcol5. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error in material Folyoso/Phong at line 22 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightcol5. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightcol6. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error in material Folyoso/Phong at line 23 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightcol6. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightcol7. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error in material Folyoso/Phong at line 24 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightcol7. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightcol8. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error in material Folyoso/Phong at line 25 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightcol8. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightpos5. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error in material Folyoso/Phong at line 31 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightpos5. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightpos6. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error in material Folyoso/Phong at line 32 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightpos6. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightpos7. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error in material Folyoso/Phong at line 33 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightpos7. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightpos8. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error in material Folyoso/Phong at line 34 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightpos8. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightcol5. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error in material Folyoso/PhongPlaneReflect at line 76 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightcol5. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightcol6. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error in material Folyoso/PhongPlaneReflect at line 77 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightcol6. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightcol7. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error in material Folyoso/PhongPlaneReflect at line 78 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightcol7. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightcol8. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error in material Folyoso/PhongPlaneReflect at line 79 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightcol8. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightpos5. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error in material Folyoso/PhongPlaneReflect at line 85 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightpos5. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightpos6. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error in material Folyoso/PhongPlaneReflect at line 86 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightpos6. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightpos7. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error in material Folyoso/PhongPlaneReflect at line 87 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightpos7. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightpos8. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error in material Folyoso/PhongPlaneReflect at line 88 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 7
+Function: GpuProgramParameters::getParamIndex
+Description: Cannot find a parameter named lightpos8. 
+File: ..\src\OgreGpuProgram.cpp
+Line: 779
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error in material uvegfolyoso_talaj at line 118 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.36774
+14:25:40: Error in material uvegfolyoso_talaj at line 119 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.36774
+14:25:40: Error in material uvegfolyoso_talaj at line 120 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.51282
+14:25:40: Error in material uvegfolyoso_teto at line 138 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.237
+14:25:40: Error in material uvegfolyoso_teto at line 139 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.237
+14:25:40: Error in material uvegfolyoso_teto at line 140 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.51282
+14:25:40: Error in material oszlop at line 158 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.94018
+14:25:40: Error in material oszlop at line 159 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.94018
+14:25:40: Error in material oszlop at line 160 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.0
+14:25:40: Parsing script X3D.material
+14:25:40: Parsing script GameTools_Glow.compositor
+14:25:40: Parsing script GameTools_ToneMap.compositor
+14:25:40: Parsing script sample.fontdef
+14:25:40: Bad attribute line: glyph	 	0.152344	0.125	0.160156	0.1875 in font Ogre
+14:25:40: Parsing script GameTools.particle
+14:25:40: Bad particle system attribute line: 'billboard_type  point' in GameTools/DemoParticle1 (tried renderer)
+14:25:40: Bad particle system attribute line: 'billboard_type  point' in GameTools/Big (tried renderer)
+14:25:40: Bad particle system attribute line: 'billboard_type  point' in GameTools/Little (tried renderer)
+14:25:40: Parsing script Compositor.overlay
+14:25:40: Parsing script DP3.overlay
+14:25:40: Parsing script Example-CubeMapping.overlay
+14:25:40: Parsing script Example-DynTex.overlay
+14:25:40: Parsing script Example-Water.overlay
+14:25:40: Parsing script FullScreen.overlay
+14:25:40: Texture: flare.png: Loading 1 faces(PF_B8G8R8,256x256x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
+14:25:40: Parsing script Shadows.overlay
+14:25:40: Finished parsing scripts for resource group General
+14:25:40: Parsing scripts for resource group Internal
+14:25:40: Finished parsing scripts for resource group Internal
+14:25:40: Mesh: Loading teapot.mesh.
+14:25:40: Can't assign material Material_1 to SubEntity of object because this Material does not exist. Have you forgotten to define it in a .material script?
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 8
+Function: ResourceGroupManager::openResource
+Description: Cannot locate resource cubemap_rt.jpg in resource group General or any other group.. 
+File: ..\src\OgreResourceGroupManager.cpp
+Line: 583
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error loading texture cubemap.jpg. Texture layer will be blank. Loading the texture failed with the following exception: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 8
+Function: ResourceGroupManager::openResource
+Description: Cannot locate resource cubemap_rt.jpg in resource group General or any other group.. 
+File: ..\src\OgreResourceGroupManager.cpp
+Line: 583
+Stack unwinding: <<beginning of stack>>
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 8
+Function: ResourceGroupManager::openResource
+Description: Cannot locate resource cubemap_rt.jpg in resource group General or any other group.. 
+File: ..\src\OgreResourceGroupManager.cpp
+Line: 583
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error loading texture cubemap.jpg. Texture layer will be blank. Loading the texture failed with the following exception: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 8
+Function: ResourceGroupManager::openResource
+Description: Cannot locate resource cubemap_rt.jpg in resource group General or any other group.. 
+File: ..\src\OgreResourceGroupManager.cpp
+Line: 583
+Stack unwinding: <<beginning of stack>>
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 8
+Function: ResourceGroupManager::openResource
+Description: Cannot locate resource cubemap_rt.jpg in resource group General or any other group.. 
+File: ..\src\OgreResourceGroupManager.cpp
+Line: 583
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error loading texture cubemap.jpg. Texture layer will be blank. Loading the texture failed with the following exception: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 8
+Function: ResourceGroupManager::openResource
+Description: Cannot locate resource cubemap_rt.jpg in resource group General or any other group.. 
+File: ..\src\OgreResourceGroupManager.cpp
+Line: 583
+Stack unwinding: <<beginning of stack>>
+14:25:40: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 8
+Function: ResourceGroupManager::openResource
+Description: Cannot locate resource cubemap_rt.jpg in resource group General or any other group.. 
+File: ..\src\OgreResourceGroupManager.cpp
+Line: 583
+Stack unwinding: <<beginning of stack>>
+14:25:40: Error loading texture cubemap.jpg. Texture layer will be blank. Loading the texture failed with the following exception: An exception has been thrown!
+
+-----------------------------------
+Details:
+-----------------------------------
+Error #: 8
+Function: ResourceGroupManager::openResource
+Description: Cannot locate resource cubemap_rt.jpg in resource group General or any other group.. 
+File: ..\src\OgreResourceGroupManager.cpp
+Line: 583
+Stack unwinding: <<beginning of stack>>
+14:25:40: Mesh: Loading difflab.mesh.
+14:25:40: Texture: screen.jpg: Loading 1 faces(PF_B8G8R8,1024x1024x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
+14:25:40: Texture: laborwall.jpg: Loading 1 faces(PF_B8G8R8,1024x1024x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
+14:25:40: Texture: striped.jpg: Loading 1 faces(PF_B8G8R8,128x256x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x256x1.
+14:25:40: Texture: lamp.jpg: Loading 1 faces(PF_B8G8R8,512x512x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
+14:25:40: Texture: bluelamp.jpg: Loading 1 faces(PF_B8G8R8,512x512x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
+14:25:40: Creating viewport on target 'rtt/3216736', rendering from camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_0_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+14:25:40: Viewport for camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_0_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+14:25:40: Creating viewport on target 'rtt/3216800', rendering from camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_1_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+14:25:40: Viewport for camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_1_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+14:25:40: Creating viewport on target 'rtt/3216864', rendering from camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_2_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+14:25:40: Viewport for camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_2_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+14:25:40: Creating viewport on target 'rtt/3216928', rendering from camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_3_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+14:25:40: Viewport for camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_3_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+14:25:40: Creating viewport on target 'rtt/3216992', rendering from camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_4_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+14:25:40: Viewport for camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_4_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+14:25:40: Creating viewport on target 'rtt/3217056', rendering from camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_5_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+14:25:40: Viewport for camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_5_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+14:25:40: WARNING: Texture instance 'object_SE_0_COLORCUBEMAP' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
+14:25:40: Creating viewport on target 'rtt/3218016', rendering from camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_0_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+14:25:40: Viewport for camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_0_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+14:25:40: Creating viewport on target 'rtt/3218080', rendering from camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_1_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+14:25:40: Viewport for camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_1_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+14:25:40: Creating viewport on target 'rtt/3218144', rendering from camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_2_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+14:25:40: Viewport for camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_2_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+14:25:40: Creating viewport on target 'rtt/3218208', rendering from camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_3_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+14:25:40: Viewport for camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_3_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+14:25:40: Creating viewport on target 'rtt/3218272', rendering from camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_4_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+14:25:40: Viewport for camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_4_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+14:25:40: Creating viewport on target 'rtt/3218336', rendering from camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_5_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+14:25:40: Viewport for camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_5_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+14:25:40: WARNING: Texture instance 'object_SE_0_DISTANCECUBEMAP' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
+14:25:40: Win32Input8: DirectInput Activation Starts
+14:25:40: Win32Input8: Establishing keyboard input.
+14:25:40: Win32Input8: Keyboard input established.
+14:25:40: Win32Input8: Initializing mouse input in immediate mode.
+14:25:40: Win32Input8: Mouse input in immediate mode initialized.
+14:25:40: Win32Input8: DirectInput OK.
+14:25:40: Creating viewport on target 'rtt/42711328', rendering from camera 'MainBlueLightDEPTH_SHADOW_MAP_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+14:25:40: Viewport for camera 'MainBlueLightDEPTH_SHADOW_MAP_CAMERA', actual dimensions L: 0 T: 0 W: 512 H: 512
+14:25:40: Creating viewport on target 'rtt/42785856', rendering from camera 'MainBlueLightDEPTH_SHADOW_MAP_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+14:25:40: Viewport for camera 'MainBlueLightDEPTH_SHADOW_MAP_CAMERA', actual dimensions L: 0 T: 0 W: 512 H: 512
+14:25:40: Creating viewport on target 'rtt/42786208', rendering from camera 'LIGHT_FOCUSING_MAP_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+14:25:40: Viewport for camera 'LIGHT_FOCUSING_MAP_CAMERA', actual dimensions L: 0 T: 0 W: 32 H: 32
+14:25:40: Creating viewport on target 'rtt/42786560', rendering from camera 'PHASE_TEXTURE_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+14:25:40: Viewport for camera 'PHASE_TEXTURE_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+14:25:40: WARNING: Texture instance 'MainBlueLightDEPTH_SHADOW_MAP' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
+14:25:40: WARNING: Texture instance 'MainBlueLightDEPTH_SHADOW_MAPblurred' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
+14:26:02: Unregistering ResourceManager for type BspLevel
+14:26:02: Render Target 'rtt/42786560' Average FPS: 0 Best FPS: 0 Worst FPS: 999
+14:26:02: Render Target 'rtt/42786208' Average FPS: 0 Best FPS: 0 Worst FPS: 999
+14:26:02: Render Target 'rtt/42785856' Average FPS: 51.7362 Best FPS: 89.3744 Worst FPS: 35.8923
+14:26:02: Render Target 'rtt/42711328' Average FPS: 51.5565 Best FPS: 89.3744 Worst FPS: 35.8923
+14:26:02: Render Target 'rtt/3218016' Average FPS: 0 Best FPS: 0 Worst FPS: 999
+14:26:02: Render Target 'rtt/3218080' Average FPS: 0 Best FPS: 0 Worst FPS: 999
+14:26:02: Render Target 'rtt/3218144' Average FPS: 0 Best FPS: 0 Worst FPS: 999
+14:26:02: Render Target 'rtt/3218208' Average FPS: 0 Best FPS: 0 Worst FPS: 999
+14:26:02: Render Target 'rtt/3218272' Average FPS: 0 Best FPS: 0 Worst FPS: 999
+14:26:02: Render Target 'rtt/3218336' Average FPS: 0 Best FPS: 0 Worst FPS: 999
+14:26:02: Render Target 'rtt/3216736' Average FPS: 0 Best FPS: 0 Worst FPS: 999
+14:26:02: Render Target 'rtt/3216800' Average FPS: 0 Best FPS: 0 Worst FPS: 999
+14:26:02: Render Target 'rtt/3216864' Average FPS: 0 Best FPS: 0 Worst FPS: 999
+14:26:02: Render Target 'rtt/3216928' Average FPS: 0 Best FPS: 0 Worst FPS: 999
+14:26:02: Render Target 'rtt/3216992' Average FPS: 0 Best FPS: 0 Worst FPS: 999
+14:26:02: Render Target 'rtt/3217056' Average FPS: 0 Best FPS: 0 Worst FPS: 999
+14:26:02: *-*-* OGRE Shutdown
+14:26:02: Unregistering ResourceManager for type Compositor
+14:26:02: Unregistering ResourceManager for type Font
+14:26:02: Unregistering ResourceManager for type Skeleton
+14:26:02: Unregistering ResourceManager for type Mesh
+14:26:02: Unregistering ResourceManager for type HighLevelGpuProgram
+14:26:02: Unloading library .\Plugin_CgProgramManager
+14:26:02: Unloading library .\Plugin_OctreeSceneManager
+14:26:02: Unloading library .\Plugin_BSPSceneManager
+14:26:02: Unloading library .\Plugin_ParticleFX
+14:26:02: Render Target 'OGRE Render Window' Average FPS: 51.2331 Best FPS: 89.3744 Worst FPS: 35.7853
+14:26:02: D3D9 : Shutting down cleanly.
+14:26:02: Unregistering ResourceManager for type Texture
+14:26:02: Unregistering ResourceManager for type GpuProgram
+14:26:02: D3D9 : Direct3D9 Rendering Subsystem destroyed.
+14:26:02: Unloading library .\RenderSystem_Direct3D9
+14:26:02: Unregistering ResourceManager for type Material
+14:26:02: Unloading library OgrePlatform.dll
