104 Commits

Author SHA1 Message Date
David Williams
d1649c9323 More work on base Volume class and sampler.
Added new test case for creating a volume subclass.
2011-07-30 10:12:28 +01:00
David Williams
8dc1951a06 More work making volumes use a base class. 2011-07-26 21:36:17 +01:00
David Williams
659529787a Fixing some warnings in PolyVox. 2011-06-11 18:49:56 +01:00
David Williams
528cb73771 Moved headers into subdirectories. 2011-05-17 22:27:46 +01:00
David Williams
3a171e698b Modified SurfaceExtractor to use template template parameters. 2011-04-30 23:51:04 +01:00
David Williams
ea309ab15b Renamed Volume to LargeVolume. 2011-04-28 21:21:59 +01:00
David Williams
96ff5e890a Renamed VolumeSampler to Sampler 2011-04-28 20:37:02 +01:00
David Williams
6f1ddb7d5f Moved VolumeSampler into Volume class. 2011-04-28 20:30:16 +01:00
David Williams
ef52b906e6 Switched PoyVox to build as a static library. 2011-04-20 23:25:32 +01:00
David Williams
076ab9865e Merged in RLE branch. 2011-04-05 20:55:20 +00:00
David Williams
5891d56e12 Fix for linker errors when using MeshDecimator. 2011-03-18 22:04:53 +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
f887565e35 Fixed missing includes. 2011-03-15 22:22:20 +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
e3dd07c216 Moved the ambient occlusion calculation code from Thermite into PolyVox. 2011-01-16 16:26:10 +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
3205ce6c30 Removed old and redundant Mesh* classes. 2011-01-06 22:46:24 +00:00
David Williams
c9331c3e35 Moved AStarPathfinder code from Thermite to PolyVox. 2010-12-08 23:06:29 +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
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
7f2518e6c8 Changes to support non-C++0x compilers. 2010-09-01 22:01:52 +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
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
3e1c07550b More work on multidimensional Array class. 2010-03-28 23:18:50 +00:00
David Williams
8240d477bd Documentation for ArraySizes. 2010-03-27 23:45:41 +00:00
David Williams
2db384b1bc Work on Array and ArraySize classes. 2010-03-27 22:57:56 +00:00
David Williams
5746a80517 Improved Array class for multidimensional arrays. 2010-03-22 00:02:24 +00:00
David Williams
34d138417e Work on making the surface extractor use the new Array class. 2010-03-14 22:24:32 +00:00
David Williams
dbde097547 Work on Arrays. 2010-03-14 21:31:17 +00:00
David Williams
33cf693ac8 Added new 'Array' class for supporting multidimensional arrays. 2010-03-14 20:40:52 +00:00
David Williams
b6eb517021 Removed support from SurfaceExtractor for extracting surfaces at different LOD levels. 2010-03-13 00:05:32 +00:00
Matt Williams
44ee0d5309 Include <algorithm> header to fix build when in C++0x mode 2010-02-25 00:16:21 +00:00
David Williams
2d78808000 Renamed IndexedSurfacePatch to SurfaceMesh. 2010-02-20 00:20:43 +00:00
David Williams
3ed74a982c Work on decimation code. 2010-02-19 23:09:35 +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
d3ad3d985b Some tidying up of the LOD work. 2010-02-07 23:48:33 +00:00
David Williams
1448f95b0a More work on LOD - allowing material boundaries to collapse. 2010-02-07 22:53:13 +00:00
David Williams
d238da5fc9 More work on lod decimation. 2010-02-03 22:47:08 +00:00
David Williams
801c7f5c7f Some tidying and commenting of LOD code. 2010-02-03 21:48:04 +00:00
David Williams
89c48cdc27 Working version of mesh decimation code which acts directly on vertex/index buffers.
Also initial work on a 'dynamic' mesh for simplification... but this probably won't be needed now.
2010-02-02 23:18:17 +00:00
David Williams
5c8dd011e7 Switched to ZLib license. 2009-11-10 18:37:50 +00:00
David Williams
a1f5d4dc73 Improved extractSubset() to generate more memory efficient meshes. 2009-11-05 20:56:36 +00:00
David Williams
e820b3de6e Improvements to the way blending between materials is handled. 2009-10-24 18:48:52 +00:00
David Williams
c695a7bc86 Initial work on progressive mesh generation. Currently based on Stan Melax's PolyChop. 2009-10-20 22:02:58 +00:00
David Williams
10c0f794b1 Added flag to test if we are on a material boundary. 2009-09-01 17:24:00 +00:00
David Williams
e5d38b597e Vertices now know whether they are on the edge of an indexed surface patch. This allows improved smoothing. 2009-07-23 16:54:46 +00:00