David Williams
e52e9e373e
Switched test to use unclassed function.
2014-03-07 16:25:24 +01:00
David Williams
0bbb648925
Added functions around CubicSurfaceExtractor.
2014-03-07 16:08:20 +01:00
Daviw Williams
c5780dd8e2
Brought improved blending changes across from Cubiquity branch.
2014-02-26 16:55:09 +01:00
Matt Williams
832a45013a
Simplify test creation and add XML output option
2014-01-27 19:39:50 +00:00
David Williams
4478e365c9
Removed RLECompressor as the code is now in RLEBlockCompressor.
...
Things are starting to get back under control. All tests pass, and all examples except PagingExample work.
2013-07-30 17:01:27 +02:00
David Williams
a4fc814a51
Rearranging and renaming some code.
2013-07-29 16:04:01 +02:00
David Williams
7146b5ecdb
The idea of a 'setTargetMemoryLimitInBytes' function was not really working out. It was too comp-lex and not really clear what the ideal size would be. I think user code needs to call setMaxNumberOfBlocksInMemory() and setMaxNumberOfUncompressedBlocks() directly, if they see from profiling toat too much camressing or paging is taking place.
2013-07-23 13:15:01 +02:00
Daviw Williams
bd60f34bd7
Removing explicit functions to control the number of compressed and uncompressed blocks in memory, and letting the user set a memory limit instead.
2013-07-04 16:23:58 +02:00
Daviw Williams
e38aa3b1b9
Unit tests now test FilePager.
2013-06-28 16:16:08 +02:00
David Williams
a14de4a72e
Replaced std::functions with Pager class for paging.
2013-06-16 19:48:14 +02:00
Daviw Williams
1e55859107
Renamed WrapMode::None (and others) to avoid conflict with Python reserved word 'None'.
2013-06-13 16:49:02 +02:00
Daviw Williams
6e8030f4b5
Changes to hopefully fix Linux compile problems.
2013-06-13 15:55:15 +02:00
Daviw Williams
62f273bd74
Small changes, hoping to help the Linux version compile.
2013-06-12 16:52:17 +02:00
Daviw Williams
efb6d12fc8
Eliminated dome calls to getVoxelAt.
2013-06-12 15:22:21 +02:00
Daviw Williams
45af7a4246
Removed some getVoxelAt() calls in tests.
2013-06-12 15:11:45 +02:00
Daviw Williams
7276b872c4
More work replacing getVoxelAt with getVoxel.
2013-06-12 15:03:34 +02:00
Daviw Williams
fa8e7c390f
replaced 'getVoxelWithWrapping()' with regular 'getVoxel()', as they can be differentiated by their parameters.
2013-05-17 15:52:18 +02:00
Daviw Williams
e405b46b61
Removed the default value for emptyVoxelExample as it caused compile errors on VS2010.
2013-05-14 15:44:56 +02:00
Matt Williams
f98959f92a
Add a new pickVoxel function.
...
Hopefully this pickVoxel function will fulfil most most need with
raycasting which aren't covered by the existing raycast functions.
It's essentially a wrapper around the current functions, using a custom
functor to store the position of a solid voxel as well as the previous
empty voxel. It doesn't require the user to provide a functor of their own,
just the value that they've assigned to empty voxels.
As well as the function itself, we also have a unit test as well as it
being built in the bindings.
2013-05-01 22:28:46 +01:00
Matt Williams
cc430ae129
Update Python bindings, tests and example to use Python 3
2013-04-17 20:48:15 +01:00
David Williams
5cab70b24c
Fixed code to use proper zero initialisation.
2013-03-04 22:01:43 +01:00
Daviw Williams
62370868c8
Reverted accidental changes to tests.
...
Updated comments in compression code.
2013-02-25 17:06:12 +01:00
Daviw Williams
f70498e806
Removed old code.
2013-02-25 16:34:21 +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
Daviw Williams
c3801db4e2
Set tests to use MinizCompressor.
2013-02-07 16:20:05 +01:00
Daviw Williams
36968bdd79
Merge branch 'develop' into feature/large-volume-work
2013-02-07 16:11:03 +01:00
Daviw Williams
50c1c7c64b
Removed setCompressionEnabled() from LargeVolume.
2013-02-07 15:55:10 +01:00
Daviw Williams
09c6e2bf26
More work making the compression more robust.
2013-02-01 16:10:10 +01:00
Daviw Williams
3d66db50e0
Fixes and comments for RLE compression.
2013-02-01 14:09:29 +01:00
Daviw Williams
46e38c4714
Work on compression.
2013-01-31 16:56:32 +01:00
Daviw Williams
a81ec68714
Work on compression interface.
2013-01-31 16:35:50 +01:00
Matt Williams
6e93048c9f
Add a test for C#
...
This test is not actually run yet but it serves as an example of how to use
the C# bindings.
2013-01-16 15:31:52 +00:00
Daviw Williams
c7937b176d
Very bad (but functional!) initial implementation of LargeVolume compression with miniz.
2013-01-10 16:20:29 +01:00
Daviw Williams
a8383b47db
Temporarily disabled multiple samplers as they break the LargeVolume tests.
2013-01-08 16:54:17 +01:00
Daviw Williams
a0cd1d09b3
Added a correct set of ADD_TEST macros. Oddly it seems that Visual Studio's 'RUN_TESTS' target doesn't really it care which ADD_TEST macros are used, it just runs all of them. Presumably Linux needs it though.
2013-01-03 13:23:40 +01:00
Daviw Williams
4b45bb297f
More volume unit tests - now iterating backwards as well as forwards.
2013-01-02 17:05:35 +01:00
Daviw Williams
25fae419f3
Removed some old testing code.
2013-01-02 16:11:19 +01:00
Daviw Williams
7bbaa0d559
Better testing of volume samplers.
2013-01-02 16:09:30 +01:00
Daviw Williams
a4b6339689
Fixed typos.
2013-01-02 15:15:30 +01:00
Daviw Williams
97024ba9b2
More volume test configurations.
2013-01-02 14:48:30 +01:00
Daviw Williams
c05293844f
Work on volume tests.
2013-01-02 14:13:14 +01:00
Matt Williams
f5ea8878c2
Add a default CompilerCapabilities.h
...
This file assumes that the compiler doesn't support anything. If building
without CMake, it will be used and if you want to enable things, the file
can be edited.
When using CMake, a proper CompilerCapabilites.h will be generated and
CMake will set the include path order correctly in order to source the
correct file.
2012-12-26 12:54:52 +00:00
Matt Williams
831689bd17
Fix tests
...
The names of some of the bound classes have changed and this fixes the
tests to match it.
2012-12-26 00:31:10 +00:00
David Williams
74f25eac23
Merge branch 'develop' into feature/cmake-cxx11-detect
...
Conflicts:
examples/Basic/CMakeLists.txt
examples/OpenGL/CMakeLists.txt
examples/Paging/CMakeLists.txt
examples/SmoothLOD/CMakeLists.txt
library/PolyVoxCore/include/PolyVoxCore/Impl/TypeDef.h
2012-12-24 20:08:31 +00:00
Daviw Williams
898aa24126
Removed code which is redundant after previous commit.
2012-12-19 11:46:44 +01:00
Daviw Williams
44dcb0ba89
Different method of controlling the war mode of the MarchingCubesSurfaceExtractor.
2012-12-19 11:32:45 +01:00
Daviw Williams
8b018be2dc
Fix for LargeVolumeSampler.
2012-12-18 16:25:31 +01:00
Daviw Williams
2a12bcd6d6
Fixed behavior of SimpleVolumeSampler.inl
2012-12-18 14:34:36 +01:00
David Williams
c0d4b2a36f
Linux compile fix.
2012-12-14 16:50:06 +01:00
Daviw Williams
2bc8e8e201
Tidying up marching cubes wrap mode support.
2012-12-14 15:32:07 +01:00