295 Commits

Author SHA1 Message Date
f11b4e17c1 Build only one of static or shared libraries
As discussed on the forums, to simplify the CMake code and avoid having to
manually specify dependencies this removes the hack to allow both static
and shared libraries to be built at the same time.

It introduces the new variable LIBRARY_TYPE which can be either STATIC or
DYNAMIC.

See: http://www.volumesoffun.com/phpBB3/viewtopic.php?p=3203#p3203
2012-07-19 17:33:34 +01:00
4916b5952b Fix type in CMake variable.
It would be nice if CMake issued warnings in cases like this but it
seems that it is currently unable to.
2012-07-18 20:36:07 +01:00
b9087ec6bf Fix a few BUILD_→ENABLE_ changes that I missed 2012-07-17 20:26:00 +01:00
66035c6d13 Fixes to the way the marching cubes controller is used. 2012-07-15 23:19:59 +02:00
b140e16083 Renamed MarchingCubesController to DefaultMarchingCubesController. 2012-07-15 23:07:00 +02:00
9a498bad7b Renamed SurfaceExtractionController to MarchingCubesController. 2012-07-15 17:53:37 +02:00
679d98735a Renamed SurfaceExtractor to MarchingCubesSurfaceExtractor. 2012-07-15 17:40:37 +02:00
23fbb59af8 Added test for CustomSurfaceExtractorController. 2012-07-09 18:30:21 +02:00
1217ea1fd8 Work on custom thresholds in SurfaceExtractionController. 2012-07-09 17:24:55 +02:00
1aa1978de1 Removed now redundant cpp files.
Removed a test which we don't need any more.
2012-07-08 08:52:36 +02:00
1d361c583b Removed remaining use of VoxelTypeTraits. 2012-07-08 08:44:54 +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
63c5d510d1 'Fix' the A* test on GCC
Clang is suggesting that there's are some signed/unsigned comparisons
as well as some floating point comparisons which might be causing
some problems.
2012-06-29 18:31:49 +01:00
42e2ebf734 Add a Python test to the suite to test surface extraction 2012-06-21 22:25:20 +01:00
9fdc30643a Linux compile fixes. 2012-06-15 17:29:39 +02:00
06439a71bd Add 'typename' where necessary
This fixes the compilation on Linux after the
template template parameter removals.
2012-06-14 23:07:42 +02:00
71b884e97b Removed remaining uses of template template parameters. 2012-06-12 16:38:51 +02:00
fbdfe3a4ec Removed template template parameters from LowPassFilter. 2012-06-07 16:43:20 +02:00
c9e83f41f1 Removed use of template template parameters from AStarPathfinder. 2012-06-05 16:33:29 +02:00
9db04f38bc Removed use of template template parameters from Raycast and AmbientOcclusionCalculator. 2012-05-31 13:31:42 +02:00
29d816d416 Removed template template parameters from SurfaceExtractor. 2012-05-18 15:38:18 +02:00
fec1191a73 Removed use of template template parameters from CubicSurfaceExtractor. 2012-05-18 15:12:30 +02:00
309f270e67 Exposed 'VoxelType' in BaseVolume. 2012-04-16 16:50:41 +02:00
2207b494e6 Merge branch 'master' of git@gitorious.org:polyvox/polyvox.git 2012-04-16 15:23:53 +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
cf34813d7b Updated expected AStar path on Linux. I don't know why it changed and it still doesn't match the Windows one, but I'll come back to that later. 2012-03-27 14:55:02 +02:00
0e16b0d07e Raycast and ambient occlusion tests now use primitive types instead of Material/Density classes. 2012-03-27 14:32:33 +02:00
6d656ad173 Work on voxel refactoring... 2012-03-27 14:21:43 +02:00
d9192270b6 Added callback function to Raycast, which is used to determine when a ray should stop. 2012-03-15 16:52:54 +01:00
d2a94ac6f4 Added test for raycast. 2012-02-23 17:08:00 +01:00
8d3a66a08c Removed redundant hasMaterial and hasDensity traits.
Changed AStar default validator.
2012-02-20 12:51:54 +01:00
a20db7d7cf Work on refactoring voxel types.
Expanded surface extractor test.
2012-02-20 10:16:26 +01:00
26ea1d8ad3 Added surface extractor tests templatised on voxel type. 2012-02-19 11:24:46 +01:00
3f56ee6f72 More refactoring of basic voxel types. Started replacing getDensity and getMaterial with free functions. 2012-02-18 12:12:38 +01:00
c26f55f550 Fix for type traits test. 2012-02-08 10:42:02 +01:00
c483b44a41 Replaced constants with functions for type traits. 2012-02-06 17:51:37 +01:00
1ab1d9bed3 Refactoring of basic voxel types. 2012-02-02 16:34:06 +01:00
ce11a7a0ae Renamed test funtion. 2012-01-24 16:12:04 +01:00
b4f7ac4f46 More work refactoring basic voxel types. 2012-01-24 15:17:43 +01:00
21ce252e1e Work on refactoring voxel types. 2012-01-16 14:56:47 +01:00
49b5fb3f67 Refactoring of basic voxel types. 2012-01-12 17:14:45 +01:00
b3b22036c1 Updated ambient occlusion tests as a result of 'abs' fixes to raycast. 2012-01-11 18:21:20 +01:00
d5d6319087 Fixes to behavour of LowPassFilter. 2011-12-03 09:43:27 +00:00
6f31898fd7 Renamed Volume base class to BaseVolume.
Added initial version of simple interface.
2011-10-14 23:57:10 +01:00
7bbdb1a29d Added equality/inequality tests for vector and region. 2011-09-24 11:02:01 +01:00
894455e35f Tidying up of headers and #includes. 2011-09-04 12:12:30 +01:00
e8b3fd16e2 Initial version of IteratorController and making LowPassFilter use iterators. 2011-08-15 21:31:52 +01:00
c73b45b721 Fixed bug with RawVolume always starting coordinates at (0,0,0).
Removed Filters.h/.inl
Added Summed Area Table support to LowPassFilter.
Added test for low pass filter.
2011-08-13 08:57:45 +01:00