65 Commits

Author SHA1 Message Date
Matt Williams
bc8240fe63 These checks are no longer needed since it's checked in the top level file 2012-12-26 15:09:54 +00:00
Matt Williams
f5ea8878c2 Add a default CompilerCapabilities.h
This file assumes that the compiler doesn't support anything. If building
without CMake, it will be used and if you want to enable things, the file
can be edited.

When using CMake, a proper CompilerCapabilites.h will be generated and
CMake will set the include path order correctly in order to source the
correct file.
2012-12-26 12:54:52 +00:00
David Williams
74f25eac23 Merge branch 'develop' into feature/cmake-cxx11-detect
Conflicts:
	examples/Basic/CMakeLists.txt
	examples/OpenGL/CMakeLists.txt
	examples/Paging/CMakeLists.txt
	examples/SmoothLOD/CMakeLists.txt
	library/PolyVoxCore/include/PolyVoxCore/Impl/TypeDef.h
2012-12-24 20:08:31 +00:00
David Williams
7e38fc135e Removed features which were deprecated in release 0.2. 2012-12-03 21:22:57 +01:00
Matt Williams
3902e00a0f Add a CompilerCapabilities.h.in file which is filled in by CMake
It will #define a each of the basic features detected by CMake which can
then be used by other headers (like TypeDef.h) to set things up for
PolyVox.

It is this file which you will have to manually edit and rename if you want
to skip using CMake.
2012-11-23 15:41:26 +00:00
unknown
c59a659964 Marked some parts of PolyVox as deprecated. 2012-11-09 16:12:26 +01:00
Matt Williams
221036cbd1 Add POLYVOX_DEPRECATED to deprecated functions 2012-11-07 17:19:17 +00:00
unknown
d4edc1047e Renamed 'PolyVoxImpl' to just 'Impl'. 2012-11-05 17:00:09 +01:00
unknown
3c69bb651f Moved PolyVoxImpl inside of PolyVoxCore. This is the first stage of some tidying to better hide implementation details from the user. 2012-11-05 16:40:02 +01:00
Matt Williams
17c31b2ca1 Add some \deprecated Doxygen commands to deprecated functions 2012-10-28 20:20:39 +00:00
David Williams
bc01223237 Removed some unecessary hierarchy in VS project structure.
Renamed the documentation targets in VS for clarity.
2012-09-28 14:07:13 +02:00
David Williams
4b63c34305 Brought the manual and API docs together under the same heading in Visual Studio. 2012-09-28 13:54:27 +02:00
Matt Williams
480c159327 Add copyright headers to all the CMake files 2012-08-24 13:20:41 +01:00
Matt Williams
b96309f4a4 Use the CMake folder tool to help IDEs groupt targets.
This is done as seen in http://athile.net/library/blog/?p=288

Hopefully this works in Visual Studio as KDevelop doesn't use this feature.
2012-08-12 04:29:51 +01:00
unknown
30b45114ac Changed a single instance of PolyVoxUtilStatic to PolyVoxUtil. 2012-07-20 10:16:23 +02:00
Matt Williams
0d1c2e178a Build the static library as position independent
This allows it to be compiled into other shared libraries (like the Python
bindings) on x86_64 Linux systems.
2012-07-19 18:01:31 +01:00
Matt Williams
f11b4e17c1 Build only one of static or shared libraries
As discussed on the forums, to simplify the CMake code and avoid having to
manually specify dependencies this removes the hack to allow both static
and shared libraries to be built at the same time.

It introduces the new variable LIBRARY_TYPE which can be either STATIC or
DYNAMIC.

