Matt Williams
							
						 
					 | 
					
						
						
							
						
						44ee0d5309
					 | 
					
						
						
							
							Include <algorithm> header to fix build when in C++0x mode
						
						
						
						
						
						
					 | 
					
						2010-02-25 00:16:21 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						2d78808000
					 | 
					
						
						
							
							Renamed IndexedSurfacePatch to SurfaceMesh.
						
						
						
						
						
						
					 | 
					
						2010-02-20 00:20:43 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						3ed74a982c
					 | 
					
						
						
							
							Work on decimation code.
						
						
						
						
						
						
					 | 
					
						2010-02-19 23:09:35 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						9aee0d26d2
					 | 
					
						
						
							
							Removed Stan Melax's stuff. PolyVox should compile on Linux again now.
						
						
						
						
						
						
					 | 
					
						2010-02-19 21:24:35 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						d3ad3d985b
					 | 
					
						
						
							
							Some tidying up of the LOD work.
						
						
						
						
						
						
					 | 
					
						2010-02-07 23:48:33 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						1448f95b0a
					 | 
					
						
						
							
							More work on LOD - allowing material boundaries to collapse.
						
						
						
						
						
						
					 | 
					
						2010-02-07 22:53:13 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						d238da5fc9
					 | 
					
						
						
							
							More work on lod decimation.
						
						
						
						
						
						
					 | 
					
						2010-02-03 22:47:08 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						801c7f5c7f
					 | 
					
						
						
							
							Some tidying and commenting of LOD code.
						
						
						
						
						
						
					 | 
					
						2010-02-03 21:48:04 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						89c48cdc27
					 | 
					
						
						
							
							Working version of mesh decimation code which acts directly on vertex/index buffers.
						
						
						
						
						
						
						
						Also initial work on a 'dynamic' mesh for simplification... but this probably won't be needed now. 
						
						
					 | 
					
						2010-02-02 23:18:17 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						5c8dd011e7
					 | 
					
						
						
							
							Switched to ZLib license.
						
						
						
						
						
						
					 | 
					
						2009-11-10 18:37:50 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						a1f5d4dc73
					 | 
					
						
						
							
							Improved extractSubset() to generate more memory efficient meshes.
						
						
						
						
						
						
					 | 
					
						2009-11-05 20:56:36 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						e820b3de6e
					 | 
					
						
						
							
							Improvements to the way blending between materials is handled.
						
						
						
						
						
						
					 | 
					
						2009-10-24 18:48:52 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						c695a7bc86
					 | 
					
						
						
							
							Initial work on progressive mesh generation. Currently based on Stan Melax's PolyChop.
						
						
						
						
						
						
					 | 
					
						2009-10-20 22:02:58 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						10c0f794b1
					 | 
					
						
						
							
							Added flag to test if we are on a material boundary.
						
						
						
						
						
						
					 | 
					
						2009-09-01 17:24:00 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						e5d38b597e
					 | 
					
						
						
							
							Vertices now know whether they are on the edge of an indexed surface patch. This allows improved smoothing.
						
						
						
						
						
						
					 | 
					
						2009-07-23 16:54:46 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						ab906a03f6
					 | 
					
						
						
							
							Improvements to smoothing code.
						
						
						
						
						
						
					 | 
					
						2009-07-04 21:35:10 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						3229fcd62e
					 | 
					
						
						
							
							Added comment.
						
						
						
						
						
						
					 | 
					
						2009-07-04 18:44:00 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						ebcf266bc7
					 | 
					
						
						
							
							Added some normal smoothing code.
						
						
						
						
						
						
					 | 
					
						2009-07-04 17:51:14 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						a7a90a03a1
					 | 
					
						
						
							
							Work on LOD system.
						
						
						
						
						
						
					 | 
					
						2009-06-28 10:59:22 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						e51b9cfee9
					 | 
					
						
						
							
							Work on improving material system.
						
						
						
						
						
						
					 | 
					
						2009-06-27 19:11:33 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						9d1f9e7959
					 | 
					
						
						
							
							Hack to fix crash.
						
						
						
						
						
						
					 | 
					
						2009-06-23 21:01:31 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						b4d9351f1b
					 | 
					
						
						
							
							Regeneration of regions can now be prioritised, for example by distance to camera.
						
						
						
						
						
						
					 | 
					
						2009-06-10 20:57:47 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						3010eb341d
					 | 
					
						
						
							
							Making use of sampling adjacent voxels. General optimisations and improvements.
						
						
						
						
						
						
					 | 
					
						2009-06-06 23:08:08 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						41e33b1f59
					 | 
					
						
						
							
							More optimisations...
						
						
						
						
						
						
					 | 
					
						2009-06-06 20:41:52 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						9225c37b53
					 | 
					
						
						
							
							Fixing warnings - Removed m_v3dRegionOffset from SurfaceExtractor as it was causing unnecessary floating point conversions.
						
						
						
						
						
						
					 | 
					
						2009-06-06 14:51:30 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						53cacc9840
					 | 
					
						
						
							
							Fixing warnings - Changed Region to use int16 instead of int32.
						
						
						
						
						
						
					 | 
					
						2009-06-06 14:43:28 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						b03cfbf26c
					 | 
					
						
						
							
							Fixed crash in release mode.
						
						
						
						
						
						
					 | 
					
						2009-06-06 12:36:07 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						19e860d291
					 | 
					
						
						
							
							Renamed some stuff in SurfaceExtractor.
						
						
						
						
						
						
						
						Added functions to move samplers to adjacent voxels. 
						
						
					 | 
					
						2009-06-06 11:52:56 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						6fdb11ebf4
					 | 
					
						
						
							
							Correctness improvements to surface extractor.
						
						
						
						
						
						
					 | 
					
						2009-06-04 23:06:14 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						b0671cee8a
					 | 
					
						
						
							
							Tidying SurfaceExtractor.
						
						
						
						
						
						
					 | 
					
						2009-06-03 22:42:04 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						4f9c93a454
					 | 
					
						
						
							
							Work on templatizing surface extractor.
						
						
						
						
						
						
					 | 
					
						2009-06-03 21:48:26 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						324987d380
					 | 
					
						
						
							
							Work on templatizing surface extractor.
						
						
						
						
						
						
					 | 
					
						2009-06-03 21:26:54 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						57eed6e901
					 | 
					
						
						
							
							Optimised order in which slice elements are processed.
						
						
						
						
						
						
					 | 
					
						2009-06-03 21:02:15 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						cd0f8529ca
					 | 
					
						
						
							
							Optimising SurfaceExtractor.
						
						
						
						
						
						
					 | 
					
						2009-06-03 20:47:47 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						64318fb546
					 | 
					
						
						
							
							Optimising SurfaceExtractor.
						
						
						
						
						
						
					 | 
					
						2009-06-02 22:38:54 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						47291c59fc
					 | 
					
						
						
							
							Optimising SurfaceExtractor.
						
						
						
						
						
						
					 | 
					
						2009-06-02 19:20:16 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						c0a504703e
					 | 
					
						
						
							
							Optimising SurfaceExtractor.
						
						
						
						
						
						
					 | 
					
						2009-06-01 23:17:56 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						7e11bfabcb
					 | 
					
						
						
							
							Optimising SurfaceExtractor.
						
						
						
						
						
						
					 | 
					
						2009-06-01 23:04:54 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						bca51248b0
					 | 
					
						
						
							
							Optimising SurfaceExtractor.
						
						
						
						
						
						
					 | 
					
						2009-06-01 22:56:45 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						7ea4e95753
					 | 
					
						
						
							
							Optimising SurfaceExtractor.
						
						
						
						
						
						
					 | 
					
						2009-06-01 22:41:24 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						e4ae262f96
					 | 
					
						
						
							
							Optimising SurfaceExtractor.
						
						
						
						
						
						
					 | 
					
						2009-06-01 22:30:17 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						f6ffe950f7
					 | 
					
						
						
							
							Optimising SurfaceExtractor.
						
						
						
						
						
						
					 | 
					
						2009-05-31 21:49:33 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						69d6ad86a7
					 | 
					
						
						
							
							Removed old, redundant surface extraction algorithms (FastSurfaceExtractor and DecimatedSurfaceExtractor). These are now replaced by the general SurfaceExtractor.
						
						
						
						
						
						
					 | 
					
						2009-05-31 09:59:43 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						f5f5bcf48a
					 | 
					
						
						
							
							Merging code for Lod0 with code for other Lod levels.
						
						
						
						
						
						
					 | 
					
						2009-05-31 09:49:00 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						0bd14488b3
					 | 
					
						
						
							
							Merging code for Lod0 with code for other Lod levels.
						
						
						
						
						
						
					 | 
					
						2009-05-30 12:37:31 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						83075fe117
					 | 
					
						
						
							
							Merging code for Lod0 with code for other Lod levels.
						
						
						
						
						
						
					 | 
					
						2009-05-30 10:02:05 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						44d1178434
					 | 
					
						
						
							
							Merging code for Lod0 with code for other Lod levels.
						
						
						
						
						
						
					 | 
					
						2009-05-30 09:37:12 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						358d07b234
					 | 
					
						
						
							
							SurfaceExtractor now returns shared pointer to surface.
						
						
						
						
						
						
					 | 
					
						2009-05-29 22:16:51 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						b1e111d940
					 | 
					
						
						
							
							Refactoring smoothing and normal generation code.
						
						
						
						
						
						
					 | 
					
						2009-05-27 22:09:38 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Williams
							
						 
					 | 
					
						
						
							
						
						5682b204a6
					 | 
					
						
						
							
							Refactoring smoothing and normal generation code.
						
						
						
						
						
						
					 | 
					
						2009-05-27 21:36:52 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 |