355 Commits

Author SHA1 Message Date
David Williams
1e9fdf074a Removed the old LargeVolume and SimpleVolume classes, which are now replaced by PagedVolume. 2015-12-20 21:22:29 +00:00
David Williams
403189f357 Removed PolyVoxForwardDeclarations.h. It was a source of confusion because the forward declarations often got out of sync with the real definitions, resulting in confusing template error messages. Furthermore, it does not appear to have actually hurt compile times so I guess it wasn't that useful (or wasn't being used to it's fullest potential). Overall I think PolyVox is not large enough to really benefit from this. 2015-12-20 21:19:20 +00:00
David Williams
354b6aa9d0 When PolyVox files include other PolyVox files the 'PolyVox' part of the path is not needed. This is only needed when examples, tests, and external applications include PolyVox. 2015-12-20 20:56:37 +00:00
David Williams
74dfaa293f Fixed usage of region which was too large for the cubic surface extractor. 2015-12-19 15:26:20 +00:00
David Williams
9e600c0bcb Refactoring CubicSurfaceExtractor to free functions rather than just wrapping a class. 2015-12-17 22:57:41 +00:00
David Williams
43bb832c46 Refactoring CubicSurfaceExtractor to free functions rather than just wrapping a class. 2015-12-08 23:50:41 +00:00
David Williams
9617197893 Refactoring CubicSurfaceExtractor to free functions rather than just wrapping a class. 2015-12-08 23:29:38 +00:00
David Williams
65a973f94e Started refactoring CubicSurfaceExtractor to free functions rather than just wrapping a class. 2015-12-07 23:45:24 +00:00
David Williams
28a3d78354 Removed old deprecated code. 2015-11-30 07:50:32 +00:00
David Williams
ed94fc6f25 Removed old/unused code. 2015-11-30 07:47:59 +00:00
David Williams
7fc9990b79 Fixed warning. 2015-11-29 22:50:09 +00:00
Matt Williams
735b0ab6b1 Fix compile on Linux 2015-06-22 12:06:39 +01:00
David Williams
920c78f4d1 Added sobel gradient back in. 2015-06-16 00:00:32 +02:00
David Williams
f8e1bb8452 Fix for broken normals in marching cubes code. 2015-06-14 13:59:51 +02:00
David Williams
14cac713bd Added comment. 2015-06-01 14:30:38 +02:00
David Williams
ff567aa9f8 Added performance notes. 2015-05-29 23:09:51 +02:00
David Williams
8c35399fc6 Comments and renaming variables. 2015-05-29 20:34:03 +02:00
David Williams
a0c32e22b7 Added comment. 2015-05-29 17:41:40 +02:00
David Williams
96e747d0c3 Revert "Split the code which generates vertices and indices for a single cell into a separate function."
This reverts commit 2fa291d16f13adf039dc4fa636bfccde52377989.
2015-05-29 17:28:07 +02:00
David Williams
942bb37981 Revert "Passing sampled voxel."
This reverts commit ebab89b9adac576b0d20fd8cbacf0154e7e74fe4.
2015-05-29 17:28:01 +02:00
David Williams
ebab89b9ad Passing sampled voxel. 2015-05-28 23:42:50 +02:00
David Williams
2fa291d16f Split the code which generates vertices and indices for a single cell into a separate function. 2015-05-28 23:26:50 +02:00
David Williams
f32bb1d1ed Reduced array accesses. 2015-05-28 23:02:14 +02:00
David Williams
92db006250 Fixed compile warnings. 2015-05-28 22:40:25 +02:00
David Williams
01963bd462 Added comment about performance. 2015-05-28 22:37:05 +02:00
David Williams
68bdd9ca99 Tidying up. 2015-05-28 21:51:57 +02:00
David Williams
ac7bec0c45 Eliminated unused variables. 2015-05-28 21:46:50 +02:00
David Williams
6493e88d4c Removed unnecessary condition. 2015-05-27 22:58:46 +02:00
David Williams
edd1af14ca Removed unnecessary setting of sampler position. 2015-05-27 22:57:48 +02:00
David Williams
ccedb0e294 Replaced separate arrays with arrays of vectors. 2015-05-27 22:55:36 +02:00
David Williams
baf5cf2cab Removed unneeded memsets. 2015-05-27 07:25:04 +02:00
David Williams
48a6929a7a Tidying up. 2015-05-26 21:24:38 +02:00
David Williams
04c4e49aa1 Fully eliminated MarchingCubesSurfaceExtractor class. It's now only a standalone function called 'extractMarchingCubesMesh'. 2015-05-25 21:23:27 +02:00
David Williams
37db0bac52 Moved gradient calculation outside of class. 2015-05-25 21:16:29 +02:00
David Williams
e4ef845045 Removed sobel gradient calculation code.
Removed m_controller member.
2015-05-25 21:00:50 +02:00
David Williams
b3ce982ef3 Removed some member variables. 2015-05-25 20:51:42 +02:00
David Williams
d353685ce9 Restructuring code... 2015-05-25 20:42:40 +02:00
David Williams
1d51ee8d0a Revert "Rather ugly split of some code into a separate function, to keep the main loop as small and simple as possible. To be tidied up shortly."
This reverts commit 13be35aac906ee34448c3160372db4dcb031022f.
2015-05-25 20:35:55 +02:00
David Williams
c384fbfea8 Revert "Eliminated member variable."
This reverts commit 96ec47a972fea2cd6efcaddd276728f8062d8f7b.
2015-05-25 20:35:47 +02:00
David Williams
96ec47a972 Eliminated member variable. 2015-05-25 17:45:40 +02:00
David Williams
13be35aac9 Rather ugly split of some code into a separate function, to keep the main loop as small and simple as possible. To be tidied up shortly. 2015-05-25 17:37:30 +02:00
David Williams
e0ce93acb1 Added comments. 2015-05-25 16:45:52 +02:00
David Williams
b353cd1ce8 Removed unneeded conditions. 2015-05-25 16:39:30 +02:00
David Williams
ecc06ba986 Changed the way samplers are used for a minor speed improvement. 2015-05-25 12:05:15 +02:00
David Williams
f4941fb73c Minor tweaks. 2015-05-24 23:58:51 +02:00
David Williams
c8124097e3 Using a bit less memory. 2015-05-24 23:32:52 +02:00
David Williams
efb9844fe2 Merge branch 'develop' into feature/extractor-optimizations 2015-05-24 21:17:19 +02:00
David Williams
a34eda6250 Simple optimization. 2015-05-24 21:17:09 +02:00
David Williams
69349d95cd Tidying up. 2015-05-24 21:01:01 +02:00
David Williams
eb3727de30 Vastly simplified logic... hard to believe I made it so complicated :-) 2015-05-24 20:41:46 +02:00