69 Commits

Author SHA1 Message Date
David Williams
573c36db87 Renamed vertex classes to the far more meaningful 'CubicVertex' and 'MarchingCubesVertex'. The old names didn't make much sense, even less so now they are templatized. 2014-05-11 15:17:59 +02:00
David Williams
b0a8ca8a64 This commit templatizes the vertex classes on voxel types. This was the main change which was made for Cubiquity and it's very messy at the moment. However, this will improve when we make more use of 'auto' to hide the template madness. 2014-05-07 23:47:18 +02:00
Matt Williams
bc17c802bb Assume C++11 support
Remove all CMake checks for C++11 support since we now assume that we have it.
Replace all polyvox_* macros with standard C++ names.

See #48
2014-02-14 15:03:26 +00:00
unknown
c59a659964 Marked some parts of PolyVox as deprecated. 2012-11-09 16:12:26 +01:00
unknown
679d98735a Renamed SurfaceExtractor to MarchingCubesSurfaceExtractor. 2012-07-15 17:40:37 +02:00
unknown
29d816d416 Removed template template parameters from SurfaceExtractor. 2012-05-18 15:38:18 +02:00
Matt Williams
8e4135ad41 Add newlines to end of files to silence compiler warnings 2012-02-27 23:03:36 +00:00
David Williams
834aa5d6c3 Warning fixes for GCC 4.6. 2011-07-04 22:21:27 +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
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
03d9eb718f Removed some functions which we probably don't need any more. 2011-01-16 21:44:53 +00:00
David Williams
3205ce6c30 Removed old and redundant Mesh* classes. 2011-01-06 22:46:24 +00:00
David Williams
83b2f84529 OpenGLExample does decimation now, so so we can check it still compiles. 2011-01-06 22:36:25 +00:00
David Williams
db13224bba Reverted some accidental commits from testing the MeshDecimator. 2011-01-06 21:54:07 +00:00
David Williams
a7828995d9 Just tidying up the MeshDecimator stuff a bit... 2011-01-05 22:05:53 +00:00
David Williams
773cfc4887 Work on MeshDecimator. 2011-01-03 21:46:40 +00:00
David Williams
090e002ff1 Reverted accidental commit. 2011-01-02 17:50:54 +00:00
David Williams
68ac0f0056 Work on MeshDecimator. 2011-01-02 17:43:41 +00:00
David Williams
fd2070bd90 OpenGL examples fix for Linux. 2010-12-27 10:34:51 +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
7f2518e6c8 Changes to support non-C++0x compilers. 2010-09-01 22:01:52 +00:00
David Williams
85e5a27457 Changed interface to SurfaceExtractor. 2010-08-21 20:14:40 +00:00
David Williams
c906e71bc3 Tidying up basic OpenGL example. 2010-07-09 21:36:29 +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
34d138417e Work on making the surface extractor use the new Array class. 2010-03-14 22:24:32 +00:00
David Williams
b6eb517021 Removed support from SurfaceExtractor for extracting surfaces at different LOD levels. 2010-03-13 00:05:32 +00:00
David Williams
2d78808000 Renamed IndexedSurfacePatch to SurfaceMesh. 2010-02-20 00:20:43 +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
1448f95b0a More work on LOD - allowing material boundaries to collapse. 2010-02-07 22:53:13 +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
c695a7bc86 Initial work on progressive mesh generation. Currently based on Stan Melax's PolyChop. 2009-10-20 22:02:58 +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
b0671cee8a Tidying SurfaceExtractor. 2009-06-03 22:42:04 +00:00
David Williams
4f9c93a454 Work on templatizing surface extractor. 2009-06-03 21:48:26 +00:00
David Williams
cd0f8529ca Optimising SurfaceExtractor. 2009-06-03 20:47:47 +00:00
David Williams
5a99101341 Optimising SurfaceExtractor. 2009-06-02 22:51:00 +00:00
David Williams
f6ffe950f7 Optimising SurfaceExtractor. 2009-05-31 21:49:33 +00:00
David Williams
f5f5bcf48a Merging code for Lod0 with code for other Lod levels. 2009-05-31 09:49:00 +00:00
David Williams
83075fe117 Merging code for Lod0 with code for other Lod levels. 2009-05-30 10:02:05 +00:00
David Williams
44d1178434 Merging code for Lod0 with code for other Lod levels. 2009-05-30 09:37:12 +00:00
David Williams
358d07b234 SurfaceExtractor now returns shared pointer to surface. 2009-05-29 22:16:51 +00:00
David Williams
b1e111d940 Refactoring smoothing and normal generation code. 2009-05-27 22:09:38 +00:00
David Williams
5682b204a6 Refactoring smoothing and normal generation code. 2009-05-27 21:36:52 +00:00
David Williams
3acd9e5553 Added decimated mesh support to new surface extractor. Integrated with Thermite. 2009-05-20 22:56:25 +00:00