Index: GTP/trunk/Lib/Vis/Preprocessing/scripts/generate_viewcells.sh
===================================================================
--- GTP/trunk/Lib/Vis/Preprocessing/scripts/generate_viewcells.sh	(revision 2066)
+++ GTP/trunk/Lib/Vis/Preprocessing/scripts/generate_viewcells.sh	(revision 2072)
@@ -10,6 +10,4 @@
 
 SCENE=vienna_cropped
-#SCENE=soda5
-
 LOG_PREFIX=../scripts/$SCENE
 ENVIRONMENT=generate_viewcells.env
@@ -17,22 +15,31 @@
 echo "starting $TARGET mode for $SCENE scene"
 
-#!/bin/sh
+############################################################################
 
-PROGRAM=../bin/release/Preprocessor.exe
-SCENE=generate_viewcells
+#  METHOD=interleaved
+#  echo "$SCENE $METHOD"
 
-LOG_PREFIX=../scripts/vienna
+#  $PROGRAM $ENVIRONMENT \
+#  -view_cells_filename=$LOG_PREFIX-$METHOD-viewcells.xml.gz \
+#   -view_cells_merge_stats=$LOG_PREFIX-$METHOD-mergeStats.log \
+#   -vsp_subdivision_stats=$LOG_PREFIX-$METHOD-vsp-subdivisionStats.log \
+#   -bvh_subdivision_stats=$LOG_PREFIX-$METHOD-bvh-subdivisionStats.log \
+#   -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \
+#   -hierarchy_construction_type=2 \
+#   -hierarchy_construction_consider_memory=true
 
-ENVIRONMENT=$SCENE.env
+############################################################################
 
+  echo "$SCENE $METHOD"
 
-###############################################
+  $PROGRAM $ENVIRONMENT \
+  -view_cells_filename=$LOG_PREFIX-viewcells.xml.gz \
+   -view_cells_merge_stats=$LOG_PREFIX-mergeStats.log \
+   -vsp_subdivision_stats=$LOG_PREFIX-vsp-subdivisionStats.log \
+   -bvh_subdivision_stats=$LOG_PREFIX-bvh-subdivisionStats.log \
+   -hierarchy_subdivision_stats=$LOG_PREFIX-hierarchy-subdivisionStats.log \
+   -hierarchy_construction_type=0 \
+   -hierarchy_construction_consider_memory=true
 
-METHOD=avs
-echo "$SCENE $METHOD"
-
-$PROGRAM $ENVIRONMENT \
--view_cells_filename=$LOG_PREFIX-visibility.xml.zip
-
-mv debug.log $LOG_PREFIX-$METHOD-debug.log
-
+#   -bvh_term_max_leaves=10000 \
+#   -hierarchy_term_max_leaves=20000 
Index: GTP/trunk/Lib/Vis/Preprocessing/scripts/generate_viewcells.env
===================================================================
--- GTP/trunk/Lib/Vis/Preprocessing/scripts/generate_viewcells.env	(revision 2071)
+++ GTP/trunk/Lib/Vis/Preprocessing/scripts/generate_viewcells.env	(revision 2072)
@@ -5,6 +5,6 @@
 
 Scene {
+
 	filename ../data/vienna/vienna_cropped.obj
-#	filename ../data/soda/soda5.obj
 #	filename ../data/soda/soda5.dat
 }
@@ -16,10 +16,9 @@
 	type vss
 	detectEmptyViewSpace true
-	#loadMeshes true
 	loadMeshes false
 	# internal raycaster
-#	rayCastMethod 0
+	rayCastMethod 0
 	# intel raycaster
-	rayCastMethod 1
+	#rayCastMethod 1
 	exportVisibility false
 	loadKdTree false
@@ -88,5 +87,4 @@
 		
 		maxCostRatio 1.5
-		#maxCostRatio 999999
 		ct_div_ci 0.5
 	}
@@ -96,5 +94,4 @@
 	splitBorder 0.01
 }
-
 
 MeshKdTree {
@@ -128,9 +125,10 @@
 	loadFromFile false
 
+	filename vienna_cropped-viewcells.xml.gz
+
 	exportPvs false
-	filename vienna_cropped-visibility.xml.gz
 
 	# type of view cells
-	type vspBspTree
+	type vspOspTree
 	
 	#percentage of total visible objects where pvs is considered invalid
@@ -157,7 +155,7 @@
 	Visualization {
 		# how much samples we use for visualization
-		samples 20000
+		samples 200
 		exportRays true
-		exportGeometry false
+		exportGeometry true
 		exportMergedViewCells false
 		useClipPlane true
@@ -188,78 +186,89 @@
 
 
-VspBspTree {
+################################
+#
+# View space partitioning kd tree
+#
+
+VspTree {
 	Construction {
+		renderCostDecreaseWeight 1.0
+	}
+
+	Termination {
+		minPvs 0
+		maxViewCells 5000
+	}
+
+	useCostHeuristics true
+	splitUseOnlyDrivingAxis false
+
+	# maximum number of tests per node
+	maxTests 50000
+}
+
+
+##########################
+#
+# The bounding volume hierarchy
+#
+
+BvHierarchy {
+
+	Construction {		
+		renderCostDecreaseWeight 1.0
+	}
+
+	Termination {
+		maxLeaves 50000
+	}
+
+	minRaysForVisibility 15
+
+	# use only surface area heuristic	
+	useCostHeuristics true
+	useSah false
+
+	splitUseOnlyDrivingAxis false
+
+	maxTests 50000
+}
+
+
+###############################################################
+#
+# Manages the construction of view space and object space partition
+#
+
+Hierarchy {
+	# the type of object space partition: view space is always vsp (=kd) partition
+	type bvh
+	
+	Construction {
+
 		samples 2000000
-		epsilon 0.0000001
-		randomize false
-		renderCostWeight 1.0
-	}
-
-
-	# random polygon       = 1
-	# axis aligned         = 2
-	# least ray splits     = 256
-	# balanced rays        = 512
-	# pvs                  = 1024
-	
-	splitPlaneStrategy 1026
-	
-	# maximal candidates for split planes
-	maxPolyCandidates 0
-
-	usePolygonSplitIfAvailable false
-
-	# maximal tested rays for split cost heuristics
-	maxTests 100000
-	
-	maxTotalMemory	50
-	maxStaticMemory	50
-
-	subdivisionStats ../subdivisionStats.log
-
-	# factors for evaluating split plane costs
-	Factor {
-		leastRaySplits 1.0
-	  	balancedRays 1.0
-	  	pvs 1.0
-	}
-	
-	Termination {
-		# parameters used for autopartition
-		minRays 		-1
-		minPolygons 		-1
-		maxDepth		25
-		minPvs 			0
-		minProbability		0.000001
-		maxRayContribution	1
-		maxCostRatio		0.9
-		missTolerance		6
-		globalCostMissTolerance 4
-		minGlobalCostRatio      0.0001
-
-		maxViewCells		3000
-	
-		# used for pvs criterium
-		ct_div_ci 0.0
-		
-		AxisAligned {
-			minRays 		50000
-			maxRayContribution	9.9
-		}
-	}
-	
-	useSplitCostQueue true
-
-	splitUseOnlyDrivingAxis false
-	simulateOctree false
-	useRandomAxis false
-	usePolygonSplitIfAvailable false
-	nodePriorityQueueType 0
-
-	useCostHeuristics true
-
-	Visualization {
-		# x3d visualization of the split planes
-		exportSplits false
-	}
-}
+
+		# type 0 = sequential computation, 1 = interleaved, 2 = gradient
+		type 0
+
+		###############################
+		# only for interleaved method
+
+		# minimal steps of same type for gradient method
+		minStepsOfSameType 100
+		# maximum steps of same type for gradient method
+		maxStepsOfSameType 900
+
+		# maximum number of repair steps per gradient step
+		maxRepairs 1000
+	}
+
+	Termination {
+		# maximal number of leaves
+		maxLeaves 3000000
+		# maximal memory in MB
+		maxMemory 100
+		# minimum ratio of global cost decrease
+		minGlobalCostRatio -1
+	}
+}
Index: GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp
===================================================================
--- GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp	(revision 2071)
+++ GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp	(revision 2072)
@@ -27,5 +27,5 @@
 #define COUNT_ORIGIN_OBJECTS 1
 
-#define STORE_PVS 1
+#define STORE_PVS 0
 
 
@@ -451,10 +451,8 @@
 	}
 
