Commit Graph

69 Commits

Author SHA1 Message Date
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
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
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
c59a659964 Marked some parts of PolyVox as deprecated. 2012-11-09 16:12:26 +01:00
679d98735a Renamed SurfaceExtractor to MarchingCubesSurfaceExtractor. 2012-07-15 17:40:37 +02:00
29d816d416 Removed template template parameters from SurfaceExtractor. 2012-05-18 15:38:18 +02:00
8e4135ad41 Add newlines to end of files to silence compiler warnings 2012-02-27 23:03:36 +00:00
834aa5d6c3 Warning fixes for GCC 4.6. 2011-07-04 22:21:27 +01:00
528cb73771 Moved headers into subdirectories. 2011-05-17 22:27:46 +01:00
3a171e698b Modified SurfaceExtractor to use template template parameters. 2011-04-30 23:51:04 +01:00
ea309ab15b Renamed Volume to LargeVolume. 2011-04-28 21:21:59 +01: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
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
03d9eb718f Removed some functions which we probably don't need any more. 2011-01-16 21:44:53 +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
db13224bba Reverted some accidental commits from testing the MeshDecimator. 2011-01-06 21:54:07 +00:00
a7828995d9 Just tidying up the MeshDecimator stuff a bit... 2011-01-05 22:05:53 +00:00
773cfc4887 Work on MeshDecimator. 2011-01-03 21:46:40 +00:00
090e002ff1 Reverted accidental commit. 2011-01-02 17:50:54 +00:00
68ac0f0056 Work on MeshDecimator. 2011-01-02 17:43:41 +00:00
fd2070bd90 OpenGL examples fix for Linux. 2010-12-27 10:34:51 +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
7f2518e6c8 Changes to support non-C++0x compilers. 2010-09-01 22:01:52 +00:00
85e5a27457 Changed interface to SurfaceExtractor. 2010-08-21 20:14:40 +00:00
c906e71bc3 Tidying up basic OpenGL example. 2010-07-09 21:36:29 +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
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
34d138417e Work on making the surface extractor use the new Array class. 2010-03-14 22:24:32 +00:00
b6eb517021 Removed support from SurfaceExtractor for extracting surfaces at different LOD levels. 2010-03-13 00:05:32 +00:00
2d78808000 Renamed IndexedSurfacePatch to SurfaceMesh. 2010-02-20 00:20:43 +00:00
9aee0d26d2 Removed Stan Melax's stuff. PolyVox should compile on Linux again now. 2010-02-19 21:24:35 +00:00
1448f95b0a More work on LOD - allowing material boundaries to collapse. 2010-02-07 22:53:13 +00:00
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
5c8dd011e7 Switched to ZLib license. 2009-11-10 18:37:50 +00:00
c695a7bc86 Initial work on progressive mesh generation. Currently based on Stan Melax's PolyChop. 2009-10-20 22:02:58 +00:00
53cacc9840 Fixing warnings - Changed Region to use int16 instead of int32. 2009-06-06 14:43:28 +00:00
b0671cee8a Tidying SurfaceExtractor. 2009-06-03 22:42:04 +00:00
4f9c93a454 Work on templatizing surface extractor. 2009-06-03 21:48:26 +00:00
cd0f8529ca Optimising SurfaceExtractor. 2009-06-03 20:47:47 +00:00
5a99101341 Optimising SurfaceExtractor. 2009-06-02 22:51:00 +00:00
f6ffe950f7 Optimising SurfaceExtractor. 2009-05-31 21:49:33 +00:00
f5f5bcf48a Merging code for Lod0 with code for other Lod levels. 2009-05-31 09:49:00 +00:00
83075fe117 Merging code for Lod0 with code for other Lod levels. 2009-05-30 10:02:05 +00:00
44d1178434 Merging code for Lod0 with code for other Lod levels. 2009-05-30 09:37:12 +00:00
358d07b234 SurfaceExtractor now returns shared pointer to surface. 2009-05-29 22:16:51 +00:00
b1e111d940 Refactoring smoothing and normal generation code. 2009-05-27 22:09:38 +00:00
5682b204a6 Refactoring smoothing and normal generation code. 2009-05-27 21:36:52 +00:00
3acd9e5553 Added decimated mesh support to new surface extractor. Integrated with Thermite. 2009-05-20 22:56:25 +00:00