355 Commits

Author SHA1 Message Date
David Williams
2c3665905e More work on marching cubes - just setting a save point! 2008-06-05 20:55:06 +00:00
David Williams
c55655b61c More work on new marching cubes implementation - added generateVerticesForSlice() function. 2008-06-05 19:34:41 +00:00
David Williams
8bf6f4d08d New marching cubes implementation - computeBitmaskForSlice is now only called once per slice. 2008-06-05 18:28:21 +00:00
David Williams
63b2c5ccb0 More work on new marching cubes implementation, including addition of 'computeBitmaskForSlice()' function. 2008-06-05 17:45:53 +00:00
David Williams
c0afd9d77f More work on new marching cubes algorithm. Slices are now processed individually. 2008-06-04 19:20:14 +00:00
David Williams
e49859fc40 Initial version of new experimental marching cubes algorithm. Currently about half as fast. 2008-06-03 19:14:27 +00:00
David Williams
72a4e9902c Tidying up. 2008-05-31 12:43:32 +00:00
David Williams
c9b098b14e Refactoring a bit... 2008-05-28 19:16:18 +00:00
David Williams
a3b5bd72b8 Work making SurfacePatchRenderable reformat the mesh as necessary... 2008-05-28 18:46:27 +00:00
David Williams
de7554b9e3 Experimental work removing the need for multi material patch. 2008-05-27 21:33:07 +00:00
David Williams
efd4bdaa79 Surface extractor now generates just one mesh, and it is separately broken into single and multi patches. 2008-05-27 20:24:05 +00:00
David Williams
c8d632b554 Renamed VolumeIterator to BlockVolumeIterator 2008-05-26 20:07:06 +00:00
David Williams
ebeebee126 Tidying up Vector class 2008-05-26 19:58:55 +00:00
David Williams
d0ffdee870 Renamed x(), y(), and z() to getX(), getY(), and getZ() 2008-05-26 19:49:21 +00:00
David Williams
2745d52dc5 Removed dependency on boost::operators 2008-05-26 19:37:37 +00:00
David Williams
22fd38b255 Moved some stuff from VolumeChangeTracker to SurfaceExtractors. 2008-05-25 21:06:58 +00:00
David Williams
db9287303c Added lock and unlock semantics to VolumeChangeTracker. 2008-05-25 20:48:10 +00:00
David Williams
7a4e4556b1 Refactoring VolumeChangeTracker 2008-05-25 19:55:34 +00:00
David Williams
b7e9216355 Refactoring VolumeChangeTracker 2008-05-25 16:20:10 +00:00
David Williams
44af6f12e8 Refactoring VolumeChangeTracker 2008-05-25 15:09:14 +00:00
David Williams
50103589c6 Work reintegrating Region class. 2008-05-25 13:33:22 +00:00
David Williams
f15491ec02 Started reintegrating Region class. 2008-05-25 13:16:04 +00:00
David Williams
05f709482a Rolled back some breaking changes. 2008-05-25 11:36:59 +00:00
David Williams
0ca93a7452 Integrating new Region class with algorithms. 2008-05-24 20:40:13 +00:00
David Williams
96eecdbbe2 Added Region class. 2008-05-24 19:48:41 +00:00
David Williams
c4debf2ca7 Renamed PolyVoxSceneManager to VolumeChangeTracker 2008-05-24 18:58:32 +00:00
Matt Williams
ff39fed7f8 BlockVolume.inl:
- Reapply the fix from r572 since it got lost in the BlockVolume renaming.
- Include headers++

SurfaceExtractors.cpp:
- Add a newline to end of file to quieten gcc
2008-05-24 17:37:52 +00:00
David Williams
0b012cbd75 Moved some code from PolyVoxSceneManager to SurfaceExtractors 2008-05-24 17:29:27 +00:00
David Williams
b42f28793f Renamed Volume to BlockVolume. 2008-05-24 16:25:05 +00:00
Matt Williams
dc9950d1c8 - PolyVox now completely builds on Linux.
- - Fix the template trickery with this one word fix to Volume.inl. For the reason, see http://www.parashift.com/c++-faq-lite/templates.html#faq-35.18
- Add newlines to two more files so that PolyVox build with no warnings at all.
2008-05-24 14:29:56 +00:00
David Williams
06d433f559 Work on seperating PolyVox and Thermite. Now they are two seperate solutions. 2008-05-24 09:29:20 +00:00
David Williams
634a6fc883 Work on volume iterators. 2008-05-23 22:41:02 +00:00
Matt Williams
180981293a Add a newline to the end of the files to quieten gcc's warnings. Yes I'm really in that lazy a mood :) 2008-05-23 21:26:32 +00:00
David Williams
a657f4d4d0 Mostly refactoring and tidying up the code. 2008-05-23 20:59:27 +00:00
Matt Williams
3a8453b370 A few minor changes to help build on Linux
Still get "PolyVox/include/Volume.inl:128: error: ‘mVolume’ was not declared in this scope" though
2008-05-18 19:13:18 +00:00
David Williams
28dda03cb3 Got mesh smoothing working.
Cleaning up code.
Various changes made without internet access.
2008-05-16 20:53:41 +00:00
David Williams
1e73d4013d Switched to smaller and better data structure for finding duplicated vertices. 2008-05-13 20:59:39 +00:00
David Williams
b48b869eb2 Commited refactoring changes made on the train. 2008-05-13 19:49:03 +00:00
David Williams
2107128f7c Only the region size constants remain. 2008-04-27 21:31:02 +00:00
David Williams
f07b617f02 More work to remove fixed size constants. 2008-04-27 15:53:12 +00:00
David Williams
1848780585 More work on removing obscure constants. 2008-04-26 23:21:50 +00:00
David Williams
1fa967fb9b Work on removing obscure constants. 2008-04-26 22:01:29 +00:00
David Williams
1b592cd1fd Changes to allow varying block sizes. 2008-04-26 17:21:25 +00:00
David Williams
1d3c60f341 Tidying code and removing warnings. 2008-04-24 19:06:41 +00:00
David Williams
545aa92d14 Switched to floats for vetex positions ready for mesh smoothing.
Added new way to detect duplicate vertices but it's not enabled as it doesn't work yet...
2008-04-21 18:53:56 +00:00
David Williams
83d6a7327b Separated gradient estimation code. 2008-04-20 21:58:14 +00:00
David Williams
286ba35b42 Various refactoring of volume stuff. Including moving region growing code to scrapyard. 2008-04-20 21:32:44 +00:00
David Williams
efce9b8c95 Template class fixes. 2008-04-20 20:44:14 +00:00
David Williams
bc28e240f3 Templatized VolumeIterator class. 2008-04-20 19:58:37 +00:00
David Williams
593a26ebd2 Templatized Volume class. 2008-04-20 19:23:41 +00:00