877396af31
Work on new OpenGL example - Splitting into several files.
David Williams
2009-03-18 22:35:21 +00:00
bd5acdb4cd
Work on new OpenGL example - Splitting into several files.
David Williams
2009-03-18 21:10:51 +00:00
a50bb8413e
Work on new OpenGL example.
David Williams
2009-03-18 20:44:05 +00:00
e32d840c50
Work on new OpenGL example - Fixed bug with missing polygons.
David Williams
2009-03-17 23:44:47 +00:00
4d02b60471
Work on new OpenGL example - Fixed lighting bug.
David Williams
2009-03-17 23:35:12 +00:00
93e90b6031
Work on new OpenGL example - Work on immediate mode.
David Williams
2009-03-16 21:33:56 +00:00
3e483c4355
Adding immediate mode rendering back into example.
David Williams
2009-03-16 20:56:58 +00:00
8bbb32a31a
Work on new OpenGL example - Added FPS counter.
David Williams
2009-03-15 22:16:29 +00:00
226d727b83
Work on new OpenGL example - Added mouse handling for rotation.
David Williams
2009-03-15 22:07:38 +00:00
997bef28db
Update the Doxygen mainpage to show an example of how to make a page for a PolyVox tutorial.
Matt Williams
2009-03-15 19:28:20 +00:00
8f4b18bf03
Work on new OpenGL example - Enabled lighting.
David Williams
2009-03-15 18:32:47 +00:00
6dccb7b3e7
Work on new OpenGL example - bit of tidying up.
David Williams
2009-03-15 18:04:26 +00:00
1b5b90a56d
Work on new OpenGL example - created separate function for converting IndexedSurfacePatches into OpenGL structures.
David Williams
2009-03-15 17:55:51 +00:00
8ec128d73f
Work on new OpenGL example - got basic different materials working.
David Williams
2009-03-15 17:31:30 +00:00
def987450c
Work on new OpenGL example.
David Williams
2009-03-13 23:36:45 +00:00
b26e306bb9
Work on new OpenGL example.
David Williams
2009-03-13 22:28:35 +00:00
bdea87d6d6
Added setElements to Vector. Work on new OpenGL example.
David Williams
2009-03-13 22:10:32 +00:00
0f4a4c0e2b
Removed setVoxel() function from BlockVolumeIterator and added setVoxelAt() function to BlockVolume.h
David Williams
2009-03-12 21:48:14 +00:00
7100e558f3
Removed LinearVolume class.
David Williams
2009-03-10 22:10:37 +00:00
5fada3af5a
Make these doxygen'd
Matt Williams
2009-03-09 23:58:18 +00:00
31c0b24a27
Work on gradient estimators. Added CENTRAL_DIFFERENCE_SMOOTHED and SOBEL_SMOOTHED.
David Williams
2009-03-09 23:21:03 +00:00
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.
David Williams
2009-03-08 00:03:35 +00:00
2ae98647f6
Add 'doc' target to PolyVox to create doxygen docs
Matt Williams
2009-03-02 16:43:25 +00:00
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
Matt Williams
2009-02-27 16:40:04 +00:00
42f66378ea
Change CMake install path for Linux
Matt Williams
2009-02-27 16:15:18 +00:00
3c4411952a
Initial support for run-length encoding of volumes when they are serialised to disk.
David Williams
2009-02-22 12:25:51 +00:00
bc008f3606
Fixed bug with region position nor being set by surface extractors.
David Williams
2009-02-22 11:27:59 +00:00
5a30062c6d
Minor changes to CMakeLists.txts
Matt Williams
2008-12-16 12:17:30 +00:00
c171a255f4
Add normal include path too
Matt Williams
2008-11-22 20:19:26 +00:00
7c9cefc2d6
Add missing headers causing compile errors on Linux Don't build GL example at all on Linux Add PolyVoxConfig.cmake file
Matt Williams
2008-11-22 20:09:59 +00:00
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.
David Williams
2008-07-19 15:42:02 +00:00
2459b99886
Work on level of detail including refactoring.
David Williams
2008-07-13 09:14:20 +00:00
f32616d5a9
Work on generating surface patches on demand.
David Williams
2008-07-10 21:43:24 +00:00
8b98d69d4e
Initial LOD working.
David Williams
2008-07-07 21:20:30 +00:00
0d3a215637
Work on IndexedSurfacePatch
David Williams
2008-07-05 22:11:09 +00:00
75d1136d96
Removed RegionGeometry class. Did lots of clean up.
David Williams
2008-07-05 20:56:55 +00:00
c2e69e0d72
Moved some surface extraction stuff into PolyVoxImpl
David Williams
2008-07-04 21:03:12 +00:00
ae14a9f30a
Removed redundant files.
David Williams
2008-07-03 19:23:25 +00:00
29ef5f021e
Rearranging files in PolyVox.
David Williams
2008-07-03 19:17:17 +00:00
4f546d1dc4
Working on refactoring code into namespaces - DOES NOT BUILD
David Williams
2008-07-02 21:36:56 +00:00
0758f81b54
Moved typedef'd integers into PlyVox namespace instead of std.
David Williams
2008-07-01 21:38:10 +00:00
1c2a007d23
IndexedSurfacePatch no longer handles duplicate vertices. This is done directly by the reference marching cubes implementation.
David Williams
2008-07-01 21:15:05 +00:00
3ce8e42551
Work adding normals to marching cubes reference implementation.
David Williams
2008-06-27 18:10:18 +00:00
b990efce24
Work on improving mesh decimation.
David Williams
2008-06-27 16:44:18 +00:00
27f6e461c0
Removed boost dependency.
David Williams
2008-06-25 21:13:59 +00:00
9a58b83b6d
Tidying up...
David Williams
2008-06-25 20:16:58 +00:00
e6a7174b53
Initial version of mesh smoothing code.
David Williams
2008-06-24 21:28:29 +00:00
b12bd1ebe2
Removed accidentally hard coded value;
David Williams
2008-06-17 19:05:02 +00:00
7150be6130
Tidying up normal generation code.
David Williams
2008-06-15 17:12:55 +00:00
5eb5d33aa1
Mesh decimation now works for levels 0,1,2 and 3.
David Williams
2008-06-13 21:05:45 +00:00
0751ff2fad
More work on multiresolution mesh generation. Nearly there...
David Williams
2008-06-12 21:55:59 +00:00
eed6d56cb6
Decimation now handles level 0 and level 1. Crashes on level 2...
David Williams
2008-06-12 21:16:50 +00:00
e019c92dc2
Work making decimated approach handle multiple resolutions.
David Williams
2008-06-12 19:40:36 +00:00
3566fc1863
Small improvements to logBase2() and isPowerOfTwo() functions.
David Williams
2008-06-12 18:54:09 +00:00
e1e8e2c8cc
Work simplifying marching cubes implementations.
David Williams
2008-06-12 18:30:13 +00:00
2657d5ba6f
Some tidying up op OpenGL example.
David Williams
2008-06-11 21:49:46 +00:00
2f5d9e5ab2
OpenGL sample now builds and displays a sphere volume.
David Williams
2008-06-11 21:32:03 +00:00
350a7feef6
Initial version of fast decimation.
David Williams
2008-06-11 20:22:00 +00:00
33cb721cc0
Initial version of mesh decimation.
David Williams
2008-06-10 21:45:38 +00:00
f8a090abba
Moving stuff around - not currently buildable!
David Williams
2008-06-08 19:48:39 +00:00
83ac5dc544
Moving stuff around - not currently buildable!
David Williams
2008-06-08 19:16:53 +00:00
957d8715e7
Moving stuff around - not currently buildable!
David Williams
2008-06-08 19:08:35 +00:00
119cd925f0
Moving stuff around - not currently buildable!
David Williams
2008-06-08 19:05:49 +00:00
2374082542
Work on CMake for OpenGL example.
David Williams
2008-06-08 18:49:04 +00:00
adff2177fd
Moved some code around...
David Williams
2008-06-08 18:03:20 +00:00
f75805999d
Reorganising some code...
David Williams
2008-06-08 17:51:36 +00:00
f6f5cb524d
Initial check-in of OpenGL example. Doesn't do anything yet.
David Williams
2008-06-08 15:09:45 +00:00
6fdbbc9b41
Updated CMake files with 'CMAKE_MINIMUM_REQUIRED(VERSION 2.6)' Also slight change to the way boost is found.
David Williams
2008-06-08 09:47:52 +00:00
ea5afbb846
Made new marching cubes implementation the 'official' one. Old one is just now for reference.
David Williams
2008-06-07 21:52:57 +00:00
849f635d04
Almost finished new marching cubes implementation. Just normal calculation and memory pool still to do.
David Williams
2008-06-07 21:21:14 +00:00
0a7c17e3b6
Tidying up...
David Williams
2008-06-07 20:51:59 +00:00
12f9e0ebc8
Bitwise operation working for x,y, and z. Finally getting a speedup!
David Williams
2008-06-07 19:22:15 +00:00
87507db94b
More work on bitwise optimisations...
David Williams
2008-06-07 19:12:27 +00:00
90fb658238
Work on bitwise optimisations.
David Williams
2008-06-07 18:47:14 +00:00
c6ef094e95
Framework ready for clever bit-shifting tricks.
David Williams
2008-06-07 16:53:39 +00:00
201f0c9003
Some tidying up...
David Williams
2008-06-07 16:31:34 +00:00
f1319949f5
Eliminated memset's from new marching cubes.
David Williams
2008-06-07 13:35:55 +00:00
7e304d0d7f
More work on new marching cubes implementation.
David Williams
2008-06-07 12:59:24 +00:00
b18a9beb44
More work on new marching cubes implementation.
David Williams
2008-06-06 23:12:56 +00:00
e6911d2a23
More work on new marching cubes implementation.
David Williams
2008-06-06 17:47:36 +00:00
2c3665905e
More work on marching cubes - just setting a save point!
David Williams
2008-06-05 20:55:06 +00:00
c55655b61c
More work on new marching cubes implementation - added generateVerticesForSlice() function.
David Williams
2008-06-05 19:34:41 +00:00
a26b754e9c
More progress...
David Williams
2008-06-05 18:51:31 +00:00
8bf6f4d08d
New marching cubes implementation - computeBitmaskForSlice is now only called once per slice.
David Williams
2008-06-05 18:28:21 +00:00
63b2c5ccb0
More work on new marching cubes implementation, including addition of 'computeBitmaskForSlice()' function.
David Williams
2008-06-05 17:45:53 +00:00
1c23f2d1dd
More work on experimental marching cubes implementation.
David Williams
2008-06-04 21:22:02 +00:00
c0afd9d77f
More work on new marching cubes algorithm. Slices are now processed individually.
David Williams
2008-06-04 19:20:14 +00:00
4c98f9579b
Work on experimental version of marching cubes algorithm. Now bitmasks are precomputed.
David Williams
2008-06-03 20:49:42 +00:00
e49859fc40
Initial version of new experimental marching cubes algorithm. Currently about half as fast.
David Williams
2008-06-03 19:14:27 +00:00
72a4e9902c
Tidying up.
David Williams
2008-05-31 12:43:32 +00:00
c9b098b14e
Refactoring a bit...
David Williams
2008-05-28 19:16:18 +00:00
a3b5bd72b8
Work making SurfacePatchRenderable reformat the mesh as necessary...
David Williams
2008-05-28 18:46:27 +00:00
de7554b9e3
Experimental work removing the need for multi material patch.
David Williams
2008-05-27 21:33:07 +00:00
efd4bdaa79
Surface extractor now generates just one mesh, and it is separately broken into single and multi patches.
David Williams
2008-05-27 20:24:05 +00:00
c8d632b554
Renamed VolumeIterator to BlockVolumeIterator
David Williams
2008-05-26 20:07:06 +00:00
ebeebee126
Tidying up Vector class
David Williams
2008-05-26 19:58:55 +00:00
d0ffdee870
Renamed x(), y(), and z() to getX(), getY(), and getZ()
David Williams
2008-05-26 19:49:21 +00:00
2745d52dc5
Removed dependency on boost::operators
David Williams
2008-05-26 19:37:37 +00:00
22fd38b255
Moved some stuff from VolumeChangeTracker to SurfaceExtractors.
David Williams
2008-05-25 21:06:58 +00:00
29d1cd8ad1
Fix PolyVox library versioning There's no need to link PolyVox against 'nothing'
Matt Williams
2008-05-25 20:56:35 +00:00