16 Commits

Author SHA1 Message Date
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
7c3e63b2ed Removed call to deprecated function. 2011-03-13 20:34:57 +00:00
David Williams
529ed89bdb More work on handling fixed size volumes. 2011-03-12 12:44:58 +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
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
David Williams
f39e2f0935 Fix for surface extractors not extracting surfaces outside of volume. 2010-12-30 21:56:48 +00:00
David Williams
8df28b87fa Renamed SurfaceVertex.h/cpp to VertexTypes.h/cpp 2010-10-17 22:03:57 +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
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
David Williams
1123999d93 Removed 'using namespace' decalarations in inl's. 2010-08-26 22:04:09 +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
David Williams
a39cb23dc3 Improvements to surface extractor including proper handling of edge cases. 2010-08-23 21:02:55 +00:00
David Williams
85e5a27457 Changed interface to SurfaceExtractor. 2010-08-21 20:14:40 +00:00
David Williams
854c8b6fa4 Removed some redundant variables. 2010-08-21 17:08:40 +00:00
David Williams
8d000e9235 Renamed getMidDensity() to getThreshold(). 2010-07-13 21:00:30 +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