96ff5e890a
Renamed VolumeSampler to Sampler
David Williams
2011-04-28 20:37:02 +01:00
6f1ddb7d5f
Moved VolumeSampler into Volume class.
David Williams
2011-04-28 20:30:16 +01:00
7d76a1bb69
CMake fixes for Windows.
David Williams
2011-04-28 11:56:33 +01:00
f93c25acaf
Improved OpenGL error handling for basic example.
Matt Williams
2011-04-25 01:18:40 +02:00
6b4c7686e6
Fix for extractSubset() not copying the region.
Matt Williams
2011-04-24 20:52:53 +02:00
fce8089264
Update ADD_DEPENDENCIES calls
Matt Williams
2011-04-24 14:50:13 +02:00
ac0fb2b310
Make dynamic or static libraries optional
Matt Williams
2011-04-21 21:40:51 +02:00
f7f473126c
Comment fixes.
David Williams
2011-04-20 23:36:02 +01:00
ef52b906e6
Switched PoyVox to build as a static library.
David Williams
2011-04-20 23:25:32 +01:00
a5f37d7a3a
Initial check in of RaycastWithCallback
David Williams
2011-04-17 11:53:13 +01:00
55cbff1186
Added control over the number of samples taken in the ambient occlusion calculator.
David Williams
2011-04-16 14:10:34 +01:00
f302e3612a
Fix for duplicate vertices in CubicSurfaceExtractor.
David Williams
2011-04-13 21:09:51 +01:00
d9719cbd36
Merge commit 'refs/merge-requests/1' of git://gitorious.org/polyvox/polyvox
David Williams
2011-04-10 21:07:06 +01:00
d300e9fdde
Fixed crash in OpenGL example.
David Williams
2011-04-10 21:04:33 +01:00
8b9a7e948e
Added <cstdlib> for abort().
David Williams
2011-04-10 19:28:32 +01:00
0421d2aa8a
Minor fixes to tutorial1
Matt Williams
2011-04-09 18:31:59 +02:00
ddbb863e58
Fixed broken regression test.
David Williams
2011-04-08 22:00:44 +01:00
b741403b45
Added placeholder file for empty build folder.
David Williams
2011-04-08 21:53:10 +01:00
ac5173b5d7
Fix compilation on Linux -- missing #include
Matt Williams
2011-04-07 17:02:28 +00:00
2120b30f32
Documentation updates.
David Williams
2011-04-05 21:09:28 +00:00
076ab9865e
Merged in RLE branch.
David Williams
2011-04-05 20:55:20 +00:00
a1d05423be
Cut down paging example, as it was running too slowly.
David Williams
2011-04-04 21:41:41 +00:00
dd192c37d3
Updated documentation.
David Williams
2011-04-04 21:04:28 +00:00
884ef3a17e
Documentation update.
David Williams
2011-03-31 19:32:34 +00:00
ba6cd1c872
Removed redundant comparison operators from VoxelTypes.
David Williams
2011-03-29 20:48:38 +00:00
03b690673a
Reverted accidental commit.
David Williams
2011-03-29 20:48:16 +00:00
aed8f79aa1
Documentation update. Fixed crash in flushAll().
David Williams
2011-03-28 19:55:45 +00:00
91c9aebda0
Boost fix.
David Williams
2011-03-27 19:20:58 +00:00
092d2aa6a0
Moved a comment, only because I forgot to save this file earlier. It's not an important change...
David Williams
2011-03-24 23:00:28 +00:00
a364f6d72c
More flush/prefetch work from ker.
David Williams
2011-03-24 21:34:57 +00:00
78c5884303
Applied ker's patch for prefetch and flush.
David Williams
2011-03-22 21:44:12 +00:00
c7e452f537
Deprecated constructor.
David Williams
2011-03-21 22:17:00 +00:00
8306be728d
Moved to perlin nose code to a separate file for copyright reasons.
David Williams
2011-03-20 22:56:32 +00:00
40295c84b1
Added paging example and reverted basic example back to it's previous state.
David Williams
2011-03-20 22:42:05 +00:00
708b142702
Added ability to disable volume compression.
David Williams
2011-03-20 18:56:30 +00:00
350d4a6a87
Applying Linux patch.
David Williams
2011-03-20 11:57:05 +00:00
60dbfd9335
Work on making paging optional.
David Williams
2011-03-19 19:01:04 +00:00
3cc2e4383f
Some refactoring of the volume.
David Williams
2011-03-18 23:54:11 +00:00
5891d56e12
Fix for linker errors when using MeshDecimator.
David Williams
2011-03-18 22:04:53 +00:00
ef185d79a0
Removed getWidth(), getHeight(), getDepth() and width(), height(), depth() remain deprecated. These functions seem ambiguous, so users have to calculate these values themselves when they want them.
David Williams
2011-03-16 23:14:28 +00:00
f887565e35
Fixed missing includes.
David Williams
2011-03-15 22:22:20 +00:00
0b1659bdef
Added ConstVolumeProxy to work around const setVoxelAt awkwardness.
David Williams
2011-03-13 22:44:35 +00:00
7c3e63b2ed
Removed call to deprecated function.
David Williams
2011-03-13 20:34:57 +00:00
b5f60b28a2
getUncompressedBlock() now checks if it's getting the same block as last time.
David Williams
2011-03-12 19:15:27 +00:00
ff12264744
Raycast class now returns Vector3DInt32 instead of Vector3DInt16.
David Williams
2011-03-12 13:43:08 +00:00
529ed89bdb
More work on handling fixed size volumes.
David Williams
2011-03-12 12:44:58 +00:00
596dcf507e
Reverted some of ker's changes to bring back the concepts of width, height, and depth.
David Williams
2011-03-11 22:14:51 +00:00
624a192be4
Compile fixes for non-boost systems, mostly related to function and bind.
David Williams
2011-03-10 20:55:11 +00:00
8e6b1a3b7e
Applying ker's patch unmodified.
David Williams
2011-03-10 20:31:11 +00:00
d7cea1b72e
Added credits file.
David Williams
2011-03-03 23:25:16 +00:00
4ef0cfb468
Applied patch from ker such that int32_t's are now used instead of uint16_t's for addressing voxel positions.
David Williams
2011-03-03 23:00:00 +00:00
3c34d401fc
Added compatibility mode.
David Williams
2011-02-14 22:14:41 +00:00
03a713867f
Documentation and tidying.
David Williams
2011-02-13 00:31:45 +00:00
4bbea05504
Documentation and tidying.
David Williams
2011-02-13 00:15:32 +00:00
ad0e923413
Documentation and tidying.
David Williams
2011-02-13 00:07:12 +00:00
29e2e14c3a
More tidying up.
David Williams
2011-02-12 22:21:17 +00:00
bf9f5aee48
More tidying up.
David Williams
2011-02-12 21:47:02 +00:00
ed355b856f
More tidying up.
David Williams
2011-02-12 20:47:01 +00:00
9b3deca7f0
David Williams
2011-02-10 23:56:33 +00:00
81d2bb6408
Refactoring and tidying.
David Williams
2011-02-10 22:43:34 +00:00
7f831fb97a
Made Block copy constructor private.
David Williams
2011-02-09 22:21:44 +00:00
b1eab6c6a3
David Williams
2011-02-09 20:52:36 +00:00
4da1f6149a
David Williams
2011-02-07 23:47:48 +00:00
42db69e013
Fast version of perlin noise.
David Williams
2011-02-07 22:07:47 +00:00
23a56ed000
More work on compression.
David Williams
2011-02-07 21:34:57 +00:00
f13e9161f8
More work on compression and bug fixes.
David Williams
2011-02-06 23:23:01 +00:00
4621ef8091
Start of actual RLE compression.
David Williams
2011-02-06 22:30:32 +00:00
7be083a243
Implemented cache of uncompressed blocks.
David Williams
2011-02-06 18:24:05 +00:00
21490c5228
Small crash fixes.
David Williams
2011-02-05 18:19:15 +00:00
754690e251
Removed block sharing ready for compression.
David Williams
2011-02-05 17:56:59 +00:00
5770d2bf04
Added Perlin noise code for testing RLE.
David Williams
2011-02-05 16:43:58 +00:00
96cdf7b9a5
Added class documentation to the Raycast class.
David Williams
2011-01-31 21:37:33 +00:00
1fed1c161a
Fix slashes in SWIG files to fix compilation in Linux.
Matt Williams
2011-01-28 15:23:18 +00:00
ae3ac704e4
Brought back extractSubset from Thermite. Fixed to work with PositionMaterial vertices. Also made it a free function.
David Williams
2011-01-23 17:41:06 +00:00
c1ebed678e
More SWIG bindings.
David Williams
2011-01-18 21:59:21 +00:00
03d9eb718f
Removed some functions which we probably don't need any more.
David Williams
2011-01-16 21:44:53 +00:00
21d24ef7d4
Changes to make SWIG bindings easier. Also removed SurfaceMesh::smoothPositions().
David Williams
2011-01-16 20:37:42 +00:00
36f8dc0296
More SWIG changes.
David Williams
2011-01-16 20:22:49 +00:00
513b1878f1
Updated SWIG bindings, especially for C#.
David Williams
2011-01-16 20:09:59 +00:00
e3dd07c216
Moved the ambient occlusion calculation code from Thermite into PolyVox.
David Williams
2011-01-16 16:26:10 +00:00
8619b36b5f
Small tweaks to Raycast
David Williams
2011-01-15 23:37:43 +00:00
359c9ec343
Added function to get Array size. Added new operators to Vector.
David Williams
2011-01-10 21:29:18 +00:00
b607653e9f
Work on raycasting.
David Williams
2011-01-08 17:31:42 +00:00
8df20f2203
Work on Raycast.
David Williams
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.
David Williams
2011-01-08 16:14:52 +00:00
1d64f7aecb
Initial version of new Raycast class.
David Williams
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.
David Williams
2011-01-06 23:00:17 +00:00
3205ce6c30
Removed old and redundant Mesh* classes.
David Williams
2011-01-06 22:46:24 +00:00
83b2f84529
OpenGLExample does decimation now, so so we can check it still compiles.
David Williams
2011-01-06 22:36:25 +00:00
db13224bba
Reverted some accidental commits from testing the MeshDecimator.
David Williams
2011-01-06 21:54:07 +00:00
2b70409baa
Optimisations to the MeshDecimator.
David Williams
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.
Matt Williams
2011-01-06 17:56:19 +00:00
e6307a9a77
Added some documentation and small performance improvements.
David Williams
2011-01-05 22:43:46 +00:00
a7828995d9
Just tidying up the MeshDecimator stuff a bit...
David Williams
2011-01-05 22:05:53 +00:00
d0e4b06051
Just tidying up the MeshDecimator stuff a bit...
David Williams
2011-01-05 21:32:31 +00:00
f8c036bcf6
Work on MeshDecimator.
David Williams
2011-01-04 23:01:38 +00:00
10b44eabae
Added missing file Density.i
David Williams
2011-01-04 20:49:22 +00:00
773cfc4887
Work on MeshDecimator.
David Williams
2011-01-03 21:46:40 +00:00
996dfac39c
Work on MeshDecimator.
David Williams
2011-01-03 11:19:03 +00:00
090e002ff1
Reverted accidental commit.
David Williams
2011-01-02 17:50:54 +00:00