Commit Graph

235 Commits

Author SHA1 Message Date
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
af5a351b45 Added SurfaceExtractionController and modified SurfaceExtractor to use it. 2012-06-26 15:02:07 +02: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
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
29d816d416 Removed template template parameters from SurfaceExtractor. 2012-05-18 15:38:18 +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
df68045d52 Removed old files from the repository. 2012-03-30 14:16:13 +02:00
8e4135ad41 Add newlines to end of files to silence compiler warnings 2012-02-27 23:03:36 +00:00
5fb0e43ac4 These lookup tables should be const 2012-02-25 22:56:54 +00:00
a20db7d7cf Work on refactoring voxel types.
Expanded surface extractor test.
2012-02-20 10:16:26 +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
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
d2cd3e7c62 Work on refactoring voxel type. 2012-01-26 18:17:18 +01:00
b9269c1778 Refactoring of basic voxel types. 2012-01-24 16:22:11 +01:00
0d492886db Compile fixes for Visual Studio. 2012-01-24 16:03:22 +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
a79633de09 Work on refactoring basic voxel types.
Also, this will probably cause a compile error on Linux but I'm committing anyway so I remember to investigate it...
2012-01-13 21:55:23 +00:00
8f93b054f8 Compile fix 2011-11-11 23:24:16 +00:00
46d63ddcd1 Fixed slashes in include paths. 2011-10-15 11:06:01 +01:00
db81e1bc3f Work on simple interface. 2011-10-15 00:01:17 +01: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
90063354bd Added setVoxel() funtion to volume iterators.
Fixed bugs with RawVolume iterator movement funtions.
Proper implementation of RawVolume peek...() functions.
2011-08-15 21:10:09 +01:00
d1649c9323 More work on base Volume class and sampler.
Added new test case for creating a volume subclass.
2011-07-30 10:12:28 +01:00
8dc1951a06 More work making volumes use a base class. 2011-07-26 21:36:17 +01:00
659529787a Fixing some warnings in PolyVox. 2011-06-11 18:49:56 +01:00
528cb73771 Moved headers into subdirectories. 2011-05-17 22:27:46 +01:00
3a171e698b Modified SurfaceExtractor to use template template parameters. 2011-04-30 23:51:04 +01:00
ea309ab15b Renamed Volume to LargeVolume. 2011-04-28 21:21:59 +01:00
96ff5e890a Renamed VolumeSampler to Sampler 2011-04-28 20:37:02 +01:00
6f1ddb7d5f Moved VolumeSampler into Volume class. 2011-04-28 20:30:16 +01:00
ef52b906e6 Switched PoyVox to build as a static library. 2011-04-20 23:25:32 +01:00
076ab9865e Merged in RLE branch. 2011-04-05 20:55:20 +00:00
5891d56e12 Fix for linker errors when using MeshDecimator. 2011-03-18 22:04:53 +00:00
ef185d79a0 Removed getWidth(), getHeight(), getDepth() and width(), height(), depth() remain deprecated. These functions seem ambiguous, so users have to calculate these values themselves when they want them. 2011-03-16 23:14:28 +00:00
f887565e35 Fixed missing includes. 2011-03-15 22:22:20 +00:00
529ed89bdb More work on handling fixed size volumes. 2011-03-12 12:44:58 +00:00
596dcf507e Reverted some of ker's changes to bring back the concepts of width, height, and depth. 2011-03-11 22:14:51 +00:00
8e6b1a3b7e Applying ker's patch unmodified. 2011-03-10 20:31:11 +00:00
4ef0cfb468 Applied patch from ker such that int32_t's are now used instead of uint16_t's for addressing voxel positions. 2011-03-03 23:00:00 +00:00
e3dd07c216 Moved the ambient occlusion calculation code from Thermite into PolyVox. 2011-01-16 16:26:10 +00:00
9310c97333 SurfaceExtractor no longer flags region and material edges.
Region/material edges no longer stored as vertex flags.
Replaced addCubicTriangle with addTriangle.
2011-01-06 23:00:17 +00:00