Commit Graph

1003 Commits

Author SHA1 Message Date
11fc214583 Documentation for pathfinder. 2010-12-09 21:39:35 +00:00
cb7180f7d0 Adding defines so that Boost can be used instead of C++0x when pathfinding. 2010-12-08 23:24:16 +00:00
c9331c3e35 Moved AStarPathfinder code from Thermite to PolyVox. 2010-12-08 23:06:29 +00:00
30425a4d86 Added default boundaries for Regions::containsPoint() functions. 2010-12-05 12:37:43 +00:00
3752dda53f Patch for improved Boost support for VS2008 and below. 2010-12-02 20:18:19 +00:00
87a526bb46 Without this, Thermite errors at compilation time.
Given the large amount of templated classes in PolyVox perhaps we need some tests in PolyVox which compile classes like this to find errors like this earlier?
2010-11-28 14:07:31 +00:00
fbb3f0537c Fixed bug with 'empty()' being called rather than 'clear()'. 2010-11-22 23:42:45 +00:00
b5814a410c Fixed some warnings with patch from AndiNo. 2010-11-04 23:25:26 +00:00
625bd14187 Added Material8 and Density8 classes, and Thermite now uses the Material8 one. 2010-11-04 23:12:31 +00:00
0b410eaed3 Memory improvements for surface extractor. 2010-10-20 22:14:03 +00:00
695c15cecd More work on CubicSurfaceExtractor. 2010-10-20 21:09:55 +00:00
0ca8a334f2 Improvements to CubicSurfaceExtractor. Now faster and eliminates duplicated vertices. 2010-10-20 20:29:09 +00:00
8df28b87fa Renamed SurfaceVertex.h/cpp to VertexTypes.h/cpp 2010-10-17 22:03:57 +00:00
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
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
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
69e6f439ce CubicSurfaceExtractor support for materials. Also correctly settings the generates mesh's region. 2010-09-23 06:50:15 +00:00
cc1aa8a514 Fix for broken moveNegative...() sampler functions.
Fixed bug in surface extractor causing divide by zero and/or infinite vertices.
2010-09-12 21:10:15 +00:00
c395fc88a9 Fix case. 2010-09-02 09:02:50 +00:00
7f2518e6c8 Changes to support non-C++0x compilers. 2010-09-01 22:01:52 +00:00
40d26b4361 Fixed compile error. 2010-08-31 21:35:33 +00:00
fa2ace83e3 Work on CubicSurfaceExtractor. 2010-08-29 22:02:07 +00:00
43a1d0efa0 Initial version of cubic surface extractor. 2010-08-29 21:43:37 +00:00
1123999d93 Removed 'using namespace' decalarations in inl's. 2010-08-26 22:04:09 +00:00
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
a39cb23dc3 Improvements to surface extractor including proper handling of edge cases. 2010-08-23 21:02:55 +00:00
85e5a27457 Changed interface to SurfaceExtractor. 2010-08-21 20:14:40 +00:00
854c8b6fa4 Removed some redundant variables. 2010-08-21 17:08:40 +00:00
8d000e9235 Renamed getMidDensity() to getThreshold(). 2010-07-13 21:00:30 +00:00
bffacbcb6a Basic support for VC++ prior to 2010. 2010-07-11 08:27:57 +00:00
e8b10fd2b9 Add and cleanup some of the API documentation. 2010-07-05 15:57:24 +00:00
73ff9e16b2 Fixes for build errors on Linux. 2010-06-29 20:58:42 +00:00
bc0829b4f9 Added smoothRegion function to smooth part of a volume. 2010-06-28 17:50:53 +00:00
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
29928b774d Bounds check added to get/setVoxelAt. 2010-06-15 20:32:14 +00:00
7a3f3b2b28 Fix compilation on GCC 2010-05-24 20:12:09 +00:00
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
e1dde122a7 Added documentation for Array class. 2010-04-13 21:36:07 +00:00
9e2f78a2f4 Split Array into separate .h and .inl files. 2010-04-13 20:24:14 +00:00
86f3f7e644 Accepted GCC fix. 2010-04-11 23:19:58 +00:00
2f084686f0 GCC was complaining about the extra qualification here. I've only commented it out to make it clear what I did.
I also needed to include cassert header to handle assert()s in templates.
Fixed compilation on Linux.
2010-03-30 10:52:03 +00:00
3e1c07550b More work on multidimensional Array class. 2010-03-28 23:18:50 +00:00
834b747171 Work on subarrays and some comments. 2010-03-28 22:18:52 +00:00
a9b8e5b0cf Moved some stuff from Array to SubArray. 2010-03-28 22:04:17 +00:00
9485706e52 Committing missing files.
Fixed inconsistent line endings.
2010-03-28 01:10:59 +00:00
5e687fbd58 Added unit test for Array class. 2010-03-28 00:11:41 +00:00
8240d477bd Documentation for ArraySizes. 2010-03-27 23:45:41 +00:00
2db384b1bc Work on Array and ArraySize classes. 2010-03-27 22:57:56 +00:00
5746a80517 Improved Array class for multidimensional arrays. 2010-03-22 00:02:24 +00:00
f39c2afcb2 Committing missing file. 2010-03-15 17:06:32 +00:00