349009c67e
Removed template aliases as they push GCC version up to 4.7, and we don't really *need* them.
2014-08-19 21:02:06 +02:00
72f696652a
Added marching cubes performance tests.
2014-08-18 22:10:35 +02:00
e2051ed713
Tweaks to cubic surface tests.
2014-08-18 21:25:29 +02:00
c0added385
Work on cubic extractor tests.
2014-08-18 16:48:32 +02:00
ec9b06ef0f
Work on cubic surface extractor tests.
2014-08-18 16:40:36 +02:00
4b3b940b91
Removed old testing code.
2014-08-18 16:29:08 +02:00
5e7c4fbc12
Added handy type aliases for meshes.
2014-08-18 16:01:31 +02:00
be47aec7f7
Work on cubic extractor tests.
2014-08-18 15:47:00 +02:00
ba6685289d
Work on cubic extractor interface.
2014-08-17 23:43:59 +02:00
5c30aa20f9
Working on new tests for extractCubicSurface().
2014-08-17 15:45:23 +02:00
4aae00e4a8
Renamed SurfaceMesh to just Mesh
2014-05-23 15:17:07 +02:00
ab741583e4
Renamed extractXxxSurface() to extractXxxMesh()
2014-05-22 23:26:40 +02:00
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
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
5dfa7e2562
The CubicSurfaceExtractor now generates vertices of type PositionMaterialNormal rather than PositionMaterial. The normal property is just a dummy and is not filled in, though conceptually we could put something in there in the future (average normal of surrounding faces?)
...
The point of this change is to move towards having a single vertex class with known properties (including normal). This makes it simpler to write code which uses the vertices because we always know which properties are present. This will probably be useful when working with vertex buffer objects.
2014-05-05 20:53:47 +02:00
0bbb648925
Added functions around CubicSurfaceExtractor.
2014-03-07 16:08:20 +01:00
7e08ed7aec
Updated the CubicSurfaceExtractor test to make it a bit more performance intensive, Cubiquity is showing a need for some improvements here. Also added a performance improvement to the CubicsurfaceExtractor.
2013-02-08 15:05:45 +01:00
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
3c0f2ab4b2
Fixed all warnings with -Wall and -Wextra
2012-10-25 17:12:41 +02:00
301f93d896
Turned isQuadNeeded() (which was a stl::function) into a function object.
2012-08-09 16:06:10 +02:00
679d98735a
Renamed SurfaceExtractor to MarchingCubesSurfaceExtractor.
2012-07-15 17:40:37 +02:00
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
9fdc30643a
Linux compile fixes.
2012-06-15 17:29:39 +02:00
309f270e67
Exposed 'VoxelType' in BaseVolume.
2012-04-16 16:50:41 +02:00
7d1d81c732
Work making CubicSurfaceExtractorWithNormals use 'isQuadNeeded'.
2012-04-16 15:23:45 +02:00
a15c075c9b
Extended cubic surface extractor test.
2012-03-27 16:35:15 +02:00
b3f3723a53
Added test for cubic surfce extractor.
2012-03-27 16:06:43 +02:00