Daviw Williams
1d643becc5
Replaced std::exit with a crash.
2013-03-27 15:21:38 +01:00
David Williams
5cab70b24c
Fixed code to use proper zero initialisation.
2013-03-04 22:01:43 +01:00
Daviw Williams
6374ebf092
Apparently I didn't test my fix for warning 4127 because it didn't actually work. Now fixed :-)
2013-03-04 17:10:23 +01:00
Daviw Williams
23042c3fcb
Moved warning suppression into the relevant file so that it's not global.
2013-03-04 16:00:43 +01:00
Daviw Williams
df5c339f64
Just remembered that we settled on a different formatting for the API docs so that it gets highlighted better in KDE.
2013-03-04 15:36:11 +01:00
Daviw Williams
b4fcb3daf8
Added API documentation regarding compression.
2013-03-04 15:17:19 +01:00
Daviw Williams
74b4caba6b
Added some API docs to compressor.
2013-03-01 17:06:51 +01:00
Daviw Williams
d12db9906f
Updated note about why we #include the miniz.c file.
2013-03-01 16:33:31 +01:00
David Williams
a7e49a1394
Still trying to get rid of the warnings on the CDash machine. It's tricky because I'm not seeing the locally and the warning supression seems to vary bewteen vesions of GCC (See: http://dbp-consulting.com/tutorials/SuppressingGCCWarnings.html ).
2013-03-01 16:07:50 +01:00
David Williams
c28fa9a0ca
It seems that GCC 4.3.5 (on the CDash machine) doesn't recognise ignoring the 'enum-compare' warning. This commit should switch of all warnings instead (just for this file).
2013-02-28 13:42:02 +01:00
David Williams
4534f721b5
A one line change for testing purposes. I'm curious whether another addition commit gets pushed.
2013-02-27 15:07:52 +01:00
David Williams
7e50dcbd93
It seems push/pop of diagnostic pragmas is only supported on GCC >= 4.6. I've just disabled the warning for the whole file instead.
2013-02-27 14:25:10 +01:00
David Williams
9ec2ebd78c
Merge branch 'develop' of https://DavidWilliams@bitbucket.org/volumesoffun/polyvox.git into develop
2013-02-27 12:40:34 +01:00
Daviw Williams
80025eaa46
Attempting to disable GCC compiler warnings in miniz.c (as I don't want to modify external code).
2013-02-26 10:49:01 +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
c42270f165
Possible Linux fix? I didn't reproduce the error myself so I'm just being guided by the CDash messages.
2013-02-25 16:51:57 +01:00
Daviw Williams
e770baeb05
Added assert for buffer size.
2013-02-25 16:46:04 +01:00
Daviw Williams
f70498e806
Removed old code.
2013-02-25 16:34:21 +01:00
Daviw Williams
34671130fb
Tidying up Miniz compression code.
2013-02-25 16:33:39 +01:00
Daviw Williams
81eab0ebfb
Work on low-level version of compression.
2013-02-22 17:03:47 +01:00
Daviw Williams
eb8ace0c54
Replaced high level miniz interface with low-level version.
2013-02-21 16:56:57 +01:00
Daviw Williams
1a39577ec0
CubicSurfaceExtractor now uses int for some internal work instead of floats.
2013-02-21 16:44:44 +01:00
Daviw Williams
b7eeda3370
Find and replace all instance of getLowerCorner().getX(), etc with getLowerX(), etc has resulted in all tests now running in 120 seconds instead of 144 seconds because it avoids creating temporary objects.
2013-02-08 16:15:53 +01:00
Daviw Williams
6bf9105e56
Merge branch 'develop' of https://bitbucket.org/volumesoffun/polyvox into develop
2013-02-08 15:44:35 +01:00
Daviw Williams
7327220b1c
Performance enhancements identified through profiling.
2013-02-08 15:43:37 +01:00
Matt Williams
66bdf0e5a9
Add Compressor and subclasses to the bindings
...
This relates to issue 20 and should fix the compilation error mentioned
there.
2013-02-08 14:27:11 +00:00
Daviw Williams
608777bb9b
Performance improvements for CubicSurfaceExtractor
2013-02-08 15:14:15 +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
c5023ff623
Changed void* to uint8_t*.
2013-02-08 13:29:49 +01:00
Daviw Williams
c3801db4e2
Set tests to use MinizCompressor.
2013-02-07 16:20:05 +01:00
Daviw Williams
e4f1a5f0ce
Merge branch 'feature/large-volume-work' into develop
2013-02-07 16:17:03 +01:00
Daviw Williams
36968bdd79
Merge branch 'develop' into feature/large-volume-work
2013-02-07 16:11:03 +01:00
Daviw Williams
687dbe40cb
Updated Changelog and credits.
2013-02-07 16:06:46 +01:00
Daviw Williams
50c1c7c64b
Removed setCompressionEnabled() from LargeVolume.
2013-02-07 15:55:10 +01:00
Daviw Williams
8d2061bdb5
Fixed crash with MaxVerticesPerPosition being set too low.
2013-02-04 16:38:50 +01:00
David Williams
aef5373e8b
Fixed case problem in folder name.
2013-02-01 16:37:13 +01:00
Daviw Williams
09c6e2bf26
More work making the compression more robust.
2013-02-01 16:10:10 +01:00
Daviw Williams
a5b768e5f9
Working to make compression handing more robust.
2013-02-01 15:43:20 +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
Daviw Williams
36676433be
Work on compression interface.
2013-01-31 15:54:04 +01:00
Daviw Williams
924744c5e6
Looks like RLECompressor works as well.
2013-01-30 16:58:13 +01:00
Daviw Williams
a1cdf78250
Block now working with new MinizCompressor. Removing some old compression code.
2013-01-30 16:49:06 +01:00
Daviw Williams
804a766037
Added my two new compressor classes - one based on Miniz and the other based on RLE.
2013-01-30 16:04:47 +01:00
Matt Williams
8ad0cae89a
Add an example which uses the Python bindings
...
This is more or less a copy of the BasicExample but using ever so slightly more
modern OpenGL (>=3.0). I've tried to comment this as much as possible.
In addition to this simple example I will go on to develop a more complex
application as discussed in issue #21
2013-01-19 14:24:10 +00:00
Matt Williams
d50e9dfebc
Start enabling the CubicSurfaceExtractors
2013-01-19 14:19:26 +00: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
Matt Williams
bab3c32ec5
Wrap the Vector operators for C#
...
This should allow all the normal vector operations as well as silence the
warnings from SWIG.
2013-01-16 15:30:22 +00:00
Matt Williams
e90215b0fc
These names only make sense for Python
...
In future, it might make sense to use these names as the intermediate names
for C# and Java too but for now, keep them separate.
2013-01-16 15:29:17 +00:00