-	// normalize
 	if (mUseAreaForPvs)
 		mTermMinProbability *= mBoundingBox.SurfaceArea(); 
-	else 
+	else // normalize volume
 		mTermMinProbability *= mBoundingBox.GetVolume();
-
 
 	mBspStats.nodes = 1;
@@ -1273,5 +1271,4 @@
 		if (ray->mTerminationObject) 
 		{
-			//cout << "m";
 			if (vc->AddPvsSample(ray->mTerminationObject, ray->mPdf, contribution))
 				madeContrib = true;
@@ -2126,5 +2123,5 @@
 	pOverall = data.mProbability;
 
-	if (!mUseAreaForPvs) // use front and back cell areas to approximate volume
+	if (!mUseAreaForPvs)
 	{
 		pFront = geomFront.GetVolume();
@@ -2144,4 +2141,5 @@
 	else
 	{
+		// use front and back cell areas to approximate volume
 		pFront = geomFront.GetArea();
 		pBack = geomBack.GetArea();
Index: GTP/trunk/Lib/Vis/Preprocessing/src/RayCaster.h
===================================================================
--- GTP/trunk/Lib/Vis/Preprocessing/src/RayCaster.h	(revision 2069)
+++ GTP/trunk/Lib/Vis/Preprocessing/src/RayCaster.h	(revision 2072)
@@ -82,5 +82,5 @@
 	  if (mRays)
 		delete mRays;
-	  cout << "here4" << endl;
+	
 	  mRays = new VssRay[number];
 	  mNumber = number;
Index: GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp
===================================================================
--- GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp	(revision 2070)
+++ GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp	(revision 2072)
@@ -745,4 +745,5 @@
 		if (!mViewCellsManager)
 		{
+			cerr << "no view cells manager could be loaded" << endl;
 			return false;
 		}
@@ -1203,8 +1204,42 @@
 	}
 	
-	// reserve constant block of rays
+	/////
+	//-- reserve constant block of rays
+	
+	// hack: If we dont't use view cells loading, there must be at least as much rays
+	// as are needed for the view cells construction
+	bool loadViewCells;
+	Environment::GetSingleton()->GetBoolValue("ViewCells.loadFromFile", loadViewCells);
+
+	int reserveRays;
+
+	if (!loadViewCells)
+	{
+		cout << "setting ray pool size to view cell construction ize" << endl;
+
+		char buf[100];
+		Environment::GetSingleton()->GetStringValue("ViewCells.type", buf);	
+		
+		if (strcmp(buf, "vspBspTree") == 0)
+		{
+			Environment::GetSingleton()->GetIntValue("VspBspTree.Construction.samples", reserveRays);
+			reserveRays *= 2;
+		}
+		else if (strcmp(buf, "vspOspTree") == 0)
+		{
+			Environment::GetSingleton()->GetIntValue("Hierarchy.Construction.samples", reserveRays);
+			reserveRays *= 2;			
+		}
+	}
+	else
+	{
+		cout << "setting ray pool size to samples per pass" << endl;
+        
+		reserveRays = mSamplesPerPass * 2;
+	}
+
 	cout << "======================" << endl;
-	cout << "reserving " << 2 * mSamplesPerPass << " rays " << endl;
-	mRayCaster->ReserveVssRayPool(2 * mSamplesPerPass);
+	cout << "reserving " << reserveRays << " rays " << endl;
+	mRayCaster->ReserveVssRayPool(reserveRays);
 	
 	return true;
@@ -1225,5 +1260,5 @@
 	if ((int)rays.size() > 10000) {
 	
-		//mRayCaster->SortRays(rays);
+		mRayCaster->SortRays(rays);
 		cout<<"Rays sorted in "<<TimeDiff(t1, GetTime())<<" ms."<<endl;
 
@@ -1246,7 +1281,8 @@
 
 	SimpleRayContainer::const_iterator rit, rit_end = rays.end();
-cout << "here1 " << vssRays.size()<<endl;
+
 	SimpleRayContainer rayBucket;
 	int i = 0;
+
 	for (rit = rays.begin(); rit != rit_end; ++ rit, ++ i)
 	{
@@ -1276,8 +1312,8 @@
 	
 		if ((int)rays.size() > 100000 && i % 100000 == 0)
-			cout << "here2 " << vssRays.size()<<endl;
-		  //cout<<"\r"<<i<<"/"<<(int)rays.size()<<"\r";
-	}
-    cout << "here3 " << vssRays.size()<<endl;
+			//cout << "here2 " << vssRays.size()<<endl;
+			cout<<"\r"<<i<<"/"<<(int)rays.size()<<"\r";
+	}
+    
 	// cast rest of rays
 	SimpleRayContainer::const_iterator sit, sit_end = rayBucket.end();
@@ -1304,9 +1340,7 @@
 	}
 
-	cout << "here5 " << vssRays.size()<<endl;
-
 	int m = 850000;
 
-	if (1 && (int)rays.size() > m + 50) {
+	if (0 && (int)rays.size() > m + 50) {
 	  VssRayContainer tmpRays;
 	  	  
Index: GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
===================================================================
--- GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp	(revision 2071)
+++ GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp	(revision 2072)
@@ -6588,6 +6588,5 @@
 	stream << "<VisibilitySolution>" << endl;
 
-	// §§ tmp matt: for storage cost
-	if (0 && exportPvs) 
+	if (exportPvs) 
 	{
         ///////////////
Index: GTP/trunk/Lib/Vis/Preprocessing/src/Exporter.cpp
===================================================================
--- GTP/trunk/Lib/Vis/Preprocessing/src/Exporter.cpp	(revision 2065)
+++ GTP/trunk/Lib/Vis/Preprocessing/src/Exporter.cpp	(revision 2072)
@@ -150,5 +150,5 @@
 		SetFilled();
 		
-		if (1)
+		if (0)
 			ExportGeometry(leaf->mObjects, true, box);
 		else
Index: GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.cpp
===================================================================
--- GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.cpp	(revision 2066)
+++ GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.cpp	(revision 2072)
@@ -578,6 +578,6 @@
 {
 	// note: to track for global cost misses does not really 
-	// make sense because cost termination  happens in the hierarchy mananger
-
+	// make sense because termination on cost or memory is done 
+	// in the hierarchy mananger
 	const bool terminationCriteriaMet = (0
 		// || mOutOfMemory
Index: GTP/trunk/Lib/Vis/Preprocessing/src/InternalRayCaster.cpp
===================================================================
--- GTP/trunk/Lib/Vis/Preprocessing/src/InternalRayCaster.cpp	(revision 2071)
+++ GTP/trunk/Lib/Vis/Preprocessing/src/InternalRayCaster.cpp	(revision 2072)
@@ -201,7 +201,4 @@
 #endif
 
-	AxisAlignedBox3 ebox = sbox;
-	ebox.Enlarge(Vector3(1e-3f));
-
 	SimpleRayContainer::const_iterator sit, sit_end = rays.end();
 
@@ -210,6 +207,4 @@
 	{
 		CastRay(*sit, vssRays, sbox, castDoubleRays, pruneInvalidRays);
-		if (!vssRays.empty() && (!vssRays.back() || !ebox.IsInside(*vssRays.back())))
-		cout << "error " << *vssRays.back()<<endl;
 	}
 
Index: GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.cpp
===================================================================
--- GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.cpp	(revision 2071)
+++ GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.cpp	(revision 2072)
@@ -205,5 +205,6 @@
 bool SpatialBoxBasedDistribution::GenerateSample(SimpleRay &ray)
 {
-		Vector3 origin, direction; 
+	/*
+	Vector3 origin, direction; 
 
 	mPreprocessor.mViewCellsManager->GetViewPoint(origin);
@@ -213,4 +214,28 @@
 
 	if (c <= Limits::Small) 
+	return false;
+
+	const float pdf = 1.0f;
+
+	direction *= 1.0f / c;
+	ray = SimpleRay(origin, direction, SPATIAL_BOX_BASED_DISTRIBUTION, pdf);
+
+	return true;
+	*/
+
+	Vector3 origin, direction; 
+
+	float r[6];
+	sHalton.GetNext(6, r);
+	mPreprocessor.mViewCellsManager->GetViewPoint(origin, Vector3(r[0], r[1], r[2]));
+
+	direction = mPreprocessor.mKdTree->GetBox().GetRandomPoint(Vector3(r[3],
+																	   r[4],
+																	   r[5])
+																	   ) - origin;
+	//cout << "z";
+	const float c = Magnitude(direction);
+
+	if (c <= Limits::Small) 
 		return false;
 
@@ -219,30 +244,6 @@
 	direction *= 1.0f / c;
 	ray = SimpleRay(origin, direction, SPATIAL_BOX_BASED_DISTRIBUTION, pdf);
-
-	return true;
-
-	/*
-  Vector3 origin, direction; 
-
-  float r[6];
-  sHalton.GetNext(6, r);
-  mPreprocessor.mViewCellsManager->GetViewPoint(origin, Vector3(r[0],r[1],r[2]));
-  
-  direction = mPreprocessor.mKdTree->GetBox().GetRandomPoint(Vector3(r[3],
-																	 r[4],
-																	 r[5])
-																	 ) - origin;
-  //cout << "z";
-  const float c = Magnitude(direction);
-  
-  if (c <= Limits::Small) 
-	return false;
-  
-  const float pdf = 1.0f;
-  
-  direction *= 1.0f / c;
-  ray = SimpleRay(origin, direction, SPATIAL_BOX_BASED_DISTRIBUTION, pdf);
-  
-  return true;*/
+  
+	return true;
 }
 
@@ -275,5 +276,5 @@
 	// $$ jb the pdf is yet not correct for all sampling methods!
 	const float pdf = 1.0f;
-	//cout << "p: " << point << " ";
+	
 	direction *= 1.0f / c;
 	// a little offset
@@ -300,7 +301,4 @@
 	Intersectable *object = mPreprocessor.mObjects[objIdx];
 	ViewCell *viewCell = viewCells[vcIdx];
-
-	//cout << "vc: " << vcIdx << endl;
-	//cout << "obj: " << objIdx << endl;
 
 	object->GetRandomSurfacePoint(point, normal);
Index: GTP/trunk/Lib/Vis/Preprocessing/manual/integration.tex
===================================================================
--- GTP/trunk/Lib/Vis/Preprocessing/manual/integration.tex	(revision 2068)
+++ GTP/trunk/Lib/Vis/Preprocessing/manual/integration.tex	(revision 2072)
@@ -30,7 +30,12 @@
 Important options for performance are
 
-\begin{verbatim}
-VspBspTree.Construction.samples
-VspBspTree.Termination.maxViewCells
+%\begin{verbatim}
+%VspBspTree.Construction.samples
+%VspBspTree.Termination.maxViewCells
+%\end{verbatim}
+
+\begin{verbatim}
+VspTree.Termination.maxLeaves
+Hierarchy.Construction.samples
 \end{verbatim}
 
Index: GTP/trunk/Lib/Vis/Preprocessing/manual/manual.log
===================================================================
--- GTP/trunk/Lib/Vis/Preprocessing/manual/manual.log	(revision 2068)
+++ GTP/trunk/Lib/Vis/Preprocessing/manual/manual.log	(revision 2072)
@@ -1,3 +1,3 @@
-This is pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX 2.4) (preloaded format=latex 2005.8.25)  31 JAN 2007 13:39
+This is pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX 2.4) (preloaded format=latex 2005.8.25)  1 FEB 2007 16:05
 entering extended mode
 **D:/svn/gametools/GTP/trunk/Lib/Vis/Preprocessing/manual/manual.tex
@@ -179,6 +179,6 @@
 )
 LaTeX Font Info:    Font shape `OT1/ptm/bx/n' in size <12> not available
-(Font)              Font shape `OT1/ptm/b/n' tried instead on input line 57.
-LaTeX Font Info:    Try loading font information for OMS+ptm on input line 64.
+(Font)              Font shape `OT1/ptm/b/n' tried instead on input line 62.
+LaTeX Font Info:    Try loading font information for OMS+ptm on input line 69.
 
 (D:\texmf\tex\latex\psnfss\omsptm.fd
@@ -186,9 +186,9 @@
 )
 LaTeX Font Info:    Font shape `OMS/ptm/m/n' in size <10> not available
-(Font)              Font shape `OMS/cmsy/m/n' tried instead on input line 64.
+(Font)              Font shape `OMS/cmsy/m/n' tried instead on input line 69.
  [2
 
 ] [3]
-Overfull \hbox (1.41376pt too wide) in paragraph at lines 176--176
+Overfull \hbox (1.41376pt too wide) in paragraph at lines 181--181
 []                                \OT1/pcr/m/n/10 IntersectableWrapper<EntityCo
 ntainer *>[] 
@@ -196,5 +196,5 @@
 
 
-Overfull \hbox (19.41376pt too wide) in paragraph at lines 176--176
+Overfull \hbox (19.41376pt too wide) in paragraph at lines 181--181
 []   \OT1/pcr/m/n/10 EngineIntersectable(EntityContainer *item): GtpVisibilityP
 reprocessor::[] 
@@ -202,5 +202,5 @@
 
 [4]
-Overfull \hbox (31.41376pt too wide) in paragraph at lines 260--260
+Overfull \hbox (31.41376pt too wide) in paragraph at lines 265--265
 []       \OT1/pcr/m/n/10 const GtpVisibilityPreprocessor::IndexedBoundingBoxCon
 tainer &iboxes,[] 
@@ -208,5 +208,5 @@
 
 
-Overfull \hbox (1.41376pt too wide) in paragraph at lines 260--260
+Overfull \hbox (1.41376pt too wide) in paragraph at lines 265--265
 []    \OT1/pcr/m/n/10 EngineIntersectable *entry = new EngineIntersectable(entr
 yObjects);[] 
@@ -214,5 +214,5 @@
 
 [5]
-Overfull \hbox (1.41376pt too wide) in paragraph at lines 309--309
+Overfull \hbox (1.41376pt too wide) in paragraph at lines 314--314
 []  \OT1/pcr/m/n/10 for (sit = sceneNodeList.begin(); sit != sceneNodeList.end(
 ); ++ sit)[] 
@@ -220,5 +220,5 @@
 
 
-Overfull \hbox (7.41376pt too wide) in paragraph at lines 309--309
+Overfull \hbox (7.41376pt too wide) in paragraph at lines 314--314
 []      \OT1/pcr/m/n/10 // test for intersection (note: function provided of pr
 eprocessor)[] 
@@ -242,3 +242,3 @@
 \urw\urwstd\utmri8a.pfb><D:\texmf\fonts\type1\urw\urwstd\utmb8a.pfb><D:\texmf\f
 onts\type1\urw\urwstd\utmr8a.pfb>
-Output written on manual.pdf (7 pages, 82161 bytes).
+Output written on manual.pdf (7 pages, 82164 bytes).
Index: GTP/trunk/Lib/Vis/Preprocessing/manual/report.log
===================================================================
--- GTP/trunk/Lib/Vis/Preprocessing/manual/report.log	(revision 2066)
+++ 	(revision )
@@ -1,546 +1,0 @@
-This is pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX 2.4) (preloaded format=latex 2007.1.5)  30 JAN 2007 15:54
-entering extended mode
-**report
-(report.tex
-LaTeX2e <2003/12/01>
-Babel <v3.8a> and hyphenation patterns for english, french, german, ngerman, du
-mylang, nohyphenation, loaded.
-(C:\texmf\tex\latex\base\report.cls
-Document Class: report 2004/02/16 v1.4f Standard LaTeX document class
-(C:\texmf\tex\latex\base\size10.clo
-File: size10.clo 2004/02/16 v1.4f Standard LaTeX file (size option)
-)
-\c@part=\count79
-\c@chapter=\count80
-\c@section=\count81
-\c@subsection=\count82
-\c@subsubsection=\count83
-\c@paragraph=\count84
-\c@subparagraph=\count85
-\c@figure=\count86
-\c@table=\count87
-\abovecaptionskip=\skip41
-\belowcaptionskip=\skip42
-\bibindent=\dimen102
-) (C:\texmf\tex\latex\psnfss\times.sty
-Package: times 2004/09/15 PSNFSS-v9.2 (SPQR) 
-)
-(C:\texmf\tex\latex\ltxmisc\a4wide.sty
-Package: a4wide 1994/08/30
- (C:\texmf\tex\latex\ntgclass\a4.sty
-Package: a4 2004/04/15 v1.2g A4 based page layout
-))
-(pdfpages.sty
-Package: pdfpages 2001/04/10 v0.1h4 Include pages of external PDF documents (AM
-)
- (C:\texmf\tex\latex\base\ifthen.sty
-Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
-)
-(C:\texmf\tex\latex\graphics\graphicx.sty
-Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
-
-(C:\texmf\tex\latex\graphics\keyval.sty
-Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
-\KV@toks@=\toks14
-)
-(C:\texmf\tex\latex\graphics\graphics.sty
-Package: graphics 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)
- (C:\texmf\tex\latex\graphics\trig.sty
-Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
-) (C:\texmf\tex\latex\00miktex\graphics.cfg
-File: graphics.cfg 2003/03/12 v1.1 MiKTeX 'graphics' configuration
-)
-Package graphics Info: Driver file: pdftex.def on input line 80.
-
-(C:\texmf\tex\latex\graphics\pdftex.def
-File: pdftex.def 2002/06/19 v0.03k graphics/color for pdftex
-\Gread@gobject=\count88
-))
-\Gin@req@height=\dimen103
-\Gin@req@width=\dimen104
-) (eso-pic.sty
-Package: eso-pic 1998/07/11 v0.5 eso-pic -- extension to `everyshi' (RN)
- (everyshi.sty
-Package: everyshi 1999/06/08 v2.03 EveryShipout Package (MS)
-))
-(C:\texmf\tex\latex\tools\calc.sty
-Package: calc 1998/07/07 v4.1b Infix arithmetic (KKT,FJ)
-\calc@Acount=\count89
-\calc@Bcount=\count90
-\calc@Adimen=\dimen105
-\calc@Bdimen=\dimen106
-\calc@Askip=\skip43
-\calc@Bskip=\skip44
-LaTeX Info: Redefining \setlength on input line 59.
-LaTeX Info: Redefining \addtolength on input line 60.
-\calc@denominator=\count91
-)) (C:\texmf\tex\latex\float\float.sty
-Package: float 2001/11/08 v1.3d Float enhancements (AL)
-\c@float@type=\count92
-\float@exts=\toks15
-\float@box=\box26
-\@float@everytoks=\toks16
-\@floatcapt=\box27
-)
-\symmathbold=\mathgroup4
-LaTeX Font Info:    Redeclaring math alphabet \mbi on input line 43.
-LaTeX Font Info:    Overwriting math alphabet `\mbi' in version `normal'
-(Font)                  OML/cmm/b/it --> OML/cmm/b/it on input line 43.
-LaTeX Font Info:    Overwriting math alphabet `\mbi' in version `bold'
-(Font)                  OML/cmm/b/it --> OML/cmm/b/it on input line 43.
-\symmathboldrg=\mathgroup5
-\symmathboldr=\mathgroup6
-LaTeX Font Info:    Redeclaring math symbol \beta on input line 74.
-
-(C:\texmf\tex\latex\thumbpdf\thumbpdf.sty
-Package: thumbpdf 2004/11/19 v3.7 Inclusion of thumbnails (HO)
-
-
-Package thumbpdf Warning: Thumbnail data file `report.tpt' not found.
-
-) (C:\texmf\tex\latex\base\alltt.sty
-Package: alltt 1997/06/16 v2.0g defines alltt environment
-) (C:\texmf\tex\latex\tools\hhline.sty
-Package: hhline 1994/05/23 v2.03 Table rule package (DPC)
-)
-(multirow.sty
-\bigstrutjot=\dimen107
-) (C:\texmf\tex\latex\ltxmisc\url.sty
-\Urlmuskip=\muskip10
-Package: url 2004/03/15  ver 3.1  Verb mode for urls, etc.
-) (rotating.sty
-Package: rotating 1997/09/26, v2.13 Rotation package
-\c@r@tfl@t=\count93
-\rot@float@box=\box28
-) (ifpdf.sty)
-
-LaTeX Warning: Unused global option(s):
-    [times].
-
-(report.aux (integration.aux))
-LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 135.
-LaTeX Font Info:    ... okay on input line 135.
-LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 135.
-LaTeX Font Info:    ... okay on input line 135.
-LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 135.
-LaTeX Font Info:    ... okay on input line 135.
-LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 135.
-LaTeX Font Info:    ... okay on input line 135.
-LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 135.
-LaTeX Font Info:    ... okay on input line 135.
-LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 135.
-LaTeX Font Info:    ... okay on input line 135.
-LaTeX Font Info:    Try loading font information for OT1+ptm on input line 135.
-
- (C:\texmf\tex\latex\psnfss\ot1ptm.fd
-File: ot1ptm.fd 2001/06/04 font definitions for OT1/ptm.
-)
-(C:\texmf\tex\context\base\supp-pdf.tex (C:\texmf\tex\context\base\supp-mis.tex
-loading : Context Support Macros / Miscellaneous (2004.10.26)
-\protectiondepth=\count94
-\scratchcounter=\count95
-\scratchtoks=\toks17
-\scratchdimen=\dimen108
-\scratchskip=\skip45
-\scratchmuskip=\muskip11
-\scratchbox=\box29
-\scratchread=\read1
-\scratchwrite=\write3
-\zeropoint=\dimen109
-\onepoint=\dimen110
-\onebasepoint=\dimen111
-\minusone=\count96
-\thousandpoint=\dimen112
-\onerealpoint=\dimen113
-\emptytoks=\toks18
-\nextbox=\box30
-\nextdepth=\dimen114
-\everyline=\toks19
-\!!counta=\count97
-\!!countb=\count98
-\recursecounter=\count99
-)
-loading : Context Support Macros / PDF (2004.03.26)
-\nofMPsegments=\count100
-\nofMParguments=\count101
-\MPscratchCnt=\count102
-\MPscratchDim=\dimen115
-\MPnumerator=\count103
-\everyMPtoPDFconversion=\toks20
-)
-LaTeX Font Info:    Font shape `OT1/ptm/bx/n' in size <24.88> not available
-(Font)              Font shape `OT1/ptm/b/n' tried instead on input line 139.
- (report.toc
-LaTeX Font Info:    Font shape `OT1/ptm/bx/n' in size <10> not available
-(Font)              Font shape `OT1/ptm/b/n' tried instead on input line 1.
-LaTeX Font Info:    External font `cmex10' loaded for size
-(Font)              <7> on input line 2.
-LaTeX Font Info:    External font `cmex10' loaded for size
-(Font)              <5> on input line 2.
-LaTeX Font Info:    Try loading font information for OML+cmbrm on input line 2.
-
- (C:\texmf\tex\latex\cmbright\omlcmbrm.fd
-File: omlcmbrm.fd 1999/05/12 v7.3 (WaS)
-))
-\tf@toc=\write4
- [1
-
-
-{psfonts.map}]
-LaTeX Font Info:    External font `cmex10' loaded for size
-(Font)              <12> on input line 171.
-LaTeX Font Info:    External font `cmex10' loaded for size
-(Font)              <8> on input line 171.
-LaTeX Font Info:    External font `cmex10' loaded for size
-(Font)              <6> on input line 171.
-
-[1] (integration.tex
-Chapter 1.
-LaTeX Font Info:    Font shape `OT1/ptm/bx/n' in size <20.74> not available
-(Font)              Font shape `OT1/ptm/b/n' tried instead on input line 1.
-LaTeX Font Info:    Try loading font information for OT1+pcr on input line 9.
-(C:\texmf\tex\latex\psnfss\ot1pcr.fd
-File: ot1pcr.fd 2001/06/04 font definitions for OT1/pcr.
-)
-Overfull \hbox (0.12042pt too wide) in paragraph at lines 9--12
-[][]\OT1/pcr/m/n/10 zdll.lib\OT1/ptm/m/n/10 zziplib.lib xerces-c[]2.lib devil.l
-ib glut32.lib OpenGL32.Lib glu32.lib glew32.lib glew32s.lib
- []
-
-! Misplaced alignment tab character &.
-l.20   Use &
-            quot;Release&quot; as build target.
-? q
-OK, entering \batchmode...
-! Misplaced alignment tab character &.
-l.20   Use &quot;Release&
-                         quot; as build target.
-I can't figure out why you would want to use a tab mark
-here. If you just want an ampersand, the remedy is
-simple: Just type `I\&' now. But if some right brace
-up above has ended a previous alignment prematurely,
-you're probably due for more error messages, and you
-might try typing `S' now just to see what is salvageable.
-
-! Misplaced alignment tab character &.
-l.21   Build the project &
-                          quot;Testpreprocessor&quot;
-I can't figure out why you would want to use a tab mark
-here. If you just want an ampersand, the remedy is
-simple: Just type `I\&' now. But if some right brace
-up above has ended a previous alignment prematurely,
-you're probably due for more error messages, and you
-might try typing `S' now just to see what is salvageable.
-
-! Misplaced alignment tab character &.
-l.21   Build the project &quot;Testpreprocessor&
-                                                quot;
-I can't figure out why you would want to use a tab mark
-here. If you just want an ampersand, the remedy is
-simple: Just type `I\&' now. But if some right brace
-up above has ended a previous alignment prematurely,
-you're probably due for more error messages, and you
-might try typing `S' now just to see what is salvageable.
-
-! Misplaced alignment tab character &.
-l.27 ...iewCellsManager::LoadViewCells(filename, &
-                                                  objects,
-I can't figure out why you would want to use a tab mark
-here. If you just want an ampersand, the remedy is
-simple: Just type `I\&' now. But if some right brace
-up above has ended a previous alignment prematurely,
-you're probably due for more error messages, and you
-might try typing `S' now just to see what is salvageable.
-
-! Misplaced alignment tab character &.
-l.28   &
-        bconverter); The bouning box converter is used to associate entities...
-I can't figure out why you would want to use a tab mark
-here. If you just want an ampersand, the remedy is
-simple: Just type `I\&' now. But if some right brace
-up above has ended a previous alignment prematurely,
-you're probably due for more error messages, and you
-might try typing `S' now just to see what is salvageable.
-
-! Missing $ inserted.
-<inserted text> 
-                $
-l.34 ...th the preprocessed view cells. */ class _
-                                                  _declspec(dllexport)
-I've inserted a begin-math/end-math symbol since I think
-you left one out. Proceed, with fingers crossed.
-
-! Missing { inserted.
-<to be read again> 
-                   _
-l.34 ...h the preprocessed view cells. */ class __
-                                                  declspec(dllexport)
-A left brace was mandatory here, so I've put one in.
-You might want to delete and/or insert some corrections
-so that I will find a matching right brace soon.
-(If you're confused by all this, try typing `I}' now.)
-
-! Misplaced alignment tab character &.
-l.40 ...t CastRay(GtpVisibilityPreprocessor::Ray &
-                                                  ray); bool IsConvex()
-I can't figure out why you would want to use a tab mark
-here. If you just want an ampersand, the remedy is
-simple: Just type `I\&' now. But if some right brace
-up above has ended a previous alignment prematurely,
-you're probably due for more error messages, and you
-might try typing `S' now just to see what is salvageable.
-
-! Misplaced alignment tab character &.
-l.43   &
-        point, GtpVisibilityPreprocessor::Vector3 &normal); int GetRandomVis...
-I can't figure out why you would want to use a tab mark
-here. If you just want an ampersand, the remedy is
-simple: Just type `I\&' now. But if some right brace
-up above has ended a previous alignment prematurely,
-you're probably due for more error messages, and you
-might try typing `S' now just to see what is salvageable.
-
-! Misplaced alignment tab character &.
-l.43 ...oint, GtpVisibilityPreprocessor::Vector3 &
-                                                  normal); int GetRandomVisi...
-I can't figure out why you would want to use a tab mark
-here. If you just want an ampersand, the remedy is
-simple: Just type `I\&' now. But if some right brace
-up above has ended a previous alignment prematurely,
-you're probably due for more error messages, and you
-might try typing `S' now just to see what is salvageable.
-
-! Misplaced alignment tab character &.
-l.44   &
-        point, GtpVisibilityPreprocessor::Vector3 &normal, const GtpVisibili...
-I can't figure out why you would want to use a tab mark
-here. If you just want an ampersand, the remedy is
-simple: Just type `I\&' now. But if some right brace
-up above has ended a previous alignment prematurely,
-you're probably due for more error messages, and you
-might try typing `S' now just to see what is salvageable.
-
-! Misplaced alignment tab character &.
-l.44 ...oint, GtpVisibilityPreprocessor::Vector3 &
-                                                  normal, const GtpVisibilit...
-I can't figure out why you would want to use a tab mark
-here. If you just want an ampersand, the remedy is
-simple: Just type `I\&' now. But if some right brace
-up above has ended a previous alignment prematurely,
-you're probably due for more error messages, and you
-might try typing `S' now just to see what is salvageable.
-
-! Misplaced alignment tab character &.
-l.45   &
-        viewpoint, const int maxTries); ostream &Describe(ostream &s); prote...
-I can't figure out why you would want to use a tab mark
-here. If you just want an ampersand, the remedy is
-simple: Just type `I\&' now. But if some right brace
-up above has ended a previous alignment prematurely,
-you're probably due for more error messages, and you
-might try typing `S' now just to see what is salvageable.
-
-! Misplaced alignment tab character &.
-l.45   &viewpoint, const int maxTries); ostream &
-                                                 Describe(ostream &s); prote...
-I can't figure out why you would want to use a tab mark
-here. If you just want an ampersand, the remedy is
-simple: Just type `I\&' now. But if some right brace
-up above has ended a previous alignment prematurely,
-you're probably due for more error messages, and you
-might try typing `S' now just to see what is salvageable.
-
-! Misplaced alignment tab character &.
-l.45 ...int maxTries); ostream &Describe(ostream &
-                                                  s); protected: Entity
-I can't figure out why you would want to use a tab mark
-here. If you just want an ampersand, the remedy is
-simple: Just type `I\&' now. But if some right brace
-up above has ended a previous alignment prematurely,
-you're probably due for more error messages, and you
-might try typing `S' now just to see what is salvageable.
-
-! Misplaced alignment tab character &.
-l.52   IndexedBoundingBoxContainer &
-                                    iboxes, ObjectContainer &objects) const ...
-I can't figure out why you would want to use a tab mark
-here. If you just want an ampersand, the remedy is
-simple: Just type `I\&' now. But if some right brace
-up above has ended a previous alignment prematurely,
-you're probably due for more error messages, and you
-might try typing `S' now just to see what is salvageable.
-
-! Misplaced alignment tab character &.
-l.52 ...ingBoxContainer &iboxes, ObjectContainer &
-                                                  objects) const { // default:
-I can't figure out why you would want to use a tab mark
-here. If you just want an ampersand, the remedy is
-simple: Just type `I\&' now. But if some right brace
-up above has ended a previous alignment prematurely,
-you're probably due for more error messages, and you
-might try typing `S' now just to see what is salvageable.
-
-! Misplaced alignment tab character &.
-l.58 ...wCellsManager->GetViewCell(const Vector3 &
-                                                  viewPoint); 6) The view cell:
-I can't figure out why you would want to use a tab mark
-here. If you just want an ampersand, the remedy is
-simple: Just type `I\&' now. But if some right brace
-up above has ended a previous alignment prematurely,
-you're probably due for more error messages, and you
-might try typing `S' now just to see what is salvageable.
-
-! Missing $ inserted.
-<inserted text> 
-                $
-l.68 
-     
-I've inserted a begin-math/end-math symbol since I think
-you left one out. Proceed, with fingers crossed.
-
-! Missing } inserted.
-<inserted text> 
-                }
-l.68 
-     
-I've inserted something that you may have forgotten.
-(See the <inserted text> above.)
-With luck, this will get me unwedged. But if you
-really didn't forget anything, try typing `2' now; then
-my insertion and my current dilemma will both disappear.
-
-
-Overfull \hbox (7810.21033pt too wide) in paragraph at lines 23--68
-[]$ 
- []
-
-LaTeX Font Info:    Font shape `OT1/ptm/bx/n' in size <14.4> not available
-(Font)              Font shape `OT1/ptm/b/n' tried instead on input line 71.
-
-LaTeX Warning: Reference `chap:analysis' on page 1 undefined on input line 80.
-
-
-LaTeX Warning: Reference `chap:mutual' on page 1 undefined on input line 84.
-
-
-LaTeX Warning: Reference `chap:online' on page 1 undefined on input line 86.
-
-
-LaTeX Warning: Reference `chap:sampling' on page 1 undefined on input line 89.
-
-
-LaTeX Warning: Reference `chap:mutual' on page 1 undefined on input line 93.
-
- [1
-
-
-] [2]
-LaTeX Font Info:    Font shape `OT1/ptm/bx/n' in size <8> not available
-(Font)              Font shape `OT1/ptm/b/n' tried instead on input line 195.
-
-LaTeX Warning: Citation `Weisstein:1999:CCE' on page 3 undefined on input line 
-195.
-
-
-LaTeX Warning: Citation `Durand99-phd' on page 3 undefined on input line 195.
-
-LaTeX Font Info:    Font shape `OT1/ptm/bx/n' in size <12> not available
-(Font)              Font shape `OT1/ptm/b/n' tried instead on input line 199.
-
-LaTeX Warning: Citation `Stolfi:1991:OPG' on page 3 undefined on input line 209
-.
-
-
-LaTeX Warning: Reference `chap:analysis' on page 3 undefined on input line 212.
-
-
-
-LaTeX Warning: Citation `p-rsls-97' on page 3 undefined on input line 251.
-
- [3]
-
-LaTeX Warning: Citation `Gu:1997:PGT' on page 4 undefined on input line 258.
-
-
-LaTeX Warning: Citation `Stolfi:1991:OPG' on page 4 undefined on input line 277
-.
-
-LaTeX Font Info:    Try loading font information for OMS+ptm on input line 282.
-
- (C:\texmf\tex\latex\psnfss\omsptm.fd
-File: omsptm.fd 
-)
-LaTeX Font Info:    Font shape `OMS/ptm/m/n' in size <10> not available
-(Font)              Font shape `OMS/cmsy/m/n' tried instead on input line 282.
-
-LaTeX Warning: Citation `Stolfi:1991:OPG' on page 4 undefined on input line 288
-.
-
-
-LaTeX Warning: Citation `Pu98-DSGIV' on page 4 undefined on input line 288.
-
-
-LaTeX Warning: Reference `chap:analysis' on page 4 undefined on input line 295.
-
-
-
-LaTeX Warning: Reference `chap:mutual' on page 4 undefined on input line 295.
-
- [4]
-
-LaTeX Warning: Citation `Teller:1992:CAA' on page 5 undefined on input line 454
-.
-
-
-LaTeX Warning: Citation `Durand99-phd' on page 5 undefined on input line 454.
-
-LaTeX Font Info:    External font `cmex10' loaded for size
-(Font)              <9> on input line 459.
- [5]
-LaTeX Font Info:    Font shape `OMS/ptm/m/it' in size <10> not available
-(Font)              Font shape `OMS/cmsy/m/n' tried instead on input line 536.
- [6] [7]
-
-LaTeX Warning: Citation `Catmull:1975:CDC' on page 8 undefined on input line 66
-5.
-
-
-LaTeX Warning: Citation `Weiler:1977:HSR' on page 8 undefined on input line 666
-.
-
- [8]) [9] (report.aux (integration.aux))
-
-LaTeX Warning: There were undefined references.
-
-
-LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.
-
- )
-(\end occurred inside a group at level 1)
-
-### simple group (level 1) entered at line 320 ({)
-### bottom level 
-Here is how much of TeX's memory you used:
- 1843 strings out of 95512
- 20692 string characters out of 1189449
- 75536 words of memory out of 1070096
- 4777 multiletter control sequences out of 60000
- 39065 words of font info for 80 fonts, out of 500000 for 1000
- 14 hyphenation exceptions out of 607
- 32i,13n,25p,311b,369s stack positions out of 1500i,500n,5000p,200000b,32768s
-PDF statistics:
- 89 PDF objects out of 300000
- 0 named destinations out of 300000
- 1 words of extra memory for PDF output out of 65536
-<C:\texmf\fonts\type1\bluesky\cm\cmex10.pfb><C:\texmf\fonts\typ
-e1\bluesky\cm\cmmib10.pfb><C:\texmf\fonts\type1\bluesky\cm\cmmi6.pfb><C:\texmf\
-fonts\type1\bluesky\cm\cmsy9.pfb><C:\texmf\fonts\type1\bluesky\cm\cmr9.pfb><C:\
-texmf\fonts\type1\bluesky\cm\cmmi9.pfb><C:\texmf\fonts\type1\bluesky\cm\cmr10.p
-fb><C:\texmf\fonts\type1\bluesky\cm\cmmi10.pfb><C:\texmf\fonts\type1\bluesky\cm
-\cmsy10.pfb>{8r.enc}<C:\texmf\fonts\type1\urw\urwstd\utmri8a.pfb><C:\texmf\font
-s\type1\bluesky\cm\cmsy5.pfb><C:\texmf\fonts\type1\bluesky\cm\cmsy7.pfb><C:\tex
-mf\fonts\type1\bluesky\cm\cmr7.pfb><C:\texmf\fonts\type1\bluesky\cm\cmmi7.pfb><
-C:\texmf\fonts\type1\bluesky\cm\cmmi5.pfb><C:\texmf\fonts\type1\urw\urwstd\ucrr
-8a.pfb><C:\texmf\fonts\type1\urw\urwstd\utmr8a.pfb><C:\texmf\fonts\type1\urw\ur
-wstd\utmb8a.pfb>
-Output written on report.pdf (11 pages, 141699 bytes).
Index: GTP/trunk/Lib/Vis/Preprocessing/manual/report.toc
===================================================================
--- GTP/trunk/Lib/Vis/Preprocessing/manual/report.toc	(revision 2066)
+++ 	(revision )
@@ -1,17 +1,0 @@
-\contentsline {chapter}{\numberline {1}Introduction}{1}
-\contentsline {section}{\numberline {1.1}Structure of the report}{1}
-\contentsline {section}{\numberline {1.2}Domain of visibility problems}{1}
-\contentsline {section}{\numberline {1.3}Dimension of the problem-relevant line set}{3}
-\contentsline {subsection}{\numberline {1.3.1}Parametrization of lines in 2D}{3}
-\contentsline {subsection}{\numberline {1.3.2}Parametrization of lines in 3D}{4}
-\contentsline {subsection}{\numberline {1.3.3}Visibility along a line}{4}
-\contentsline {subsection}{\numberline {1.3.4}Visibility from a point}{4}
-\contentsline {subsection}{\numberline {1.3.5}Visibility from a line segment}{5}
-\contentsline {subsection}{\numberline {1.3.6}Visibility from a region}{5}
-\contentsline {subsection}{\numberline {1.3.7}Global visibility}{5}
-\contentsline {subsection}{\numberline {1.3.8}Summary}{5}
-\contentsline {section}{\numberline {1.4}Classification of visibility algorithms}{5}
-\contentsline {subsection}{\numberline {1.4.1}Scene restrictions}{6}
-\contentsline {subsection}{\numberline {1.4.2}Accuracy}{6}
-\contentsline {subsection}{\numberline {1.4.3}Solution space}{7}
-\contentsline {section}{\numberline {1.5}Summary}{8}
Index: GTP/trunk/Lib/Vis/Preprocessing/manual/report.aux
===================================================================
--- GTP/trunk/Lib/Vis/Preprocessing/manual/report.aux	(revision 2066)
+++ 	(revision )
@@ -1,2 +1,0 @@
-\relax 
-\@input{integration.aux}
Index: GTP/trunk/Lib/Vis/Preprocessing/integration.txt
===================================================================
--- GTP/trunk/Lib/Vis/Preprocessing/integration.txt	(revision 1676)
+++ 	(revision )
@@ -1,137 +1,0 @@
-1) include following libs into your application:
-
-Preprocessor.lib zdll.lib zziplib.lib xerces-c_2.lib devil.lib glut32.lib OpenGL32.Lib glu32.lib glew32.lib glew32s.lib
-
-
-2) view cells are loaded using a similar piece of code like this:
-
-   OctreeBoundingBoxConverter bconverter(this);
-   ObjectContainer objects;
-
-   // load the view cells assigning the found objects to the pvss
-
-   GtpVisibilityPreprocessor::ViewCellsManager *viewCellsManager = 
-      GtpVisibilityPreprocessor::ViewCellsManager::LoadViewCells(filename, &objects, &bconverter);
-
-      The bouning box converter is used to associate entities in the
-      engine and connect them to entities of the visibility
-      preprocessing file.
-
-3) The parameter objects:
-
-      The parameter objects of the type ObjectContainer contains the primitives which
-      will be set visible / invisible accoring to the pvs.
-      
-      They are given as pointers to an Intersectable. 
-      It is therefore necessary to write wrapper for the primitives in
-      your engine. Something like:
-
- 
-/**
-	Wrapper for Ogre object intances for use with the preprocessed view cells.
-*/
-class __declspec(dllexport) OgreMeshInstance: public GtpVisibilityPreprocessor::Intersectable
-{
-public:
-	/** The default constructor taking an entity into account.
-	*/
-	OgreMeshInstance(Entity *ent);
-	
-	/** Returns 'mesh' associated with this instance. 
-	*/
-	Entity *GetEntity() const;
-
-	/** See get.
-	*/
-	void SetEntity(Entity *entity);
-
-
-	/////////////////////////////
-	//-- inherited functions from Intersectable
-
-	GtpVisibilityPreprocessor::AxisAlignedBox3 GetBox() const;
-	
-	int CastRay(GtpVisibilityPreprocessor::Ray &ray);
-	
-	bool IsConvex() const;
-	bool IsWatertight() const;
-	float IntersectionComplexity();
-  
-	int NumberOfFaces() const;
-	int Type() const;
-
-	int GetRandomSurfacePoint(GtpVisibilityPreprocessor::Vector3 &point, 
-							  GtpVisibilityPreprocessor::Vector3 &normal);
-
-	int GetRandomVisibleSurfacePoint(GtpVisibilityPreprocessor::Vector3 &point,
-									 GtpVisibilityPreprocessor::Vector3 &normal,
-									 const GtpVisibilityPreprocessor::Vector3 &viewpoint,
-									 const int maxTries);
-  
-	ostream &Describe(ostream &s);
-	
-
-protected:
-	
-	Entity *mEntity;
-};
-
-
-4) The bounding box converter has to implement the following interface:
-  
-
-/** Class used to assign unique indices to objects using a comparison of bounding boxes.
-*/
-class BoundingBoxConverter
-{
-public:
-	/** Takes a vector of indexed bounding boxes and uses it to identify objects with a similar bounding box
-		and to assign them their index (id).
-		The objects are returned in the object container.
-		
-		@returns true if conversion was successful
-	*/
-	virtual bool IdentifyObjects(const IndexedBoundingBoxContainer &iboxes,
-				ObjectContainer &objects) const
-	{
-		// default: do nothing as we assume that a unique id is already assigned to the objects.
-		return true;
-	}
-};
-
-
-The interface only contains the method IdentifyObjects, which will be
-responsible for the conversion.
-
-5) The ViewCellsManager:
-
-This class is there to control the view cells. You can get a view
-point by using something like the following:
-
-GtpVisibilityPreprocessor::Vector3 viewPoint;
-
-ViewCell *currentViewCell = viewCellsManager->GetViewCell(const Vector3 &viewPoint);
-
-
-6) The view cell: the Pvs of the current view cell can be received by using
-
-ObjectPvs pvs = viewCell->GetPvs();
-
-Then objects of the pvs can be iterated over and set visibible like in
-this example for Ogre:
-
-
-     GtpVisibilityPreprocessor::ObjectPvsMap::const_iterator oit, oit_end = viewCell->GetPvs().mEntries.end();
-
-     ////////////
-     //-- set PVS of view cell to visible
-
-     for (oit = viewCell->GetPvs().mEntries.begin(); oit != oit_end; ++ oit)
-     {
-	GtpVisibilityPreprocessor::Intersectable *entry = (*oit).first;
-	// no associated geometry found
-	if (!entry) continue;
-	
-	OgreMeshInstance *omi = dynamic_cast<OgreMeshInstance *>(entry);
-	omi->GetEntity()->setVisible(load);
-     }
