c0b72b6a55
Tidying up comments.
2016-01-03 17:49:59 +00:00
d544de6dd1
Removed deprecated functions.
2015-12-26 23:41:49 +00:00
e89a55d154
Applied default Visual Studio formatting to most files. This is a quick fix for the tabs vs spaces issue that messes up the formatting in any editor (esp. Linux) which handles tabs/spaces differently to Visual Studio. Some parts of the formatting look a bit worse but overall it should be better (or at least more consistent).
...
I didn't apply the changes to a few macro-heavy files as Visual Studio removes all indentation from macros, whereas the indentation can be handy to see nesting.
2015-12-26 23:11:27 +00:00
b3ca051878
Changed 'embedded' licenses from zlib to MIT.
2015-12-26 21:45:41 +00:00
4fdecf42eb
Removing unused code, tidying up.
2015-12-19 15:29:56 +00:00
74dfaa293f
Fixed usage of region which was too large for the cubic surface extractor.
2015-12-19 15:26:20 +00:00
12fdeb8e52
Removed old chunk map.
...
Removed flush(Region) function as it's a bit trickier to implement with the new hash table, and it's not clear that we need it.
2015-04-13 23:51:18 +02:00
0e995b5140
Fixed some compiler warnings.
2015-03-21 07:40:32 +01:00
c98ad8c948
Merge branch 'feature/remove-wrap-modes' into develop
2015-03-07 21:19:21 +01:00
c804190d84
Removed the ability to set the target memory usage after construction, and this is now just done through the constructor. I don't think the functionality was useful, and this simplifies more logic.
2015-03-05 23:42:50 +01:00
bfc7dfdc1b
Removed the ability to specify a region in the PagedVolume's constructor, and updated the tests and examples where required.
2015-02-28 23:31:23 +01:00
d9dae773dc
Simplify the BUILD_EXAMPLES logic
2015-02-28 10:24:32 +00:00
32b07659a8
Move all the examples' CMake logic into the examples directory
2015-02-28 10:19:17 +00: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
7ac652e92b
More compile fixes for GCC. Because our openGLWidget is now templatized we need to explicitly use 'this->' to access base members (and the gl...() functions are provided by the base class in Qt). See http://stackoverflow.com/a/15505043
2015-02-25 16:11:22 +01:00
f7af804ccf
Compile fix for GCC.
2015-02-25 15:57:59 +01:00
1f3dc558da
Added missing header.
2015-02-24 23:46:35 +01:00
2ec29e33b7
Tidying up OpenGLWidget.
2015-02-24 23:44:04 +01:00
e985dce075
Templatized OpenGLWidget so users can specify the version of OpenGL to support.
2015-02-24 22:17:46 +01:00
d3b71a92b9
Tidying up code.
2015-02-24 16:53:34 +01:00
9547824f14
Renamed matrices. I quite like names such as 'modelToWorldMatrix' and 'cameraToClipMatrix' because they were very explicit about what the transform was doing. However OpenGL uses common terms such as 'model matrix' and 'projection matrix', so other people wlil be able to follow the code more easily if we stick to these conventions.
2015-02-24 16:08:55 +01:00
7262ca313e
More work splitting example framework into two pieces.
2015-02-20 16:56:03 +01:00
838407ba4f
Started splitting example framework into to two classes. One will be general purpose (for use in Cubiquity, etc), and the other will have PolyVox specific stuff.
2015-02-20 16:20:09 +01:00
9c93c5fc36
Switched examples to use FPS-style first person perspective camera.
2015-02-20 15:28:54 +01:00
565aa21799
Refactoring example code.
2015-02-20 11:23:17 +01:00
3f849e19a4
Started refactoring examples and got DecodeOnGPUExample working.
2015-02-15 12:03:31 +01:00
92daf9a0c0
Fixed CMake script for DecodeOnGPU example, though it's currently disabled due to compile errors.
2015-02-14 09:30:59 +01:00
41498cfcb8
Removed GLEW from repository.
2015-02-09 23:22:12 +01:00
ec80bfe740
Switched to using Qt for loading extensions, instead of GLEW.
2015-02-09 23:17:33 +01:00
f042584ed5
Removed old OpengGL widget.
2015-02-09 22:15:03 +01:00
c62bde0066
Work on getting the OpenGL/Qt5 support working with new header-only library.
2015-02-09 22:11:06 +01:00
d9da93b6c0
Merge branch 'develop' into feature/opengl
...
Conflicts:
examples/Basic/CMakeLists.txt
examples/Basic/OpenGLWidget.cpp
examples/Basic/OpenGLWidget.h
include/PolyVox/Impl/Timer.h
2015-02-08 20:49:25 +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
16a75d0606
Reoranising header structure.
2015-02-07 17:16:54 +01:00
a296807ed9
Removed PolyVoxUtil.
2015-02-07 14:59:08 +01:00
c3f2e5217e
Removed CMake code which tries to build/use PolyVoxCore as a library.
2015-02-06 23:29:35 +01:00
8065b709d1
Made Region header only.
2015-02-06 00:07:32 +01:00
6d6b190743
Reorganise the CMake scripts to make sure the core library is independent
2014-12-10 15:53:25 +00:00
86357d66b7
Normalized line endings
2014-09-25 22:38:01 +02:00
db2e62d2a8
Replaced LargeVolume and SimpleVolume with PagedVolume in tests and examples.
2014-09-21 17:57:42 +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
71035029d1
More renaming blocks to chunks.
2014-09-20 23:27:28 +02:00
0ab7f27f0f
More renaming of block to chunk.
2014-09-20 21:27:26 +02:00
8d7d88a7df
Renamed a bunch of stuff from using 'block' to 'chunk'
2014-09-20 17:39:12 +02:00
ede35435a0
Renamed UncompressedBlock to Chunk.
2014-09-20 17:26:57 +02:00
880dcd8645
Fixed incorrect messages about temp files not being deleted.
2014-09-20 17:17:18 +02:00
b08974c197
Work on limiting memory usage.
2014-09-18 16:26:47 +02:00
d2bbd6beba
Some renaming.
2014-09-18 14:58:17 +02:00
8dd026e095
Work on limiting maximum memory usage.
2014-09-18 14:51:43 +02:00