34 Commits

Author SHA1 Message Date
David Williams
9e1de4ba72 Templatised SurfaceMesh class on vertex type.
Replaced 'SurfaceVertex' with PositionMaterial and PositionMaterialNormal classes.
Different surface extractors can now work with different vertex types.
2010-10-17 21:13:46 +00:00
David Williams
56ec37f5e2 Removed all the #pragma region/endregions as these were causing compile warnings from GCC and weren't that useful anyway... 2010-10-12 22:22:38 +00:00
David Williams
059ca90f08 Deprecated old serialization functions.
Added new serialization functions which support versioning.
Added 'resize()' function to volume.
2010-09-25 22:28:53 +00:00
David Williams
7f2518e6c8 Changes to support non-C++0x compilers. 2010-09-01 22:01:52 +00:00
David Williams
40d26b4361 Fixed compile error. 2010-08-31 21:35:33 +00:00
David Williams
cc22b682fa Improved support for borders in Volumes and VolumeSamplers.
More fixes for edge case handling in marching cubes.
2010-08-26 20:48:51 +00:00
Matt Williams
e8b10fd2b9 Add and cleanup some of the API documentation. 2010-07-05 15:57:24 +00:00
David Williams
254fa3329e PolyVox and Thermite3D now support the use of a density component as well as a material component for each voxel. 2010-06-25 21:41:13 +00:00
David Williams
29928b774d Bounds check added to get/setVoxelAt. 2010-06-15 20:32:14 +00:00
David Williams
7ffcd0c7ed Move to VS 2010.
Update to Ogre SDK 1.7.1
Removed support for compilers which don't adhere to C++0X
2010-05-23 21:51:34 +00:00
David Williams
9aee0d26d2 Removed Stan Melax's stuff. PolyVox should compile on Linux again now. 2010-02-19 21:24:35 +00:00
David Williams
5c8dd011e7 Switched to ZLib license. 2009-11-10 18:37:50 +00:00
David Williams
5eb538e925 Added code to determine how much memory a volume is using.
Also map of homogenous regions is no longer static.
2009-10-17 20:39:38 +00:00
David Williams
53cacc9840 Fixing warnings - Changed Region to use int16 instead of int32. 2009-06-06 14:43:28 +00:00
David Williams
5a99101341 Optimising SurfaceExtractor. 2009-06-02 22:51:00 +00:00
David Williams
6e9c31d6bc Renamed VlumeIterator to VolumeSampler. 2009-05-21 22:44:19 +00:00
David Williams
0888948138 Removed redundant stuff from Volume and VolumeIterator.
Fixed bug with scenery not disappearing.
2009-05-21 22:01:40 +00:00
David Williams
330cab3de9 Changes to comment formatting for Doxygen. 2009-05-05 22:27:03 +00:00
David Williams
03163404df Refactoring and optimising Marching Cubes algorithm. 2009-05-04 10:28:20 +00:00
David Williams
362bf9283a Added some documentation for Volume class. 2009-04-26 23:12:45 +00:00
David Williams
cb37ab39da Moved Block from PolyVoxCore to PolyVoxImpl. 2009-04-26 21:20:17 +00:00
David Williams
b7ea308897 Renamed BlockData to Block 2009-04-26 21:09:01 +00:00
David Williams
ed5bff9ee1 Small volume fixes. 2009-04-25 15:47:20 +00:00
David Williams
0b847eb271 Small tweaks. 2009-04-20 19:23:11 +00:00
David Williams
c627c90cd0 Added support for non-cubic volumes. 2009-04-19 22:48:56 +00:00
David Williams
1f6a3231c1 Renamed BlockData to Block, and moved it out of Impl. It might be useful more generally... 2009-04-17 21:57:50 +00:00
David Williams
6e1ddaeb97 Removed Block class. 2009-04-17 21:25:49 +00:00
David Williams
03891ad6bb Linux fix. 2009-04-15 21:21:44 +00:00
David Williams
8f0ca490df Properly implemented Volume::tidyUpMemory(). 2009-04-15 20:50:41 +00:00
David Williams
df68b1fe7a Work on volume memory management. 2009-04-10 08:56:37 +00:00
David Williams
19ed8246ff Removed isShared variable from block class. using shared_ptr reference counting instead. 2009-04-09 22:12:02 +00:00
David Williams
3a9c42576c Removed homogeneous value from Block class. 2009-04-09 22:04:17 +00:00
David Williams
97b162ee20 Work on basic logging framework. 2009-04-06 21:16:40 +00:00
David Williams
df1bf690c9 Massive changes to the organisation of PolyVoxCore and PolyVoxYtil.
Also added start of logging capability.
2009-04-03 21:36:22 +00:00