Commit Graph

51 Commits

Author SHA1 Message Date
30b45114ac Changed a single instance of PolyVoxUtilStatic to PolyVoxUtil. 2012-07-20 10:16:23 +02:00
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
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
00e2f37f31 Change BUILD_{STATIC,SHARED}_LIBRARIES to ENABLE_ 2012-07-15 20:49:39 +01:00
71b884e97b Removed remaining uses of template template parameters. 2012-06-12 16:38:51 +02:00
48717284d5 Merge branch 'master' of git@gitorious.org:polyvox/polyvox.git 2012-04-09 11:01:02 +02:00
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
8e4135ad41 Add newlines to end of files to silence compiler warnings 2012-02-27 23:03:36 +00:00
894455e35f Tidying up of headers and #includes. 2011-09-04 12:12:30 +01:00
9f0ae602b8 Increased warning level in Visual studio. 2011-07-19 22:09:24 +01:00
528cb73771 Moved headers into subdirectories. 2011-05-17 22:27:46 +01:00
dfc78eab05 Mde serialisation independant of volume type. 2011-05-01 17:47:55 +01:00
ea309ab15b Renamed Volume to LargeVolume. 2011-04-28 21:21:59 +01:00
96ff5e890a Renamed VolumeSampler to Sampler 2011-04-28 20:37:02 +01:00
6f1ddb7d5f Moved VolumeSampler into Volume class. 2011-04-28 20:30:16 +01:00
7d76a1bb69 CMake fixes for Windows. 2011-04-28 11:56:33 +01:00
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
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
ef52b906e6 Switched PoyVox to build as a static library. 2011-04-20 23:25:32 +01:00
529ed89bdb More work on handling fixed size volumes. 2011-03-12 12:44:58 +00:00
8df28b87fa Renamed SurfaceVertex.h/cpp to VertexTypes.h/cpp 2010-10-17 22:03:57 +00:00
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
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
7f2518e6c8 Changes to support non-C++0x compilers. 2010-09-01 22:01:52 +00:00
1123999d93 Removed 'using namespace' decalarations in inl's. 2010-08-26 22:04:09 +00:00
ae3f149838 Reverted what looks like a previous accidental serialization commit. 2010-08-26 21:16:52 +00:00
b44b06c1af Added missing dummy file. 2010-06-25 22:28:20 +00:00
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
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
4c8c1593c0 Removed '_d' from debug file names. 2010-03-08 23:22:05 +00:00
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
e9b963acc2 Use shortcut variables to point to PolyVoxCore source and binary directories. 2010-03-02 22:24:56 +00:00
2d78808000 Renamed IndexedSurfacePatch to SurfaceMesh. 2010-02-20 00:20:43 +00:00
9aee0d26d2 Removed Stan Melax's stuff. PolyVox should compile on Linux again now. 2010-02-19 21:24:35 +00:00
5c8dd011e7 Switched to ZLib license. 2009-11-10 18:37:50 +00:00
c695a7bc86 Initial work on progressive mesh generation. Currently based on Stan Melax's PolyChop. 2009-10-20 22:02:58 +00:00
9df6288c67 Update Linux install paths to be FHS compliant. Windows paths should be unchanged. 2009-08-31 18:25:26 +00:00
099c5c7fbf Work on volume resource loading. 2009-08-09 14:37:43 +00:00
1994155d07 Removed the boost::function stuff. It was too heavy, and not that useful without boost::bind (which added more weight). Switched to listener classes - to be reviewed with C++0x. 2009-06-21 10:12:56 +00:00
a91ff9a10f Made sure all Thermite stuff is in the Thermite namespace. 2009-06-19 21:02:44 +00:00
bf26f9c89a Replaced function pointers with boost::function. 2009-06-18 23:04:10 +00:00
5e2b8156c9 Added initial loading progress dialog. 2009-06-18 21:56:21 +00:00
530a53b4fe Work on multi threaded surface extractor. 2009-06-09 19:17:17 +00:00
3010eb341d Making use of sampling adjacent voxels. General optimisations and improvements. 2009-06-06 23:08:08 +00:00
69d6ad86a7 Removed old, redundant surface extraction algorithms (FastSurfaceExtractor and DecimatedSurfaceExtractor). These are now replaced by the general SurfaceExtractor. 2009-05-31 09:59:43 +00:00
6e9c31d6bc Renamed VlumeIterator to VolumeSampler. 2009-05-21 22:44:19 +00:00
ed5bff9ee1 Small volume fixes. 2009-04-25 15:47:20 +00:00
76fa702ea7 Renamed WorldRegion to MapRegion. 2009-04-21 22:05:31 +00:00
498db68b59 Work on VolumeChangeTracker. 2009-04-21 21:46:55 +00:00
c627c90cd0 Added support for non-cubic volumes. 2009-04-19 22:48:56 +00:00