Commit Graph

  • eb45c97a61 Moved marching cubes tables to header file. David Williams 2015-02-06 16:37:08 +01:00
  • d480935e38 Moved A* pathfinder data from .cpp to header. David Williams 2015-02-06 16:08:05 +01:00
  • 8065b709d1 Made Region header only. David Williams 2015-02-06 00:07:32 +01:00
  • ecb3439d22 Reorder initialisation to silence -Wreorder warnings Matt Williams 2014-12-12 10:36:45 +00:00
  • 6d6b190743 Reorganise the CMake scripts to make sure the core library is independent Matt Williams 2014-12-10 15:53:25 +00:00
  • 2e98414fd3 Start updating the library bindings Matt Williams 2014-12-10 15:47:54 +00:00
  • 436e8d479c Compile fix. David Williams 2014-10-03 21:47:04 +02:00
  • 4ed75cd174 Updated changlelog with a quick braindump. David Williams 2014-09-27 09:26:21 +02:00
  • 66fdc19fe9 Added pattern for SWIG interface files. David Williams 2014-09-25 23:02:39 +02:00
  • 86357d66b7 Normalized line endings David Williams 2014-09-25 22:38:01 +02:00
  • c560e84be5 Added gitattributes file for proper handling of line endings. David Williams 2014-09-25 22:31:13 +02:00
  • 6a6e1e49e1 Merge branch 'feature/volume-work' into develop David Williams 2014-09-21 23:13:06 +02:00
  • 75df6621bd GCC fixes David Williams 2014-09-21 23:07:14 +02:00
  • db2e62d2a8 Replaced LargeVolume and SimpleVolume with PagedVolume in tests and examples. David Williams 2014-09-21 17:57:42 +02:00
  • f95cc6bfca Added comments and warnings. David Williams 2014-09-21 17:50:35 +02:00
  • 3a56a70f38 Put deprecated functions back in - lets remove them in the future after more thought. David Williams 2014-09-21 15:07:54 +02:00
  • ccb9f8d564 Updated documentation. David Williams 2014-09-21 15:03:13 +02:00
  • ae0c5b3702 Added comments and removed deprecated functions. David Williams 2014-09-21 14:47:46 +02:00
  • 33ec5e1d79 Added a couple of comments. David Williams 2014-09-21 12:16:54 +02:00
  • d6a7b83698 Moved Pager to be a nested class of PagedVolume. David Williams 2014-09-21 11:42:12 +02:00
  • db9a74fdb4 Moving Chunk to be a nested class of PagedVolume. David Williams 2014-09-21 10:27:55 +02:00
  • 71035029d1 More renaming blocks to chunks. David Williams 2014-09-20 23:27:28 +02:00
  • 0ab7f27f0f More renaming of block to chunk. David Williams 2014-09-20 21:27:26 +02:00
  • f3a18befad More renaming of 'block' to 'chunk' David Williams 2014-09-20 21:17:21 +02:00
  • 8d7d88a7df Renamed a bunch of stuff from using 'block' to 'chunk' David Williams 2014-09-20 17:39:12 +02:00
  • ede35435a0 Renamed UncompressedBlock to Chunk. David Williams 2014-09-20 17:26:57 +02:00
  • 880dcd8645 Fixed incorrect messages about temp files not being deleted. David Williams 2014-09-20 17:17:18 +02:00
  • 4779f91787 TestVolume unit test now tests PagedVolume rather than SimpleVolume and LargeVolume. David Williams 2014-09-20 14:49:12 +02:00
  • 6f08184fcb Fixed initialization of blocks. David Williams 2014-09-19 17:02:44 +02:00
  • 25a1d95387 Renamed LargeVolume to PagedVolume, deleted SimpleVolume, and set up typedefs pointing LargeVolume and SimpleVolume to PagedVolume for backwards compatibility. David Williams 2014-09-19 16:50:24 +02:00
  • 3a08487dc2 Blocks now stored in an unordered_map (hash based) rather than a map. David Williams 2014-09-18 23:35:16 +02:00
  • 2602b00103 Simplifying code. David Williams 2014-09-18 16:54:14 +02:00
  • b08974c197 Work on limiting memory usage. David Williams 2014-09-18 16:26:47 +02:00
  • d2bbd6beba Some renaming. David Williams 2014-09-18 14:58:17 +02:00
  • 8dd026e095 Work on limiting maximum memory usage. David Williams 2014-09-18 14:51:43 +02:00
  • 38b8764129 Tidying up prefetch function. David Williams 2014-09-18 14:22:44 +02:00
  • e88466ad4d Tidying flush function. David Williams 2014-09-18 14:14:08 +02:00
  • 277b6c7b9b Tidying up. David Williams 2014-09-17 23:53:14 +02:00
  • 916fe310ad Added function to purge null blocks. David Williams 2014-09-17 23:31:23 +02:00
  • 177eb16bec Tidying and commenting. David Williams 2014-09-17 21:40:27 +02:00
  • daa93aab19 Tidying and commenting. David Williams 2014-09-17 21:27:52 +02:00
  • 98526d38d3 Crash fix. David Williams 2014-09-17 21:04:47 +02:00
  • 37f1ddaed2 Work on block storage. David Williams 2014-09-17 17:10:13 +02:00
  • 5b59bc2d8c Moved paging code into block constructor/destructor. David Williams 2014-09-17 13:35:43 +02:00
  • 2b47c959a5 Work on getUncompressedVoxel(). David Williams 2014-09-16 21:39:55 +02:00
  • 704eeaf948 Work on supporting no pager being attached. David Williams 2014-09-16 17:02:53 +02:00
  • 47ace554cc Making use of shared_ptr to track blocks. David Williams 2014-09-14 11:47:17 +02:00
  • 3cf8f38793 Merged Block and UncompressedBlock classes. David Williams 2014-09-13 23:38:11 +02:00
  • 5ff54c041f Renamed variable. David Williams 2014-09-13 23:14:07 +02:00
  • c0a22de2df Removed a lot of compression-related code. David Williams 2014-09-13 12:20:56 +02:00
  • 302c6e688b More work eliminating compression from inside LargeVolume. David Williams 2014-09-13 11:59:51 +02:00
  • bfe03142b7 Carefully dismanteling compression related code. David Williams 2014-09-13 11:30:52 +02:00
  • 4781ca5c42 Work on removing compression from LargeVolume. David Williams 2014-09-12 15:36:28 +02:00
  • 882798ccb8 Modifying surface extractor test to work with LargeVolume. David Williams 2014-09-12 00:02:06 +02:00
  • a9f1a29868 Adding Vector performance test. David Williams 2014-09-05 16:06:40 +02:00
  • 40a290bfce Merge branch 'feature/optimize-extractors' into develop David Williams 2014-08-26 21:36:43 +02:00
  • 25860122b0 Fixed incorrect array indexing. David Williams 2014-08-25 23:07:29 +02:00
  • 09e68d923e Merge branch 'develop' into feature/optimize-extractors David Williams 2014-08-24 23:15:30 +02:00
  • 089303f02f Fix for example. David Williams 2014-08-24 23:05:29 +02:00
  • d06dbdf054 Bit renaming. Old Array class is gone, and is replaced by the Array2D class which has also been renamed to Array. David Williams 2014-08-24 22:30:50 +02:00
  • d49db280d5 TestVolumeSubclass now uses Array2D instead of Array. David Williams 2014-08-24 21:55:44 +02:00
  • 528873bcd3 Extended 'Array2D class to be multidimensional (will rename it shortly). David Williams 2014-08-24 21:54:59 +02:00
  • 9a1c6784df Steps towards making new array class be multidimensional. David Williams 2014-08-24 12:26:36 +02:00
  • 083c65ecd5 Added asserts. David Williams 2014-08-24 12:03:41 +02:00
  • 1fb82f40b3 Switched to C++11-style hiding of copy constructor and assignment operator. David Williams 2014-08-24 11:51:45 +02:00
  • ad73caf368 Array2D now has private copy constructor and assignment operator to prevent accidental copying. David Williams 2014-08-22 15:49:30 +02:00
  • 0ff0234ce1 Switched marching cubes extractor to use new Array2D instead of array, and it now more than twice as fast in the best case (empty volume). David Williams 2014-08-21 23:04:30 +02:00
  • 83c287727f Additions to Array2D. David Williams 2014-08-21 23:03:38 +02:00
  • 5f8e3df5df Revert "Replaced usage of our 'Array' class with native C array and got significant performance increase." David Williams 2014-08-21 21:38:36 +02:00
  • 20815b6083 Moved Array2D to it's own file. David Williams 2014-08-21 21:38:19 +02:00
  • 46358adfbc New array class is 50(!) times faster than the old one on raw read-write performance. It's also significantly simply. David Williams 2014-08-21 21:31:09 +02:00
  • d9f328cadb It seems the PolyVox Array class is really slow compared to raw C arrays. I've added a test ready for some experimentation. David Williams 2014-08-21 16:57:23 +02:00
  • d0aa7cd60f Replaced usage of our 'Array' class with native C array and got significant performance increase. David Williams 2014-08-21 00:06:20 +02:00
  • 458a534bf3 Eliminated creation of temporary vector. David Williams 2014-08-20 17:18:20 +02:00
  • 4482538f9e Added header for testing RawVolume as well as SimpleVolume. David Williams 2014-08-20 17:16:45 +02:00
  • 43e0d6f417 Merge branch 'feature/mesh-work' into develop David Williams 2014-08-19 21:44:09 +02:00
  • 33c5fe7526 More cubic surface extractor tests. David Williams 2014-08-19 21:36:08 +02:00
  • 17ee7982d5 Added typename for GCC. DavidWilliams 2014-08-19 21:30:37 +02:00
  • 9b88e97599 Linux/GCC fix. David Williams 2014-08-19 21:02:52 +02:00
  • 349009c67e Removed template aliases as they push GCC version up to 4.7, and we don't really *need* them. David Williams 2014-08-19 21:02:06 +02:00
  • 72f696652a Added marching cubes performance tests. David Williams 2014-08-18 22:10:35 +02:00
  • c75b0d58ce Fixed incorrect threshold calculation for floats. David Williams 2014-08-18 22:06:44 +02:00
  • e2051ed713 Tweaks to cubic surface tests. David Williams 2014-08-18 21:25:29 +02:00
  • c0added385 Work on cubic extractor tests. David Williams 2014-08-18 16:48:32 +02:00
  • ec9b06ef0f Work on cubic surface extractor tests. David Williams 2014-08-18 16:40:36 +02:00
  • 4b3b940b91 Removed old testing code. David Williams 2014-08-18 16:29:08 +02:00
  • 0863d82068 Added check to alert the user if their version of Visual Studio is too old. David Williams 2014-08-18 16:20:43 +02:00
  • 502b21c3bd Moved comments around. David Williams 2014-08-18 16:13:59 +02:00
  • 5e7c4fbc12 Added handy type aliases for meshes. David Williams 2014-08-18 16:01:31 +02:00
  • be47aec7f7 Work on cubic extractor tests. David Williams 2014-08-18 15:47:00 +02:00
  • 3c82652f46 Removed the use of clever SFINAE tricks to resolve ambiguous functions. It was proving complex with the cubic surface extractor, so we remove it from the marching cubes version as well. For now, we just rename the ambiguous functions differently to avoid the ambiguity but could come back to this in the future. David Williams 2014-08-18 15:38:18 +02:00
  • ba6685289d Work on cubic extractor interface. David Williams 2014-08-17 23:43:59 +02:00
  • 5c30aa20f9 Working on new tests for extractCubicSurface(). David Williams 2014-08-17 15:45:23 +02:00
  • 1f5c074364 Bringing extractCubicMesh into line with extractMarchingCubesMesh. David Williams 2014-08-16 16:38:32 +02:00
  • 6c30f34089 Renamed 'Controller' to 'ControllerType' when used as a template parameter. David Williams 2014-08-16 16:24:52 +02:00
  • 0ccc268b16 Avoided ambiguous functions through the (possibly too clever) use of SFINAE. David Williams 2014-08-16 09:55:08 +02:00
  • aa4591d206 Added comments. David Williams 2014-08-14 16:34:29 +02:00
  • 93fdd36f8f Work on interface to 'extractMarchingCubesMesh' and tests. David Williams 2014-08-14 15:57:10 +02:00
  • f1ed0c1be2 Examples now support both 16 and 32 bit indices. David Williams 2014-08-13 15:59:13 +02:00
  • d4118a2052 More work on tests. David Williams 2014-08-12 16:53:47 +02:00