c3305ea14b
Reinstated some of the 'install' code.
2015-02-07 10:36:49 +01:00
5d54c881a1
Added custom target (which doesn't build anything) so that our header-only library still shows up in VisualStudio for browsing the files.
2015-02-07 06:52:47 +01:00
c3f2e5217e
Removed CMake code which tries to build/use PolyVoxCore as a library.
2015-02-06 23:29:35 +01:00
9d9e3996a3
Moved utility functions to header.
2015-02-06 21:28:47 +01:00
07f1593561
Made logging functions header only.
2015-02-06 21:13:12 +01:00
4325ffabc4
Moved error handling functions/macros to be header-only.
2015-02-06 21:08:19 +01:00
6e8d9dfb75
Windows now uses standard C++ timer. I assume we weren't using it before because it wasn't present on older versions of Visual Studio?
...
Moved timer code to header.
2015-02-06 16:52:21 +01:00
8cff2bb2da
Moved random vectors to header files.
2015-02-06 16:43:29 +01:00
eb45c97a61
Moved marching cubes tables to header file.
2015-02-06 16:37:08 +01:00
d480935e38
Moved A* pathfinder data from .cpp to header.
2015-02-06 16:08:05 +01:00
8065b709d1
Made Region header only.
2015-02-06 00:07:32 +01:00
86357d66b7
Normalized line endings
2014-09-25 22:38:01 +02:00
d6a7b83698
Moved Pager to be a nested class of PagedVolume.
2014-09-21 11:42:12 +02:00
db9a74fdb4
Moving Chunk to be a nested class of PagedVolume.
2014-09-21 10:27:55 +02:00
ede35435a0
Renamed UncompressedBlock to Chunk.
2014-09-20 17:26:57 +02:00
25a1d95387
Renamed LargeVolume to PagedVolume, deleted SimpleVolume, and set up typedefs pointing LargeVolume and SimpleVolume to PagedVolume for backwards compatibility.
2014-09-19 16:50:24 +02:00
3cf8f38793
Merged Block and UncompressedBlock classes.
2014-09-13 23:38:11 +02:00
c0a22de2df
Removed a lot of compression-related code.
2014-09-13 12:20:56 +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
20815b6083
Moved Array2D to it's own file.
2014-08-21 21:38:19 +02:00
82f9d6ad6f
Renamed VertexTypes.h to Vertex.h.
2014-06-02 08:57:30 +02:00
e9ba998f2f
Changes to the folder organization of some files in Visual Studio (via CMake's source_group).
2014-05-28 14:03:26 +02:00
4aae00e4a8
Renamed SurfaceMesh to just Mesh
2014-05-23 15:17:07 +02:00
4c2aea3db1
Removed CubicSurfaceExtractorWithNornals. Going forward users will be expected to compute flat normals in the fragment shader.
2014-05-06 22:00:24 +02:00
bc17c802bb
Assume C++11 support
...
Remove all CMake checks for C++11 support since we now assume that we have it.
Replace all polyvox_* macros with standard C++ names.
See #48
2014-02-14 15:03:26 +00:00
c177891e5d
Separated logging code into different .cpp/.h files.
2014-01-24 15:21:59 +01:00
319a0ce352
Removed old compression classes.
2013-10-01 15:58:32 +02:00
4ee2a61a15
Added a siply wrapper .h/cpp pair to abstract away the fact that miniz in provided as a single .c file which we include directly, and to avoid linker problems.
2013-10-01 15:33:40 +02:00
9ad4c3fcf7
Initial checkin of Timer class.
2013-08-07 23:07:26 +02:00
dcf86a905c
Split Block, CompressedBlock and UncompressedBlock into separate files. It's tidier, and maybe better for SWIG?
2013-08-01 15:32:12 +02:00
6f17e0faa6
The 'Block' class is no longer considered just to be an implementation details of LargeVolume. Users may need to interact with them directly of they implement their own paging or compression systems.
2013-08-01 15:19:10 +02:00
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
d1138dcdb1
Some new block compression code as I rework the previous code...
2013-07-30 16:01:03 +02:00
a4fc814a51
Rearranging and renaming some code.
2013-07-29 16:04:01 +02:00
f54532a905
Started moving compression code into separate class.
2013-07-26 16:00:29 +02:00
1064ea1c47
Stripped out unused code.
2013-06-26 22:14:01 +02:00
20db75fb75
Added null pointer check.
...
Added files to CMakeLists.txt
2013-06-22 07:24:19 +02:00
1010052ea6
Reworking the logging system.
2013-05-14 16:52:16 +02:00
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
23042c3fcb
Moved warning suppression into the relevant file so that it's not global.
2013-03-04 16:00:43 +01:00
36676433be
Work on compression interface.
2013-01-31 15:54:04 +01:00
a1cdf78250
Block now working with new MinizCompressor. Removing some old compression code.
2013-01-30 16:49:06 +01:00
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
c7937b176d
Very bad (but functional!) initial implementation of LargeVolume compression with miniz.
2013-01-10 16:20:29 +01:00
9273094ebd
Added config.h to control exceptions and asserts.
2012-12-29 22:56:15 +01:00
161835f42b
Boost is no longer needed if <cstdint> is not found.
2012-12-29 22:26:21 +01:00
ed614802fe
Merge branch 'develop' of https://bitbucket.org/volumesoffun/polyvox into develop
2012-12-29 14:07:11 +00:00
4f7a6256a9
The throwing of exceptions can now be disabled, and in this case a handler function is called instead.
2012-12-29 00:11:23 +00:00
cc0b3ae2c0
Merge branch 'develop' into feature/error-handling
2012-12-26 17:18:42 +00:00
9e7bb75687
Disable the C++11 feature detection on Visual Studio
...
There seems to be a bug in the interaction between CMake and Visual Studio
which floods the 'recent projects' list with the TRY_COMPILE projects.
If in the future this is fixed then it can re-enabled.
2012-12-26 15:40:59 +00:00