259 Commits

Author SHA1 Message Date
David Williams
b26e306bb9 Work on new OpenGL example. 2009-03-13 22:28:35 +00:00
David Williams
bdea87d6d6 Added setElements to Vector.
Work on new OpenGL example.
2009-03-13 22:10:32 +00:00
David Williams
0f4a4c0e2b Removed setVoxel() function from BlockVolumeIterator and added setVoxelAt() function to BlockVolume.h
Improved OpenGL example.
2009-03-12 21:48:14 +00:00
David Williams
7100e558f3 Removed LinearVolume class. 2009-03-10 22:10:37 +00:00
Matt Williams
5fada3af5a Make these doxygen'd 2009-03-09 23:58:18 +00:00
David Williams
31c0b24a27 Work on gradient estimators. Added CENTRAL_DIFFERENCE_SMOOTHED and SOBEL_SMOOTHED. 2009-03-09 23:21:03 +00:00
David Williams
34c41cd32e Fixed getSubSampledVoxel to get minimum of values, not max. This hides cracks between LOD levels.
Changed region side length from 16 to 32. This reduces number of regions and hence batch count.
2009-03-08 00:03:35 +00:00
Matt Williams
2ae98647f6 Add 'doc' target to PolyVox to create doxygen docs 2009-03-02 16:43:25 +00:00
Matt Williams
5b52f8c65f Fix the PolyVoxConifg[Version].cmake files.
Dave, try renaming Thermite's FindPolyVox.cmake file and see if cmake correctly finds PolyVox one it's been installed with these changes
2009-02-27 16:40:04 +00:00
Matt Williams
42f66378ea Change CMake install path for Linux 2009-02-27 16:15:18 +00:00
David Williams
3c4411952a Initial support for run-length encoding of volumes when they are serialised to disk. 2009-02-22 12:25:51 +00:00
David Williams
bc008f3606 Fixed bug with region position nor being set by surface extractors. 2009-02-22 11:27:59 +00:00
Matt Williams
5a30062c6d Minor changes to CMakeLists.txts 2008-12-16 12:17:30 +00:00
Matt Williams
c171a255f4 Add normal include path too 2008-11-22 20:19:26 +00:00
Matt Williams
7c9cefc2d6 Add missing headers causing compile errors on Linux
Don't build GL example at all on Linux
Add PolyVoxConfig.cmake file
2008-11-22 20:09:59 +00:00
David Williams
68d0353cff Added skybox support. This highlighted the fact that the volume was the wrong way round, so an initial version of the tool 'VolumeMagick' is also added for changing this kind of stuff. This in turn meant refactoring volume loading/saving code from thermite into PolyVoxUtil. 2008-07-19 15:42:02 +00:00
David Williams
2459b99886 Work on level of detail including refactoring. 2008-07-13 09:14:20 +00:00
David Williams
f32616d5a9 Work on generating surface patches on demand. 2008-07-10 21:43:24 +00:00
David Williams
8b98d69d4e Initial LOD working. 2008-07-07 21:20:30 +00:00
David Williams
0d3a215637 Work on IndexedSurfacePatch 2008-07-05 22:11:09 +00:00
David Williams
75d1136d96 Removed RegionGeometry class.
Did lots of clean up.
2008-07-05 20:56:55 +00:00
David Williams
c2e69e0d72 Moved some surface extraction stuff into PolyVoxImpl 2008-07-04 21:03:12 +00:00
David Williams
ae14a9f30a Removed redundant files. 2008-07-03 19:23:25 +00:00
David Williams
29ef5f021e Rearranging files in PolyVox. 2008-07-03 19:17:17 +00:00
David Williams
4f546d1dc4 Working on refactoring code into namespaces - DOES NOT BUILD 2008-07-02 21:36:56 +00:00
David Williams
0758f81b54 Moved typedef'd integers into PlyVox namespace instead of std. 2008-07-01 21:38:10 +00:00
David Williams
1c2a007d23 IndexedSurfacePatch no longer handles duplicate vertices. This is done directly by the reference marching cubes implementation. 2008-07-01 21:15:05 +00:00
David Williams
3ce8e42551 Work adding normals to marching cubes reference implementation. 2008-06-27 18:10:18 +00:00
David Williams
b990efce24 Work on improving mesh decimation. 2008-06-27 16:44:18 +00:00
David Williams
27f6e461c0 Removed boost dependency. 2008-06-25 21:13:59 +00:00
David Williams
9a58b83b6d Tidying up... 2008-06-25 20:16:58 +00:00
David Williams
e6a7174b53 Initial version of mesh smoothing code. 2008-06-24 21:28:29 +00:00
David Williams
b12bd1ebe2 Removed accidentally hard coded value; 2008-06-17 19:05:02 +00:00
David Williams
7150be6130 Tidying up normal generation code. 2008-06-15 17:12:55 +00:00
David Williams
5eb5d33aa1 Mesh decimation now works for levels 0,1,2 and 3. 2008-06-13 21:05:45 +00:00
David Williams
0751ff2fad More work on multiresolution mesh generation. Nearly there... 2008-06-12 21:55:59 +00:00
David Williams
eed6d56cb6 Decimation now handles level 0 and level 1. Crashes on level 2... 2008-06-12 21:16:50 +00:00
David Williams
e019c92dc2 Work making decimated approach handle multiple resolutions. 2008-06-12 19:40:36 +00:00
David Williams
3566fc1863 Small improvements to logBase2() and isPowerOfTwo() functions. 2008-06-12 18:54:09 +00:00
David Williams
e1e8e2c8cc Work simplifying marching cubes implementations. 2008-06-12 18:30:13 +00:00
David Williams
2657d5ba6f Some tidying up op OpenGL example. 2008-06-11 21:49:46 +00:00
David Williams
2f5d9e5ab2 OpenGL sample now builds and displays a sphere volume. 2008-06-11 21:32:03 +00:00
David Williams
350a7feef6 Initial version of fast decimation. 2008-06-11 20:22:00 +00:00
David Williams
33cb721cc0 Initial version of mesh decimation. 2008-06-10 21:45:38 +00:00
David Williams
f8a090abba Moving stuff around - not currently buildable! 2008-06-08 19:48:39 +00:00
David Williams
83ac5dc544 Moving stuff around - not currently buildable! 2008-06-08 19:16:53 +00:00
David Williams
957d8715e7 Moving stuff around - not currently buildable! 2008-06-08 19:08:35 +00:00
David Williams
119cd925f0 Moving stuff around - not currently buildable! 2008-06-08 19:05:49 +00:00
David Williams
2374082542 Work on CMake for OpenGL example. 2008-06-08 18:49:04 +00:00
David Williams
adff2177fd Moved some code around... 2008-06-08 18:03:20 +00:00