Commit Graph

582 Commits

Author SHA1 Message Date
ec8b2f374c LowPassFilter no longer requires convertToDensity() but instead assumes voxel types define operator+=, operator/=, etc. 2012-07-04 16:06:43 +02:00
11685a1874 Rename BUILD_TESTING to ENABLE_TESTS and WITH_BINDINGS to ENABLE_BINDINGS
This is for future consistency where ENABLE_ variables will denote optional
components of PolyVox and WITH_ variables denote optionally using features
provided by external libraries (e.g. OGRE compatibility).
2012-06-26 17:08:44 +01:00
ffa14c6f39 Removed SurfaceExtractorController from Material as it doesn't really make sense to use the marching cubes surface extractor on this type. 2012-06-26 17:01:40 +02:00
43b25dc20f Merge branch 'master' of git@gitorious.org:polyvox/polyvox.git 2012-06-26 15:02:35 +02:00
af5a351b45 Added SurfaceExtractionController and modified SurfaceExtractor to use it. 2012-06-26 15:02:07 +02:00
49ea2e8809 Add missing file for MaterialDensityPair bindings 2012-06-22 16:50:28 +01:00
85c5b7abf0 Add all the Material, Density and MaterialDensityPair typedefs 2012-06-22 00:18:04 +01:00
869d1a8d6a Re-enable more of the bindings
This should enable enough of the bindings to be able to extract a surface
mesh.
2012-06-21 22:24:04 +01:00
d79b1006f3 Remove deprecated constructor 2012-06-21 22:19:44 +01:00
c681fac66a Add option to disable building the bindings.
If you want to disable them, even if SWIG and Python were both found, set
WITH_BINDINGS to NO with -DWITH_BINDINGS=NO or in the CMake GUI.
2012-06-21 20:31:04 +01:00
11f91fbbc4 Fix some compiler warnings about initialisation order. 2012-06-20 23:56:37 +01:00
9fdc30643a Linux compile fixes. 2012-06-15 17:29:39 +02:00
c11b02f354 Merge branch 'master' of git@gitorious.org:polyvox/polyvox.git 2012-06-15 16:34:58 +02:00
7f38e87ade New 'ConvertToDensity' class for use in the SurfaceExtractor. 2012-06-15 16:34:37 +02:00
5985aa5ec2 Re-enable SWIG compilation
For now only enable Vector, although some other
may work but will need testing.
2012-06-15 00:19:49 +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
fcefe27192 Removed use of template template parameters from VolumeResampler. 2012-06-07 16:56:54 +02:00
fbdfe3a4ec Removed template template parameters from LowPassFilter. 2012-06-07 16:43:20 +02:00
09c1cb80cc Removed template template parameters from gradient estimation code. 2012-06-07 16:29:28 +02:00
c9e83f41f1 Removed use of template template parameters from AStarPathfinder. 2012-06-05 16:33:29 +02:00
8c02098088 Removed template template parameters from RaycastWithCallback. 2012-05-31 14:03:53 +02:00
5958887387 Merge branch 'master' of git@gitorious.org:polyvox/polyvox.git 2012-05-31 13:32:18 +02:00
9db04f38bc Removed use of template template parameters from Raycast and AmbientOcclusionCalculator. 2012-05-31 13:31:42 +02:00
a17e7ab438 Fixed typo in docs. 2012-05-25 12:28:02 +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
127d987e07 GCC compile fix. 2012-04-16 17:01:04 +02:00
309f270e67 Exposed 'VoxelType' in BaseVolume. 2012-04-16 16:50:41 +02:00
86b84339af Work on CubicSurfaceExtractorWithNormals. 2012-04-16 16:14:09 +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
48717284d5 Merge branch 'master' of git@gitorious.org:polyvox/polyvox.git 2012-04-09 11:01:02 +02:00
15cd5d90f4 More validation of block sizes. 2012-04-09 11:00:35 +02:00
e7f7e980b4 Fixed bug with serialising volume sizes. See: http://www.volumesoffun.com/phpBB3/viewtopic.php?f=15&t=360 2012-04-09 10:57:01 +02:00
df68045d52 Removed old files from the repository. 2012-03-30 14:16:13 +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
1f748cbd72 Committing slightly dodgy code as I need to test on Linux. 2012-03-26 17:25:55 +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
f73b2a479b Merge branch 'master' of git@gitorious.org:polyvox/polyvox.git 2012-03-09 16:04:22 +01:00
af04b96105 Replaced sampler getPosX, etc, with general getPosition(). 2012-03-09 16:03:46 +01:00
4658e8026e Renamed 'resize' to 'initialise' and made it private. 2012-02-28 10:57:53 +01:00
8e4135ad41 Add newlines to end of files to silence compiler warnings 2012-02-27 23:03:36 +00:00
c412503a3c Remove unnecessary templates
This set of template braces isn't needed in GCC and in fact breaks Clang.
With this patch, Polyox builds on Clang (except OpenGLExample due to a Clang
bug).
2012-02-25 23:25:10 +00:00
c7446413f5 Spelling fix 2012-02-25 22:57:31 +00:00
5fb0e43ac4 These lookup tables should be const 2012-02-25 22:56:54 +00:00
1bc263807f Add static_assert support
Define static_assert to be equal to BOOST_STATIC_ASSERT on older MSVC
compilers.
2012-02-25 22:49:23 +00: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