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
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
ecb3439d22
Reorder initialisation to silence -Wreorder warnings
2014-12-12 10:36:45 +00:00
6d6b190743
Reorganise the CMake scripts to make sure the core library is independent
2014-12-10 15:53:25 +00:00
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
436e8d479c
Compile fix.
2014-10-03 21:47:04 +02:00
4ed75cd174
Updated changlelog with a quick braindump.
2014-09-27 09:26:21 +02:00