See: http://www.volumesoffun.com/phpBB3/viewtopic.php?p=3203#p3203
2012-07-19 17:33:34 +01:00
Matt Williams
00e2f37f31 Change BUILD_{STATIC,SHARED}_LIBRARIES to ENABLE_ 2012-07-15 20:49:39 +01:00
unknown
71b884e97b Removed remaining uses of template template parameters. 2012-06-12 16:38:51 +02:00
David Williams
48717284d5 Merge branch 'master' of git@gitorious.org:polyvox/polyvox.git 2012-04-09 11:01:02 +02:00
David Williams
e7f7e980b4 Fixed bug with serialising volume sizes. See: http://www.volumesoffun.com/phpBB3/viewtopic.php?f=15&t=360 2012-04-09 10:57:01 +02:00
Matt Williams
8e4135ad41 Add newlines to end of files to silence compiler warnings 2012-02-27 23:03:36 +00:00
David Williams
894455e35f Tidying up of headers and #includes. 2011-09-04 12:12:30 +01:00
David Williams
9f0ae602b8 Increased warning level in Visual studio. 2011-07-19 22:09:24 +01:00
David Williams
528cb73771 Moved headers into subdirectories. 2011-05-17 22:27:46 +01:00
David Williams
dfc78eab05 Mde serialisation independant of volume type. 2011-05-01 17:47:55 +01:00
David Williams
ea309ab15b Renamed Volume to LargeVolume. 2011-04-28 21:21:59 +01:00
David Williams
96ff5e890a Renamed VolumeSampler to Sampler 2011-04-28 20:37:02 +01:00
David Williams
6f1ddb7d5f Moved VolumeSampler into Volume class. 2011-04-28 20:30:16 +01:00
David Williams
7d76a1bb69 CMake fixes for Windows. 2011-04-28 11:56:33 +01:00
Matt Williams
fce8089264 Update ADD_DEPENDENCIES calls
Update for the static and dynamic options and add
some more calls for PolyVoxUtil and the tests.
2011-04-24 14:50:13 +02:00
Matt Williams
ac0fb2b310 Make dynamic or static libraries optional
The user can choose static or dynamic libraries using
BUILD_STATIC_LIBRARIES and BUILD_DYNAMIC_LIBRARIES. By default
Windows will only build static libraries and Linux will build both.
2011-04-21 21:40:51 +02:00
David Williams
ef52b906e6 Switched PoyVox to build as a static library. 2011-04-20 23:25:32 +01:00
David Williams
529ed89bdb More work on handling fixed size volumes. 2011-03-12 12:44:58 +00:00
David Williams
8df28b87fa Renamed SurfaceVertex.h/cpp to VertexTypes.h/cpp 2010-10-17 22:03:57 +00:00
David Williams
56ec37f5e2 Removed all the #pragma region/endregions as these were causing compile warnings from GCC and weren't that useful anyway... 2010-10-12 22:22:38 +00:00
David Williams
059ca90f08 Deprecated old serialization functions.
Added new serialization functions which support versioning.
Added 'resize()' function to volume.
2010-09-25 22:28:53 +00:00
David Williams
7f2518e6c8 Changes to support non-C++0x compilers. 2010-09-01 22:01:52 +00:00
David Williams
1123999d93 Removed 'using namespace' decalarations in inl's. 2010-08-26 22:04:09 +00:00
David Williams
ae3f149838 Reverted what looks like a previous accidental serialization commit. 2010-08-26 21:16:52 +00:00
David Williams
b44b06c1af Added missing dummy file. 2010-06-25 22:28:20 +00:00
David Williams
254fa3329e PolyVox and Thermite3D now support the use of a density component as well as a material component for each voxel. 2010-06-25 21:41:13 +00:00
David Williams
7ffcd0c7ed Move to VS 2010.
Update to Ogre SDK 1.7.1
Removed support for compilers which don't adhere to C++0X
2010-05-23 21:51:34 +00:00
David Williams
4c8c1593c0 Removed '_d' from debug file names. 2010-03-08 23:22:05 +00:00
Matt Williams
5db2913e41 Make it work slightly better in Windows.
I tried with MinGW in Qt Creator and it now compiles. There's a crash though, possibly due to the TypeDef.h stuff.
I need to recompile Qt in VS before I can try it in VS 2010.
2010-03-04 22:01:06 +00:00
Matt Williams
e9b963acc2 Use shortcut variables to point to PolyVoxCore source and binary directories. 2010-03-02 22:24:56 +00:00
David Williams
2d78808000 Renamed IndexedSurfacePatch to SurfaceMesh. 2010-02-20 00:20:43 +00:00
David Williams
9aee0d26d2 Removed Stan Melax's stuff. PolyVox should compile on Linux again now. 2010-02-19 21:24:35 +00:00
David Williams
5c8dd011e7 Switched to ZLib license. 2009-11-10 18:37:50 +00:00
David Williams
c695a7bc86 Initial work on progressive mesh generation. Currently based on Stan Melax's PolyChop. 2009-10-20 22:02:58 +00:00