Commit Graph

234 Commits

Author SHA1 Message Date
21d24ef7d4 Changes to make SWIG bindings easier. Also removed SurfaceMesh::smoothPositions(). 2011-01-16 20:37:42 +00:00
e3dd07c216 Moved the ambient occlusion calculation code from Thermite into PolyVox. 2011-01-16 16:26:10 +00:00
8619b36b5f Small tweaks to Raycast 2011-01-15 23:37:43 +00:00
359c9ec343 Added function to get Array size.
Added new operators to Vector.
2011-01-10 21:29:18 +00:00
b607653e9f Work on raycasting. 2011-01-08 17:31:42 +00:00
8df20f2203 Work on Raycast. 2011-01-08 16:57:33 +00:00
a57e1d749a Got carried away with the cleaning up and removed some stuff that is still needed by Thermite. Would be nice to remove it in the future though. 2011-01-08 16:14:52 +00:00
1d64f7aecb Initial version of new Raycast class. 2011-01-08 15:58:02 +00:00
9310c97333 SurfaceExtractor no longer flags region and material edges.
Region/material edges no longer stored as vertex flags.
Replaced addCubicTriangle with addTriangle.
2011-01-06 23:00:17 +00:00
3205ce6c30 Removed old and redundant Mesh* classes. 2011-01-06 22:46:24 +00:00
83b2f84529 OpenGLExample does decimation now, so so we can check it still compiles. 2011-01-06 22:36:25 +00:00
2b70409baa Optimisations to the MeshDecimator. 2011-01-06 21:41:53 +00:00
149dde9460 Fix compilation on Linux:
- The template addition is apparently a C++ Standard thing which is a bit of a mess but the way GCC interprets it requires these.
 - In XOrg there is a struct called 'Region' which causes ambiguities. For some reason doing 'using PolyVox::Region' didn't fix it.
2011-01-06 17:56:19 +00:00
e6307a9a77 Added some documentation and small performance improvements. 2011-01-05 22:43:46 +00:00
a7828995d9 Just tidying up the MeshDecimator stuff a bit... 2011-01-05 22:05:53 +00:00
d0e4b06051 Just tidying up the MeshDecimator stuff a bit... 2011-01-05 21:32:31 +00:00
f8c036bcf6 Work on MeshDecimator. 2011-01-04 23:01:38 +00:00
773cfc4887 Work on MeshDecimator. 2011-01-03 21:46:40 +00:00
996dfac39c Work on MeshDecimator. 2011-01-03 11:19:03 +00:00
68ac0f0056 Work on MeshDecimator. 2011-01-02 17:43:41 +00:00
fff36662a5 Work on MeshDecimator. 2011-01-02 15:28:02 +00:00
6b78768ba0 Work on MeshDecimator. 2011-01-01 18:18:32 +00:00
f39e2f0935 Fix for surface extractors not extracting surfaces outside of volume. 2010-12-30 21:56:48 +00:00
f7573e7660 Work on SWIG bindings for PolyVox. 2010-12-28 11:14:55 +00:00
89df1c8824 Work on SWIG bindings for PolyVox. 2010-12-28 09:49:18 +00:00
26d114defe Work on MeshDecimator. 2010-12-18 23:47:18 +00:00
d30ea9d709 Initial check in of MeshDecimator. 2010-12-18 17:42:17 +00:00
7a93879fa7 Fix for Linux compile error. 2010-12-18 11:40:36 +00:00
6f2218f910 Fixed numeric_limits compile error. 2010-12-18 10:08:49 +00:00
46c805759c Fix compilation on Linux 2010-12-13 15:48:09 +00:00
2bbd401351 Comments on const_cast. 2010-12-09 23:08:25 +00:00
11fc214583 Documentation for pathfinder. 2010-12-09 21:39:35 +00:00
cb7180f7d0 Adding defines so that Boost can be used instead of C++0x when pathfinding. 2010-12-08 23:24:16 +00:00
c9331c3e35 Moved AStarPathfinder code from Thermite to PolyVox. 2010-12-08 23:06:29 +00:00
30425a4d86 Added default boundaries for Regions::containsPoint() functions. 2010-12-05 12:37:43 +00:00
3752dda53f Patch for improved Boost support for VS2008 and below. 2010-12-02 20:18:19 +00:00
87a526bb46 Without this, Thermite errors at compilation time.
Given the large amount of templated classes in PolyVox perhaps we need some tests in PolyVox which compile classes like this to find errors like this earlier?
2010-11-28 14:07:31 +00:00
fbb3f0537c Fixed bug with 'empty()' being called rather than 'clear()'. 2010-11-22 23:42:45 +00:00
b5814a410c Fixed some warnings with patch from AndiNo. 2010-11-04 23:25:26 +00:00
625bd14187 Added Material8 and Density8 classes, and Thermite now uses the Material8 one. 2010-11-04 23:12:31 +00:00
0b410eaed3 Memory improvements for surface extractor. 2010-10-20 22:14:03 +00:00
695c15cecd More work on CubicSurfaceExtractor. 2010-10-20 21:09:55 +00:00
0ca8a334f2 Improvements to CubicSurfaceExtractor. Now faster and eliminates duplicated vertices. 2010-10-20 20:29:09 +00:00
8df28b87fa Renamed SurfaceVertex.h/cpp to VertexTypes.h/cpp 2010-10-17 22:03:57 +00:00
9e1de4ba72 Templatised SurfaceMesh class on vertex type.
Replaced 'SurfaceVertex' with PositionMaterial and PositionMaterialNormal classes.
Different surface extractors can now work with different vertex types.
2010-10-17 21:13:46 +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
69e6f439ce CubicSurfaceExtractor support for materials. Also correctly settings the generates mesh's region. 2010-09-23 06:50:15 +00:00
cc1aa8a514 Fix for broken moveNegative...() sampler functions.
Fixed bug in surface extractor causing divide by zero and/or infinite vertices.
2010-09-12 21:10:15 +00:00
c395fc88a9 Fix case. 2010-09-02 09:02:50 +00:00