Commit Graph

22 Commits

Author SHA1 Message Date
bd6efe8c3c Stuff related to valid regions is being moved from BaseVolum to RawVolume, as PagedVolume is now infinite. 2015-03-04 22:42:14 +01:00
3ace735619 Work on removing wrap modes. 2015-02-27 13:48:31 +01:00
64d010527b Removed old getVoxelAt()/setVoxelAt() functions. they've been flagged as deprecated for a while now, and are replaced by just getVoxel()/setVoxel(). 2015-02-27 11:07:15 +01:00
049a77cd0c Moved all headers from 'PolyVoxCore' to 'PolyVox', as we no longer have the core/util distinction. 2015-02-07 17:26:36 +01:00
86357d66b7 Normalized line endings 2014-09-25 22:38:01 +02:00
d06dbdf054 Bit renaming. Old Array class is gone, and is replaced by the Array2D class which has also been renamed to Array. 2014-08-24 22:30:50 +02:00
d49db280d5 TestVolumeSubclass now uses Array2D instead of Array. 2014-08-24 21:55:44 +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
e52e9e373e Switched test to use unclassed function. 2014-03-07 16:25:24 +01:00
1e55859107 Renamed WrapMode::None (and others) to avoid conflict with Python reserved word 'None'. 2013-06-13 16:49:02 +02:00
6e8030f4b5 Changes to hopefully fix Linux compile problems. 2013-06-13 15:55:15 +02:00
efb6d12fc8 Eliminated dome calls to getVoxelAt. 2013-06-12 15:22:21 +02:00
7276b872c4 More work replacing getVoxelAt with getVoxel. 2013-06-12 15:03:34 +02:00
fec1191a73 Removed use of template template parameters from CubicSurfaceExtractor. 2012-05-18 15:12:30 +02:00
6f31898fd7 Renamed Volume base class to BaseVolume.
Added initial version of simple interface.
2011-10-14 23:57:10 +01:00
53ae3de413 Replaced GCC/VS2010 hacks with code that should compile on both platforms. 2011-07-31 08:58:52 +01:00
5e62d639fb Compile fixes for g++. 2011-07-30 12:45:32 +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