844 Commits

Author SHA1 Message Date
Matt Williams
1fb999966f Put the bindings CMake stuff in a separate directory to keep things clean
Fully remove the if(win32) stuff from the examples
2009-03-29 23:02:03 +00:00
David Williams
d574a18ce3 Added the parts of boost which we need to access shared_ptr and weak_ptr. This will allow for improved memory management of large volumes. 2009-03-29 22:07:27 +00:00
Matt Williams
69751dc084 To bind a template, you must bind a specific instantiation of it. I'm binding the instantiations defined by the typedefs in Vector.h (though I have to specify them manually in SWIG).
The uint8 etc. typedefs aren't working for now though.
2009-03-29 15:36:41 +00:00
Matt Williams
58355da40b A few more tiny steps in the right direction
Getting templates to work is the next thing
2009-03-28 13:08:29 +00:00
Matt Williams
e50699ab63 Add #includes to help it build in GCC
Still not fully building atm but I'm not sure why
2009-03-28 00:17:07 +00:00
Matt Williams
c65c23acf4 Use correct file extensions for python dlls
Build it as  'PolyVoxCore' module
2009-03-27 23:00:37 +00:00
Matt Williams
27b17cf348 Extremely basic first go at SWIG bindings
Only Enums.h is wrapped so far and I haven't tested it
For now I will focus on Python but Java and C# will be useful too
2009-03-27 18:54:20 +00:00
David Williams
50b3ff407e Memory management for volumes. 2009-03-26 22:22:04 +00:00
David Williams
fab64488ee Renamed Block to BlockData. Introduced new Block class which can be shared. 2009-03-26 21:17:37 +00:00
Matt Williams
a9ab2f2d4d Add first iteration of SDK building.
Builds a PolyVox NSIS installer with the 'package' target.
2009-03-26 18:03:21 +00:00
David Williams
5955a29a46 Work on Volume class. 2009-03-24 22:29:39 +00:00
David Williams
d191902db3 Work on Block class. 2009-03-24 20:45:23 +00:00
David Williams
409afc3a99 Work removing POLYVOX_REGION_SIDE_LENGTH from fast surface extractor. 2009-03-24 19:55:00 +00:00
David Williams
152717e904 Work removing POLYVOX_REGION_SIDE_LENGTH from decimated surface extractor. 2009-03-23 23:02:07 +00:00
David Williams
02319db9dc Work on removing hard coded vales. 2009-03-22 22:45:50 +00:00
David Williams
1292499c87 Removed some constants from VolumeChangeTracker. 2009-03-19 22:46:27 +00:00
David Williams
d951f4d3b0 Renamed BlockVolume to Volume.
Renamed BlockVolumeIterator to VolumeIterator.
2009-03-19 22:04:34 +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
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
29ef5f021e Rearranging files in PolyVox. 2008-07-03 19:17:17 +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
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