38 Commits

Author SHA1 Message Date
David Williams
d4118a2052 More work on tests. 2014-08-12 16:53:47 +02:00
David Williams
ed4bdf08c4 Added extraction test for MaterialDensityPair. 2014-08-12 16:09:56 +02:00
David Williams
0b5e7071ae Added double test. 2014-08-12 15:57:52 +02:00
David Williams
ccc9a3c158 More work on surface extraction tests. 2014-08-12 15:53:30 +02:00
David Williams
e2f43ebc5d More work on tests and surface extraction functions. 2014-08-11 23:46:01 +02:00
David Williams
64ba3f20f8 Work on extractor tests. 2014-08-11 16:20:11 +02:00
David Williams
11845c1d31 Work on tests. 2014-08-11 15:53:25 +02:00
David Williams
4b3c8a1648 Committing half-finished work on test so that I can work on it from elsewhere. 2014-08-11 08:46:06 +02:00
David Williams
eaea74b7f8 Templatizing marching cubes extractor on mesh type. 2014-08-10 09:18:27 +02:00
David Williams
8326aa8668 Updated test (not really a useful fix but should probably think want we want from this test anyway). 2014-07-24 22:12:02 +02:00
David Williams
2090b0087c Vertices now carry general purpose 'data' rather than a 'material', though the data will be treated as a material in many cases. This is part of making the architecture more generic and involves some renaming. 2014-05-29 11:39:29 +02:00
David Williams
764c9ac97c Simplified vertex types to structs with public members.
Added (currently dummy) decode methods.
2014-05-27 17:05:15 +02:00
David Williams
4aae00e4a8 Renamed SurfaceMesh to just Mesh 2014-05-23 15:17:07 +02:00
David Williams
ab741583e4 Renamed extractXxxSurface() to extractXxxMesh() 2014-05-22 23:26:40 +02:00
David Williams
f2ba500c4c Merge branch 'develop' into feature/vertex-refactor
Conflicts:
	examples/Basic/main.cpp
	examples/Paging/main.cpp
	examples/SmoothLOD/main.cpp
	library/PolyVoxCore/include/PolyVoxCore/CubicSurfaceExtractorWithNormals.h
	tests/TestCubicSurfaceExtractor.cpp
	tests/TestSurfaceExtractor.cpp
	tests/TestVolumeSubclass.cpp
2014-05-12 23:04:19 +02:00
David Williams
217aa93720 Test now uses free-function surface extractor. 2014-05-11 16:41:52 +02:00
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
Daviw Williams
c5780dd8e2 Brought improved blending changes across from Cubiquity branch. 2014-02-26 16:55:09 +01:00
David Williams
5cab70b24c Fixed code to use proper zero initialisation. 2013-03-04 22:01:43 +01:00
Daviw Williams
898aa24126 Removed code which is redundant after previous commit. 2012-12-19 11:46:44 +01:00
Daviw Williams
44dcb0ba89 Different method of controlling the war mode of the MarchingCubesSurfaceExtractor. 2012-12-19 11:32:45 +01:00
Daviw Williams
2bc8e8e201 Tidying up marching cubes wrap mode support. 2012-12-14 15:32:07 +01:00
Daviw Williams
ca45d49e0c More work on exposing wrap modes to marching cubes. 2012-12-14 15:25:21 +01:00
Daviw Williams
c06bfa9c09 Initial work on exposing the wrap modes to the marching cubes surface extractor. 2012-12-14 15:13:18 +01:00
Matt Williams
d6640f64d0 Add benchmark annotations to the tests
This will affect total running times simce some tests will be run multiple
times but it allows precise becnhmarking.
2012-10-27 21:37:54 +01:00
p265186
3c0f2ab4b2 Fixed all warnings with -Wall and -Wextra 2012-10-25 17:12:41 +02:00
unknown
66035c6d13 Fixes to the way the marching cubes controller is used. 2012-07-15 23:19:59 +02:00
unknown
b140e16083 Renamed MarchingCubesController to DefaultMarchingCubesController. 2012-07-15 23:07:00 +02:00
unknown
9a498bad7b Renamed SurfaceExtractionController to MarchingCubesController. 2012-07-15 17:53:37 +02:00
unknown
679d98735a Renamed SurfaceExtractor to MarchingCubesSurfaceExtractor. 2012-07-15 17:40:37 +02:00
unknown
23fbb59af8 Added test for CustomSurfaceExtractorController. 2012-07-09 18:30:21 +02:00
unknown
1217ea1fd8 Work on custom thresholds in SurfaceExtractionController. 2012-07-09 17:24:55 +02:00
unknown
777b631f88 Mostly removed use of VoxelTypeTraits. It's a bit messy because I'm committing halfway through, as I'm away fro my development machine for the next week and want to pick this up from my laptop.
SurfaceExtractor test is currently broken due to custom threshold support not curretly working.
2012-07-05 14:49:51 +02:00
p265186
9fdc30643a Linux compile fixes. 2012-06-15 17:29:39 +02:00
unknown
29d816d416 Removed template template parameters from SurfaceExtractor. 2012-05-18 15:38:18 +02:00
unknown
a20db7d7cf Work on refactoring voxel types.
Expanded surface extractor test.
2012-02-20 10:16:26 +01:00
unknown
26ea1d8ad3 Added surface extractor tests templatised on voxel type. 2012-02-19 11:24:46 +01:00