277 Commits

Author SHA1 Message Date
David Williams
d951f4d3b0 Renamed BlockVolume to Volume.
Renamed BlockVolumeIterator to VolumeIterator.
2009-03-19 22:04:34 +00:00
David Williams
1dcec5bd3b Small fixes and some comments. 2009-03-18 23:13:34 +00:00
David Williams
74292f7a62 Work on new OpenGL example - Splitting into several files. 2009-03-18 22:48:44 +00:00
David Williams
877396af31 Work on new OpenGL example - Splitting into several files. 2009-03-18 22:35:21 +00:00
David Williams
bd5acdb4cd Work on new OpenGL example - Splitting into several files. 2009-03-18 21:10:51 +00:00
David Williams
a50bb8413e Work on new OpenGL example. 2009-03-18 20:44:05 +00:00
David Williams
e32d840c50 Work on new OpenGL example - Fixed bug with missing polygons. 2009-03-17 23:44:47 +00:00
David Williams
4d02b60471 Work on new OpenGL example - Fixed lighting bug. 2009-03-17 23:35:12 +00:00
David Williams
93e90b6031 Work on new OpenGL example - Work on immediate mode. 2009-03-16 21:33:56 +00:00
David Williams
3e483c4355 Adding immediate mode rendering back into example. 2009-03-16 20:56:58 +00:00
David Williams
8bbb32a31a Work on new OpenGL example - Added FPS counter. 2009-03-15 22:16:29 +00:00
David Williams
226d727b83 Work on new OpenGL example - Added mouse handling for rotation. 2009-03-15 22:07:38 +00:00
Matt Williams
997bef28db Update the Doxygen mainpage to show an example of how to make a page for a PolyVox tutorial. 2009-03-15 19:28:20 +00:00
David Williams
8f4b18bf03 Work on new OpenGL example - Enabled lighting. 2009-03-15 18:32:47 +00:00
David Williams
6dccb7b3e7 Work on new OpenGL example - bit of tidying up. 2009-03-15 18:04:26 +00:00
David Williams
1b5b90a56d Work on new OpenGL example - created separate function for converting IndexedSurfacePatches into OpenGL structures. 2009-03-15 17:55:51 +00:00
David Williams
8ec128d73f Work on new OpenGL example - got basic different materials working. 2009-03-15 17:31:30 +00:00
David Williams
def987450c Work on new OpenGL example. 2009-03-13 23:36:45 +00:00
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