Commit Graph

1966 Commits

Author SHA1 Message Date
09c15173f9 Simplify -std=c++0x flag logic
This could be improved in CMake 3.1 by using CXX_STANDARD and
CXX_STANDARD_REQUIRED (see http://stackoverflow.com/a/20165220/96704)
2015-02-28 10:55:01 +00:00
41d5ea6178 Move FindQt5Test logic inside tests directory 2015-02-28 10:40:05 +00: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
969310f327 Make sure we're notifiying if the docs are available 2015-02-28 10:17:56 +00:00
65f966555d Move Doxygen stuff into include directory where it is actually used 2015-02-28 10:06:56 +00:00
cb1cd58288 Remove all mention of LIBRARY_TYPE as PolyVox is now header-only 2015-02-28 09:56:12 +00:00
f262c0e8f5 Revert "Removing tests which depend on wrap modes, in preparation for removing the wrap modes themselves."
This reverts commit 917d3b8c95.
2015-02-28 09:59:28 +01:00
416ae8eb7f Revert "Removed 'AllInternal' part of function name as it is now redundant."
This reverts commit 42e8b2cf44.
2015-02-28 09:59:11 +01:00
1853a0fc4e Revert "More work on removing wrap modes."
This reverts commit 6817899e6a.
2015-02-28 09:58:41 +01:00
6817899e6a More work on removing wrap modes. 2015-02-27 15:12:11 +01:00
3ace735619 Work on removing wrap modes. 2015-02-27 13:48:31 +01: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
42e8b2cf44 Removed 'AllInternal' part of function name as it is now redundant. 2015-02-26 22:15:19 +01:00
917d3b8c95 Removing tests which depend on wrap modes, in preparation for removing the wrap modes themselves. 2015-02-26 17:07:00 +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
fbb7ff4728 Merge branch 'feature/example-refactor' into develop 2015-02-24 22:23:57 +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
28c516b5ad Merge branch 'feature/opengl' into develop 2015-02-10 23:44:14 +01:00
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
f87966686d Another 'typename', GCC really likes these. 2015-02-10 21:52:05 +01:00
1cbc0605fd Added 'typename'. 2015-02-10 21:49:28 +01:00
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
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
d875ff33ce Fixed min/max related compile error on Windows. 2015-02-08 12:41:53 +01:00
74089437b3 Merge branch 'feature/header-only' into develop 2015-02-07 23:22:00 +01:00
72be03262a Fixed install to work on Windows. 2015-02-07 23:21:25 +01:00
7946e55357 Fixed install on Linux. 2015-02-07 23:11:56 +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
97bd3a232a Renamed 'library' folder to 'include' (as it just contains headers now). 2015-02-07 15:21:33 +01:00
6e2004d9c5 Really removed PolyVoxUtil. 2015-02-07 15:04:34 +01:00
a296807ed9 Removed PolyVoxUtil. 2015-02-07 14:59:08 +01:00
630affbf4d Moved bindings from inside 'library' folder to root folder. 2015-02-07 14:47:21 +01:00
c3305ea14b Reinstated some of the 'install' code. 2015-02-07 10:36:49 +01:00