David Williams
c7e452f537
Deprecated constructor.
2011-03-21 22:17:00 +00:00
David Williams
708b142702
Added ability to disable volume compression.
2011-03-20 18:56:30 +00:00
David Williams
350d4a6a87
Applying Linux patch.
2011-03-20 11:57:05 +00:00
David Williams
60dbfd9335
Work on making paging optional.
2011-03-19 19:01:04 +00:00
David Williams
3cc2e4383f
Some refactoring of the volume.
2011-03-18 23:54:11 +00:00
David Williams
ef185d79a0
Removed getWidth(), getHeight(), getDepth() and width(), height(), depth() remain deprecated. These functions seem ambiguous, so users have to calculate these values themselves when they want them.
2011-03-16 23:14:28 +00:00
David Williams
0b1659bdef
Added ConstVolumeProxy to work around const setVoxelAt awkwardness.
2011-03-13 22:44:35 +00:00
David Williams
b5f60b28a2
getUncompressedBlock() now checks if it's getting the same block as last time.
2011-03-12 19:15:27 +00:00
David Williams
529ed89bdb
More work on handling fixed size volumes.
2011-03-12 12:44:58 +00:00
David Williams
596dcf507e
Reverted some of ker's changes to bring back the concepts of width, height, and depth.
2011-03-11 22:14:51 +00:00
David Williams
8e6b1a3b7e
Applying ker's patch unmodified.
2011-03-10 20:31:11 +00:00
David Williams
4ef0cfb468
Applied patch from ker such that int32_t's are now used instead of uint16_t's for addressing voxel positions.
2011-03-03 23:00:00 +00:00
David Williams
3c34d401fc
Added compatibility mode.
2011-02-14 22:14:41 +00:00
David Williams
4bbea05504
Documentation and tidying.
2011-02-13 00:15:32 +00:00
David Williams
ad0e923413
Documentation and tidying.
2011-02-13 00:07:12 +00:00
David Williams
29e2e14c3a
More tidying up.
2011-02-12 22:21:17 +00:00
David Williams
bf9f5aee48
More tidying up.
2011-02-12 21:47:02 +00:00
David Williams
ed355b856f
More tidying up.
2011-02-12 20:47:01 +00:00
David Williams
81d2bb6408
Refactoring and tidying.
2011-02-10 22:43:34 +00:00
David Williams
7f831fb97a
Made Block copy constructor private.
2011-02-09 22:21:44 +00:00
David Williams
b1eab6c6a3
2011-02-09 20:52:36 +00:00
David Williams
4da1f6149a
2011-02-07 23:47:48 +00:00
David Williams
23a56ed000
More work on compression.
2011-02-07 21:34:57 +00:00
David Williams
f13e9161f8
More work on compression and bug fixes.
2011-02-06 23:23:01 +00:00
David Williams
4621ef8091
Start of actual RLE compression.
2011-02-06 22:30:32 +00:00
David Williams
7be083a243
Implemented cache of uncompressed blocks.
2011-02-06 18:24:05 +00:00
David Williams
21490c5228
Small crash fixes.
2011-02-05 18:19:15 +00:00
David Williams
754690e251
Removed block sharing ready for compression.
2011-02-05 17:56:59 +00:00
David Williams
fbb3f0537c
Fixed bug with 'empty()' being called rather than 'clear()'.
2010-11-22 23:42:45 +00:00
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