Commit Graph

40 Commits

Author SHA1 Message Date
c384fbfea8 Revert "Eliminated member variable."
This reverts commit 96ec47a972.
2015-05-25 20:35:47 +02:00
96ec47a972 Eliminated member variable. 2015-05-25 17:45:40 +02:00
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
e0ce93acb1 Added comments. 2015-05-25 16:45:52 +02:00
b353cd1ce8 Removed unneeded conditions. 2015-05-25 16:39:30 +02:00
ecc06ba986 Changed the way samplers are used for a minor speed improvement. 2015-05-25 12:05:15 +02:00
f4941fb73c Minor tweaks. 2015-05-24 23:58:51 +02:00
c8124097e3 Using a bit less memory. 2015-05-24 23:32:52 +02:00
69349d95cd Tidying up. 2015-05-24 21:01:01 +02:00
eb3727de30 Vastly simplified logic... hard to believe I made it so complicated :-) 2015-05-24 20:41:46 +02:00
32df8be8da Tweaked conditions and comments. 2015-05-24 07:59:03 +02:00
4e9b0e374b Moved code into outer loops. 2015-05-24 00:02:27 +02:00
cee15a145f Avoid setting the sampler position every iteration. 2015-05-23 17:45:16 +02:00
5b84c5a9a5 Removed unneeded call to setPosition(). 2015-05-23 17:23:59 +02:00
762c9a5090 Switched 3D array back to two 2D arrays to reduce memory usage. 2015-05-22 16:48:42 +02:00
50cf939e8a Reorganizing code. 2015-05-22 16:15:53 +02:00
50a8bebfa9 Removed unneeded logic. 2015-05-21 23:31:19 +02:00
711c262004 Skip outputting some indices. 2015-05-21 23:17:49 +02:00
2a7eb51653 Refactoring multiple loops into one big loop. 2015-05-21 23:12:38 +02:00
797689acea Trying to re-apply some previous optimizations to get old speed back. 2015-05-20 23:45:22 +02:00
9a68582530 Added bounds checks 2015-05-17 11:47:52 +02:00
ccb76bc6d7 More work refactoring code. Examples appear to work now but tests still fail. 2015-05-17 09:52:13 +02:00
a39b7f6a9f More refactoring. 2015-05-16 20:48:15 +02:00
1a1ae75766 More refactoring. 2015-05-16 15:36:39 +02:00
0e8c90c6ee More refactoring... 2015-05-16 09:00:04 +02:00
227b11a764 Cleared array. 2015-05-15 10:03:29 +02:00
b4267b11f5 More refactoring code. 2015-05-15 09:57:32 +02:00
71adc7292c Restructuring code. 2015-05-14 22:10:37 +02:00
89508f8b2b Restructuring code. 2015-05-14 11:48:28 +02:00
f53efa1d64 Restructuring code. 2015-05-14 11:41:16 +02:00
e912950317 Restructuring code... 2015-05-14 11:35:04 +02:00
54f235e09a Restructuring computeBitmask code. 2015-05-14 11:14:39 +02:00
5974a1de9b Restructuring loops... 2015-05-14 10:52:07 +02:00
13fc8c5ba9 Removed unneeded variable. 2015-05-14 07:42:04 +02:00
c4ce66dec5 Replaced 2D pPreviousBitmask and pCurrentBitmask with 3D pBitmask. 2015-05-14 07:15:36 +02:00
2b22213bec Replaced 2D arrays with single 3D array when tracking existing vertices. 2015-05-13 23:05:58 +02:00
5ce0d9c3e0 Cutting down and simplifying Marching Cubes code (also now slower...). 2015-05-10 19:43:09 +02:00
f16a247934 Changed implementation of logging macros.
We have observed some strange performance-related behavior as described here: https://stackoverflow.com/questions/29652787/adding-stringstream-cout-hurts-performance-even-when-the-code-is-never-called

This set of changes addresses this problem. The old macros would simply expand the logging code in place, whereas we now have logging functions and the macros call these. Overall I believe it is tidier.
2015-05-07 22:58:00 +02:00
1213a4047a Fully stripped out references to wrap modes. 2015-03-04 23:13:37 +01:00
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