264 Commits

Author SHA1 Message Date
David Williams
416ae8eb7f Revert "Removed 'AllInternal' part of function name as it is now redundant."
This reverts commit 42e8b2cf4478b40663437df724a2cd292255671f.
2015-02-28 09:59:11 +01:00
David Williams
3ace735619 Work on removing wrap modes. 2015-02-27 13:48:31 +01:00
David Williams
64d010527b Removed old getVoxelAt()/setVoxelAt() functions. they've been flagged as deprecated for a while now, and are replaced by just getVoxel()/setVoxel(). 2015-02-27 11:07:15 +01:00
David Williams
42e8b2cf44 Removed 'AllInternal' part of function name as it is now redundant. 2015-02-26 22:15:19 +01:00
David Williams
917d3b8c95 Removing tests which depend on wrap modes, in preparation for removing the wrap modes themselves. 2015-02-26 17:07:00 +01:00
David Williams
7e19706681 C++11 random number generators are consistent across platforms, but the distribution classes are not: http://stackoverflow.com/a/13589262 2015-02-10 23:35:17 +01:00
David Williams
f87966686d Another 'typename', GCC really likes these. 2015-02-10 21:52:05 +01:00
David Williams
1cbc0605fd Added 'typename'. 2015-02-10 21:49:28 +01:00
David Williams
feb9b6bdc6 Switched to using C++11 random number generator (MT) for tests, hoping it will be consistent across platforms. 2015-02-10 21:46:09 +01:00
David Williams
c62bde0066 Work on getting the OpenGL/Qt5 support working with new header-only library. 2015-02-09 22:11:06 +01:00
David Williams
049a77cd0c Moved all headers from 'PolyVoxCore' to 'PolyVox', as we no longer have the core/util distinction. 2015-02-07 17:26:36 +01:00
David Williams
16a75d0606 Reoranising header structure. 2015-02-07 17:16:54 +01:00
David Williams
a296807ed9 Removed PolyVoxUtil. 2015-02-07 14:59:08 +01:00
David Williams
c3f2e5217e Removed CMake code which tries to build/use PolyVoxCore as a library. 2015-02-06 23:29:35 +01:00
David Williams
86357d66b7 Normalized line endings 2014-09-25 22:38:01 +02:00
David Williams
75df6621bd GCC fixes 2014-09-21 23:07:14 +02:00
David Williams
db2e62d2a8 Replaced LargeVolume and SimpleVolume with PagedVolume in tests and examples. 2014-09-21 17:57:42 +02:00
David Williams
880dcd8645 Fixed incorrect messages about temp files not being deleted. 2014-09-20 17:17:18 +02:00
David Williams
4779f91787 TestVolume unit test now tests PagedVolume rather than SimpleVolume and LargeVolume. 2014-09-20 14:49:12 +02:00
David Williams
d2bbd6beba Some renaming. 2014-09-18 14:58:17 +02:00
David Williams
8dd026e095 Work on limiting maximum memory usage. 2014-09-18 14:51:43 +02:00
David Williams
c0a22de2df Removed a lot of compression-related code. 2014-09-13 12:20:56 +02:00
David Williams
302c6e688b More work eliminating compression from inside LargeVolume. 2014-09-13 11:59:51 +02:00
David Williams
4781ca5c42 Work on removing compression from LargeVolume. 2014-09-12 15:36:28 +02:00
David Williams
882798ccb8 Modifying surface extractor test to work with LargeVolume. 2014-09-12 00:02:06 +02:00
David Williams
a9f1a29868 Adding Vector performance test. 2014-09-05 16:06:40 +02:00
David Williams
25860122b0 Fixed incorrect array indexing. 2014-08-25 23:07:29 +02:00
David Williams
d06dbdf054 Bit renaming. Old Array class is gone, and is replaced by the Array2D class which has also been renamed to Array. 2014-08-24 22:30:50 +02:00
David Williams
d49db280d5 TestVolumeSubclass now uses Array2D instead of Array. 2014-08-24 21:55:44 +02:00
David Williams
528873bcd3 Extended 'Array2D class to be multidimensional (will rename it shortly). 2014-08-24 21:54:59 +02:00
David Williams
20815b6083 Moved Array2D to it's own file. 2014-08-21 21:38:19 +02:00
David Williams
46358adfbc New array class is 50(!) times faster than the old one on raw read-write performance. It's also significantly simply. 2014-08-21 21:31:09 +02:00
David Williams
d9f328cadb It seems the PolyVox Array class is really slow compared to raw C arrays. I've added a test ready for some experimentation. 2014-08-21 16:57:23 +02:00
David Williams
4482538f9e Added header for testing RawVolume as well as SimpleVolume. 2014-08-20 17:16:45 +02:00
David Williams
33c5fe7526 More cubic surface extractor tests. 2014-08-19 21:36:08 +02:00
David Williams
349009c67e Removed template aliases as they push GCC version up to 4.7, and we don't really *need* them. 2014-08-19 21:02:06 +02:00
David Williams
72f696652a Added marching cubes performance tests. 2014-08-18 22:10:35 +02:00
David Williams
e2051ed713 Tweaks to cubic surface tests. 2014-08-18 21:25:29 +02:00
David Williams
c0added385 Work on cubic extractor tests. 2014-08-18 16:48:32 +02:00
David Williams
ec9b06ef0f Work on cubic surface extractor tests. 2014-08-18 16:40:36 +02:00
David Williams
4b3b940b91 Removed old testing code. 2014-08-18 16:29:08 +02:00
David Williams
5e7c4fbc12 Added handy type aliases for meshes. 2014-08-18 16:01:31 +02:00
David Williams
be47aec7f7 Work on cubic extractor tests. 2014-08-18 15:47:00 +02:00
David Williams
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.
2014-08-18 15:38:18 +02:00
David Williams
ba6685289d Work on cubic extractor interface. 2014-08-17 23:43:59 +02:00
David Williams
5c30aa20f9 Working on new tests for extractCubicSurface(). 2014-08-17 15:45:23 +02:00
David Williams
0ccc268b16 Avoided ambiguous functions through the (possibly too clever) use of SFINAE. 2014-08-16 09:55:08 +02:00
David Williams
93fdd36f8f Work on interface to 'extractMarchingCubesMesh' and tests. 2014-08-14 15:57:10 +02:00
David Williams
d4118a2052 More work on tests. 2014-08-12 16:53:47 +02:00
David Williams
ed4bdf08c4 Added extraction test for MaterialDensityPair. 2014-08-12 16:09:56 +02:00