120 Commits

Author SHA1 Message Date
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
29928b774d Bounds check added to get/setVoxelAt. 2010-06-15 20:32:14 +00:00
Matt Williams
7a3f3b2b28 Fix compilation on GCC 2010-05-24 20:12:09 +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
e1dde122a7 Added documentation for Array class. 2010-04-13 21:36:07 +00:00
David Williams
9e2f78a2f4 Split Array into separate .h and .inl files. 2010-04-13 20:24:14 +00:00
David Williams
86f3f7e644 Accepted GCC fix. 2010-04-11 23:19:58 +00:00
Matt Williams
2f084686f0 GCC was complaining about the extra qualification here. I've only commented it out to make it clear what I did.
I also needed to include cassert header to handle assert()s in templates.
Fixed compilation on Linux.
2010-03-30 10:52:03 +00:00
David Williams
3e1c07550b More work on multidimensional Array class. 2010-03-28 23:18:50 +00:00
David Williams
834b747171 Work on subarrays and some comments. 2010-03-28 22:18:52 +00:00
David Williams
a9b8e5b0cf Moved some stuff from Array to SubArray. 2010-03-28 22:04:17 +00:00
David Williams
9485706e52 Committing missing files.
Fixed inconsistent line endings.
2010-03-28 01:10:59 +00:00
David Williams
5e687fbd58 Added unit test for Array class. 2010-03-28 00:11:41 +00:00
David Williams
8240d477bd Documentation for ArraySizes. 2010-03-27 23:45:41 +00:00
David Williams
2db384b1bc Work on Array and ArraySize classes. 2010-03-27 22:57:56 +00:00
David Williams
5746a80517 Improved Array class for multidimensional arrays. 2010-03-22 00:02:24 +00:00
David Williams
f39c2afcb2 Committing missing file. 2010-03-15 17:06:32 +00:00
David Williams
34d138417e Work on making the surface extractor use the new Array class. 2010-03-14 22:24:32 +00:00
David Williams
dbde097547 Work on Arrays. 2010-03-14 21:31:17 +00:00
David Williams
33cf693ac8 Added new 'Array' class for supporting multidimensional arrays. 2010-03-14 20:40:52 +00:00
David Williams
b6eb517021 Removed support from SurfaceExtractor for extracting surfaces at different LOD levels. 2010-03-13 00:05:32 +00:00
David Williams
4c8c1593c0 Removed '_d' from debug file names. 2010-03-08 23:22:05 +00:00
David Williams
8ac9e1307f .dll export code now checks do Microsoft compiler rather than Windows. This should make G++ work properly on Windows. 2010-03-07 23:04:17 +00:00
David Williams
06ef752d05 Fixed windows build to install libraries and executables into the same folder. 2010-03-04 23:37:38 +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
44ee0d5309 Include <algorithm> header to fix build when in C++0x mode 2010-02-25 00:16:21 +00:00
David Williams
2d78808000 Renamed IndexedSurfacePatch to SurfaceMesh. 2010-02-20 00:20:43 +00:00
David Williams
3ed74a982c Work on decimation code. 2010-02-19 23:09:35 +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
d3ad3d985b Some tidying up of the LOD work. 2010-02-07 23:48:33 +00:00
David Williams
1448f95b0a More work on LOD - allowing material boundaries to collapse. 2010-02-07 22:53:13 +00:00
David Williams
d238da5fc9 More work on lod decimation. 2010-02-03 22:47:08 +00:00
David Williams
801c7f5c7f Some tidying and commenting of LOD code. 2010-02-03 21:48:04 +00:00
David Williams
89c48cdc27 Working version of mesh decimation code which acts directly on vertex/index buffers.
Also initial work on a 'dynamic' mesh for simplification... but this probably won't be needed now.
2010-02-02 23:18:17 +00:00
David Williams
5c8dd011e7 Switched to ZLib license. 2009-11-10 18:37:50 +00:00
David Williams
a1f5d4dc73 Improved extractSubset() to generate more memory efficient meshes. 2009-11-05 20:56:36 +00:00
David Williams
e820b3de6e Improvements to the way blending between materials is handled. 2009-10-24 18:48:52 +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
David Williams
5eb538e925 Added code to determine how much memory a volume is using.
Also map of homogenous regions is no longer static.
2009-10-17 20:39:38 +00:00
David Williams
094d279f74 Fix for compile problem in 64-bit mode. 2009-09-01 19:01:41 +00:00
David Williams
10c0f794b1 Added flag to test if we are on a material boundary. 2009-09-01 17:24:00 +00:00
Matt Williams
5ca6178e10 Commit commented out version of the code which fixes the build on Linux 2009-08-31 21:52:46 +00:00
Matt Williams
9df6288c67 Update Linux install paths to be FHS compliant. Windows paths should be unchanged. 2009-08-31 18:25:26 +00:00
David Williams
e5d38b597e Vertices now know whether they are on the edge of an indexed surface patch. This allows improved smoothing. 2009-07-23 16:54:46 +00:00
David Williams
ab906a03f6 Improvements to smoothing code. 2009-07-04 21:35:10 +00:00
David Williams
3229fcd62e Added comment. 2009-07-04 18:44:00 +00:00
David Williams
ebcf266bc7 Added some normal smoothing code. 2009-07-04 17:51:14 +00:00
David Williams
a7a90a03a1 Work on LOD system. 2009-06-28 10:59:22 +00:00
David Williams
e51b9cfee9 Work on improving material system. 2009-06-27 19:11:33 +00:00
David Williams
9d1f9e7959 Hack to fix crash. 2009-06-23 21:01:31 +00:00