David Williams
4b3b940b91
Removed old testing code.
2014-08-18 16:29:08 +02:00
David Williams
5e7c4fbc12
Added handy type aliases for meshes.
2014-08-18 16:01:31 +02:00
David Williams
be47aec7f7
Work on cubic extractor tests.
2014-08-18 15:47:00 +02:00
David Williams
ba6685289d
Work on cubic extractor interface.
2014-08-17 23:43:59 +02:00
David Williams
5c30aa20f9
Working on new tests for extractCubicSurface().
2014-08-17 15:45:23 +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
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
David Williams
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
David Williams
0bbb648925
Added functions around CubicSurfaceExtractor.
2014-03-07 16:08:20 +01:00
Daviw Williams
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
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
301f93d896
Turned isQuadNeeded() (which was a stl::function) into a function object.
2012-08-09 16:06:10 +02:00
unknown
679d98735a
Renamed SurfaceExtractor to MarchingCubesSurfaceExtractor.
2012-07-15 17:40:37 +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
309f270e67
Exposed 'VoxelType' in BaseVolume.
2012-04-16 16:50:41 +02:00
unknown
7d1d81c732
Work making CubicSurfaceExtractorWithNormals use 'isQuadNeeded'.
2012-04-16 15:23:45 +02:00
unknown
a15c075c9b
Extended cubic surface extractor test.
2012-03-27 16:35:15 +02:00
unknown
b3f3723a53
Added test for cubic surfce extractor.
2012-03-27 16:06:43 +02:00