1900 Commits

Author SHA1 Message Date
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
David Williams
a296807ed9 Removed PolyVoxUtil. 2015-02-07 14:59:08 +01:00
David Williams
630affbf4d Moved bindings from inside 'library' folder to root folder. 2015-02-07 14:47:21 +01:00
David Williams
c3305ea14b Reinstated some of the 'install' code. 2015-02-07 10:36:49 +01:00
David Williams
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
David Williams
c3f2e5217e Removed CMake code which tries to build/use PolyVoxCore as a library. 2015-02-06 23:29:35 +01:00
David Williams
9d9e3996a3 Moved utility functions to header. 2015-02-06 21:28:47 +01:00
David Williams
07f1593561 Made logging functions header only. 2015-02-06 21:13:12 +01:00
David Williams
4325ffabc4 Moved error handling functions/macros to be header-only. 2015-02-06 21:08:19 +01:00
David Williams
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
David Williams
8cff2bb2da Moved random vectors to header files. 2015-02-06 16:43:29 +01:00
David Williams
eb45c97a61 Moved marching cubes tables to header file. 2015-02-06 16:37:08 +01:00
David Williams
d480935e38 Moved A* pathfinder data from .cpp to header. 2015-02-06 16:08:05 +01:00
David Williams
8065b709d1 Made Region header only. 2015-02-06 00:07:32 +01:00
Matt Williams
ecb3439d22 Reorder initialisation to silence -Wreorder warnings 2014-12-12 10:36:45 +00:00
Matt Williams
6d6b190743 Reorganise the CMake scripts to make sure the core library is independent 2014-12-10 15:53:25 +00:00
Matt Williams
2e98414fd3 Start updating the library bindings
Nothing works at the moment and the bindings are likely going to have to
change significantly.

In the meantime just disable them by default to avoid confusion.
2014-12-10 15:47:54 +00:00
David Williams
436e8d479c Compile fix. 2014-10-03 21:47:04 +02:00
David Williams
4ed75cd174 Updated changlelog with a quick braindump. 2014-09-27 09:26:21 +02:00
David Williams
66fdc19fe9 Added pattern for SWIG interface files. 2014-09-25 23:02:39 +02:00