100 Commits

Author SHA1 Message Date
David Williams
c0a22de2df Removed a lot of compression-related code. 2014-09-13 12:20:56 +02:00
David Williams
302c6e688b More work eliminating compression from inside LargeVolume. 2014-09-13 11:59:51 +02:00
David Williams
bfa14a32df Split 'decode()' function into several variants so it's not so heavily overloaded. 2014-07-24 16:55:11 +02:00
David Williams
31e5a6e346 Replaced 'm_region' with 'm_offset' and demonstrated its use. 2014-06-02 17:30:41 +02:00
David Williams
85c5686ff9 Work on more compact version of MarchingCubesVertex. 2014-05-29 09:53:16 +02:00
Matt Williams
c26686476d Use Qt's resource system to store the shader source
The shader source is included inside each comipled binary file. The
OpenGL example also provides its own shader files which overrides
the default. Common shader code is in the 'common' directory and
each example's custom shader is alongside the example's C++ code.
2014-05-28 10:29:05 +01:00
David Williams
1d8fc25cb7 Compile fixes for GCC/Linux 2014-05-26 23:14:29 +02:00
David Williams
ba58cff815 Removed use of 'R' raw string literals as CS 2012 doesn't support them. 2014-05-26 22:51:09 +02:00
David Williams
5a23299634 More tidying shader code. 2014-05-26 21:14:54 +02:00
David Williams
fd3879faeb Tidying OpenGLExample shader code. 2014-05-26 21:10:07 +02:00
David Williams
40e528d782 Added lighting to OpenGL example. 2014-05-26 17:00:26 +02:00
David Williams
9e835a1110 Shader now passed by shared pointer. 2014-05-25 23:40:55 +02:00
David Williams
b97bf52214 Tidying up. 2014-05-25 23:34:12 +02:00
David Williams
b63a09cab3 Changing the way the examples handle translation and scaling. 2014-05-25 21:29:44 +02:00
David Williams
eb39f0bb4c OpenGLExample is once again rendered as multiple separate mehses (but using the example framework this time). 2014-05-25 12:28:45 +02:00
David Williams
f78aad8abd Fixed colors to match previous version of the example. 2014-05-24 22:58:31 +02:00
David Williams
99cf75e902 Material now passed to shader as integer rather than float. 2014-05-24 22:53:10 +02:00
David Williams
07b9cf05fa Changed OpenGLExample to use MaterialDensityPair88 instead of MaterialDensityPair44.
Added material to shaders.
2014-05-24 21:09:26 +02:00
David Williams
aace1f2e36 Exposing normals to example framework. 2014-05-24 09:38:01 +02:00
David Williams
6cbb2d44bf Work on making OpenGLExample work with common example framework. 2014-05-23 22:44:58 +02:00
David Williams
34f57911a7 Converting OpenGLExample to use common OpenGLWidget. 2014-05-23 22:18:17 +02:00
David Williams
4aae00e4a8 Renamed SurfaceMesh to just Mesh 2014-05-23 15:17:07 +02:00
David Williams
4478e365c9 Removed RLECompressor as the code is now in RLEBlockCompressor.
Things are starting to get back under control. All tests pass, and all examples except PagingExample work.
2013-07-30 17:01:27 +02:00
David Williams
a14de4a72e Replaced std::functions with Pager class for paging. 2013-06-16 19:48:14 +02:00
Daviw Williams
1010052ea6 Reworking the logging system. 2013-05-14 16:52:16 +02:00
unknown
d4edc1047e Renamed 'PolyVoxImpl' to just 'Impl'. 2012-11-05 17:00:09 +01:00
unknown
3c69bb651f Moved PolyVoxImpl inside of PolyVoxCore. This is the first stage of some tidying to better hide implementation details from the user. 2012-11-05 16:40:02 +01:00
David Williams
01e2a88b13 Improving the LowPassFilter to take advantage of the features made available by the voxel refactoring.
Also improved the test case.
2012-09-28 18:09:21 +02:00
unknown
777b631f88 Mostly removed use of VoxelTypeTraits. It's a bit messy because I'm committing halfway through, as I'm away fro my development machine for the next week and want to pick this up from my laptop.
SurfaceExtractor test is currently broken due to custom threshold support not curretly working.
2012-07-05 14:49:51 +02:00
unknown
fbdfe3a4ec Removed template template parameters from LowPassFilter. 2012-06-07 16:43:20 +02:00
unknown
c483b44a41 Replaced constants with functions for type traits. 2012-02-06 17:51:37 +01:00
p265186
49b5fb3f67 Refactoring of basic voxel types. 2012-01-12 17:14:45 +01:00
David Williams
bdc2770cba G++ compile fixes. 2011-08-18 22:45:39 +01:00
David Williams
c73b45b721 Fixed bug with RawVolume always starting coordinates at (0,0,0).
Removed Filters.h/.inl
Added Summed Area Table support to LowPassFilter.
Added test for low pass filter.
2011-08-13 08:57:45 +01:00
David Williams
528cb73771 Moved headers into subdirectories. 2011-05-17 22:27:46 +01:00
David Williams
3a171e698b Modified SurfaceExtractor to use template template parameters. 2011-04-30 23:51:04 +01:00
David Williams
ea309ab15b Renamed Volume to LargeVolume. 2011-04-28 21:21:59 +01:00
David Williams
d300e9fdde Fixed crash in OpenGL example. 2011-04-10 21:04:33 +01:00
David Williams
78c5884303 Applied ker's patch for prefetch and flush. 2011-03-22 21:44:12 +00:00
David Williams
c7e452f537 Deprecated constructor. 2011-03-21 22:17:00 +00:00
David Williams
596dcf507e Reverted some of ker's changes to bring back the concepts of width, height, and depth. 2011-03-11 22:14:51 +00:00
David Williams
8e6b1a3b7e Applying ker's patch unmodified. 2011-03-10 20:31:11 +00:00
David Williams
4ef0cfb468 Applied patch from ker such that int32_t's are now used instead of uint16_t's for addressing voxel positions. 2011-03-03 23:00:00 +00:00
David Williams
754690e251 Removed block sharing ready for compression. 2011-02-05 17:56:59 +00:00
David Williams
73ff9e16b2 Fixes for build errors on Linux. 2010-06-29 20:58:42 +00:00
David Williams
bc0829b4f9 Added smoothRegion function to smooth part of a volume. 2010-06-28 17:50:53 +00:00
David Williams
254fa3329e PolyVox and Thermite3D now support the use of a density component as well as a material component for each voxel. 2010-06-25 21:41:13 +00:00
David Williams
7ffcd0c7ed Move to VS 2010.
Update to Ogre SDK 1.7.1
Removed support for compilers which don't adhere to C++0X
2010-05-23 21:51:34 +00:00
David Williams
2d78808000 Renamed IndexedSurfacePatch to SurfaceMesh. 2010-02-20 00:20:43 +00:00
David Williams
9aee0d26d2 Removed Stan Melax's stuff. PolyVox should compile on Linux again now. 2010-02-19 21:24:35 +00:00