1919 Commits

Author SHA1 Message Date
David Williams
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
David Williams
89550fcd44 Fixed warnings. 2015-03-05 00:04:22 +01:00
David Williams
61bffc9783 Removed some not useful functions. 2015-03-04 23:31:24 +01:00
David Williams
1213a4047a Fully stripped out references to wrap modes. 2015-03-04 23:13:37 +01:00
David Williams
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
David Williams
d3618ca688 Removed tracking of whether the PagedVolume::Sampler is currently valid. 2015-03-01 23:32:22 +01:00
David Williams
396d1cfc59 Ambient occlusion test now uses RawVolume, as it need a fixed size volume to create a temporary array. 2015-03-01 09:51:45 +01:00
David Williams
e7f41b7e0f More fixing/tidying of test, related to removing volume size limit. 2015-03-01 08:14:30 +01:00
David Williams
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
David Williams
7e03c3e05b Compile fixes and tweaks for tests. 2015-02-28 13:43:17 +01:00
David Williams
f262c0e8f5 Revert "Removing tests which depend on wrap modes, in preparation for removing the wrap modes themselves."
This reverts commit 917d3b8c953c7fa6ceb3ab232dab54b78d57751c.
2015-02-28 09:59:28 +01:00
David Williams
416ae8eb7f Revert "Removed 'AllInternal' part of function name as it is now redundant."
This reverts commit 42e8b2cf4478b40663437df724a2cd292255671f.
2015-02-28 09:59:11 +01:00
David Williams
1853a0fc4e Revert "More work on removing wrap modes."
This reverts commit 6817899e6a9f18d708597f6cdabfffed7d4f671f.
2015-02-28 09:58:41 +01:00
David Williams
6817899e6a More work on removing wrap modes. 2015-02-27 15:12:11 +01:00
David Williams
3ace735619 Work on removing wrap modes. 2015-02-27 13:48:31 +01:00
David Williams
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
David Williams
42e8b2cf44 Removed 'AllInternal' part of function name as it is now redundant. 2015-02-26 22:15:19 +01:00
David Williams
917d3b8c95 Removing tests which depend on wrap modes, in preparation for removing the wrap modes themselves. 2015-02-26 17:07:00 +01:00
David Williams
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
David Williams
f7af804ccf Compile fix for GCC. 2015-02-25 15:57:59 +01:00
David Williams
1f3dc558da Added missing header. 2015-02-24 23:46:35 +01:00
David Williams
2ec29e33b7 Tidying up OpenGLWidget. 2015-02-24 23:44:04 +01:00
David Williams
fbb7ff4728 Merge branch 'feature/example-refactor' into develop 2015-02-24 22:23:57 +01:00
David Williams
e985dce075 Templatized OpenGLWidget so users can specify the version of OpenGL to support. 2015-02-24 22:17:46 +01:00
David Williams
d3b71a92b9 Tidying up code. 2015-02-24 16:53:34 +01:00
David Williams
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
David Williams
7262ca313e More work splitting example framework into two pieces. 2015-02-20 16:56:03 +01:00
David Williams
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
David Williams
9c93c5fc36 Switched examples to use FPS-style first person perspective camera. 2015-02-20 15:28:54 +01:00
David Williams
565aa21799 Refactoring example code. 2015-02-20 11:23:17 +01:00
David Williams
3f849e19a4 Started refactoring examples and got DecodeOnGPUExample working. 2015-02-15 12:03:31 +01:00
David Williams
92daf9a0c0 Fixed CMake script for DecodeOnGPU example, though it's currently disabled due to compile errors. 2015-02-14 09:30:59 +01:00
David Williams
28c516b5ad Merge branch 'feature/opengl' into develop 2015-02-10 23:44:14 +01:00
David Williams
7e19706681 C++11 random number generators are consistent across platforms, but the distribution classes are not: http://stackoverflow.com/a/13589262 2015-02-10 23:35:17 +01:00
David Williams
f87966686d Another 'typename', GCC really likes these. 2015-02-10 21:52:05 +01:00
David Williams
1cbc0605fd Added 'typename'. 2015-02-10 21:49:28 +01:00
David Williams
feb9b6bdc6 Switched to using C++11 random number generator (MT) for tests, hoping it will be consistent across platforms. 2015-02-10 21:46:09 +01:00
David Williams
41498cfcb8 Removed GLEW from repository. 2015-02-09 23:22:12 +01:00
David Williams
ec80bfe740 Switched to using Qt for loading extensions, instead of GLEW. 2015-02-09 23:17:33 +01:00
David Williams
f042584ed5 Removed old OpengGL widget. 2015-02-09 22:15:03 +01:00
David Williams
c62bde0066 Work on getting the OpenGL/Qt5 support working with new header-only library. 2015-02-09 22:11:06 +01:00
David Williams
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
David Williams
d875ff33ce Fixed min/max related compile error on Windows. 2015-02-08 12:41:53 +01:00
David Williams
74089437b3 Merge branch 'feature/header-only' into develop 2015-02-07 23:22:00 +01:00
David Williams
72be03262a Fixed install to work on Windows. 2015-02-07 23:21:25 +01:00
David Williams
7946e55357 Fixed install on Linux. 2015-02-07 23:11:56 +01:00
David Williams
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
David Williams
16a75d0606 Reoranising header structure. 2015-02-07 17:16:54 +01:00
David Williams
97bd3a232a Renamed 'library' folder to 'include' (as it just contains headers now). 2015-02-07 15:21:33 +01:00
David Williams
6e2004d9c5 Really removed PolyVoxUtil. 2015-02-07 15:04:34 +01:00