Commit Graph

506 Commits

Author SHA1 Message Date
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
f887565e35 Fixed missing includes. 2011-03-15 22:22:20 +00:00
0b1659bdef Added ConstVolumeProxy to work around const setVoxelAt awkwardness. 2011-03-13 22:44:35 +00:00
7c3e63b2ed Removed call to deprecated function. 2011-03-13 20:34:57 +00:00
b5f60b28a2 getUncompressedBlock() now checks if it's getting the same block as last time. 2011-03-12 19:15:27 +00:00
ff12264744 Raycast class now returns Vector3DInt32 instead of Vector3DInt16. 2011-03-12 13:43:08 +00:00
529ed89bdb More work on handling fixed size volumes. 2011-03-12 12:44:58 +00:00
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
624a192be4 Compile fixes for non-boost systems, mostly related to function and bind. 2011-03-10 20:55:11 +00:00
8e6b1a3b7e Applying ker's patch unmodified. 2011-03-10 20:31:11 +00:00
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
3c34d401fc Added compatibility mode. 2011-02-14 22:14:41 +00:00
03a713867f Documentation and tidying. 2011-02-13 00:31:45 +00:00
4bbea05504 Documentation and tidying. 2011-02-13 00:15:32 +00:00
ad0e923413 Documentation and tidying. 2011-02-13 00:07:12 +00:00
29e2e14c3a More tidying up. 2011-02-12 22:21:17 +00:00
bf9f5aee48 More tidying up. 2011-02-12 21:47:02 +00:00
ed355b856f More tidying up. 2011-02-12 20:47:01 +00:00
81d2bb6408 Refactoring and tidying. 2011-02-10 22:43:34 +00:00
7f831fb97a Made Block copy constructor private. 2011-02-09 22:21:44 +00:00
b1eab6c6a3 2011-02-09 20:52:36 +00:00
4da1f6149a 2011-02-07 23:47:48 +00:00
42db69e013 Fast version of perlin noise. 2011-02-07 22:07:47 +00:00
23a56ed000 More work on compression. 2011-02-07 21:34:57 +00:00
f13e9161f8 More work on compression and bug fixes. 2011-02-06 23:23:01 +00:00
4621ef8091 Start of actual RLE compression. 2011-02-06 22:30:32 +00:00
7be083a243 Implemented cache of uncompressed blocks. 2011-02-06 18:24:05 +00:00
21490c5228 Small crash fixes. 2011-02-05 18:19:15 +00:00
754690e251 Removed block sharing ready for compression. 2011-02-05 17:56:59 +00:00
96cdf7b9a5 Added class documentation to the Raycast class. 2011-01-31 21:37:33 +00:00
1fed1c161a Fix slashes in SWIG files to fix compilation in Linux. 2011-01-28 15:23:18 +00:00
ae3ac704e4 Brought back extractSubset from Thermite. Fixed to work with PositionMaterial vertices. Also made it a free function. 2011-01-23 17:41:06 +00:00
c1ebed678e More SWIG bindings. 2011-01-18 21:59:21 +00:00
03d9eb718f Removed some functions which we probably don't need any more. 2011-01-16 21:44:53 +00:00
21d24ef7d4 Changes to make SWIG bindings easier. Also removed SurfaceMesh::smoothPositions(). 2011-01-16 20:37:42 +00:00
36f8dc0296 More SWIG changes. 2011-01-16 20:22:49 +00:00
513b1878f1 Updated SWIG bindings, especially for C#. 2011-01-16 20:09:59 +00:00
e3dd07c216 Moved the ambient occlusion calculation code from Thermite into PolyVox. 2011-01-16 16:26:10 +00:00
8619b36b5f Small tweaks to Raycast 2011-01-15 23:37:43 +00:00
359c9ec343 Added function to get Array size.
Added new operators to Vector.
2011-01-10 21:29:18 +00:00
b607653e9f Work on raycasting. 2011-01-08 17:31:42 +00:00
8df20f2203 Work on Raycast. 2011-01-08 16:57:33 +00:00
a57e1d749a Got carried away with the cleaning up and removed some stuff that is still needed by Thermite. Would be nice to remove it in the future though. 2011-01-08 16:14:52 +00:00
1d64f7aecb Initial version of new Raycast class. 2011-01-08 15:58:02 +00:00
9310c97333 SurfaceExtractor no longer flags region and material edges.
Region/material edges no longer stored as vertex flags.
Replaced addCubicTriangle with addTriangle.
2011-01-06 23:00:17 +00:00
3205ce6c30 Removed old and redundant Mesh* classes. 2011-01-06 22:46:24 +00:00
83b2f84529 OpenGLExample does decimation now, so so we can check it still compiles. 2011-01-06 22:36:25 +00:00
2b70409baa Optimisations to the MeshDecimator. 2011-01-06 21:41:53 +00:00
149dde9460 Fix compilation on Linux:
- The template addition is apparently a C++ Standard thing which is a bit of a mess but the way GCC interprets it requires these.
 - In XOrg there is a struct called 'Region' which causes ambiguities. For some reason doing 'using PolyVox::Region' didn't fix it.
2011-01-06 17:56:19 +00:00
e6307a9a77 Added some documentation and small performance improvements. 2011-01-05 22:43:46 +00:00