613 Commits

Author SHA1 Message Date
David Williams
1705424def Removed wrong comments. 2012-01-22 08:25:14 +00:00
David Williams
21ce252e1e Work on refactoring voxel types. 2012-01-16 14:56:47 +01:00
David Williams
a82dc7f1ca Added optimization to doRaycast(). 2012-01-13 22:23:50 +00:00
David Williams
a79633de09 Work on refactoring basic voxel types.
Also, this will probably cause a compile error on Linux but I'm committing anyway so I remember to investigate it...
2012-01-13 21:55:23 +00:00
p265186
49b5fb3f67 Refactoring of basic voxel types. 2012-01-12 17:14:45 +01:00
p265186
396e1fea30 Refactoring of basic voxel types. 2012-01-12 14:50:53 +01:00
David Williams
582e2b67be Expanded comment. 2012-01-08 17:26:19 +00:00
David Williams
f71f8daf5a Trivial formatting change. 2012-01-07 11:47:05 +00:00
David Williams
a1ac90c711 Fixed crash due to me incorrectly deciding that the max number of quads which could share a vertex was four. I believe the correct value should actually be six. 2012-01-07 11:46:25 +00:00
David Williams
c0eed7f7d3 Merge branch 'master' of git@gitorious.org:polyvox/polyvox.git 2012-01-05 21:03:13 +00:00
David Williams
8b866c9c47 Changed abs() to std::abs() in a few places. 2012-01-05 21:01:23 +00:00
Matt Williams
67409b9c61 Documentation updates
Update thermite3d.org to volumesoffun.org
Improve error reporting for Sphinx/QHelp
2011-12-26 12:37:07 +00:00
David Williams
4dd6b296c1 Merge branch 'master' of git@gitorious.org:polyvox/polyvox.git 2011-12-17 22:12:30 +00:00
David Williams
2e4bf674e8 Removed incorrect asserts. 2011-12-11 16:27:59 +00:00
David Williams
906300acb3 Fix for bug with material ORing creating a new material.
http://www.volumesoffun.com/phpBB3/viewtopic.php?f=15&t=297
2011-12-11 15:26:48 +00:00
David Williams
cc0a15dc94 Made BaseVolume constructor protected. 2011-12-10 07:35:33 +00:00
David Williams
87dd98d4fa Fix for material bug where ORing of material IDs was creating a new material ID, as one of the material IDs could be non-zero. 2011-12-10 06:59:32 +00:00
David Williams
7b126a97f7 GCC compile fix. 2011-12-09 17:27:52 +01:00
David Williams
d5d6319087 Fixes to behavour of LowPassFilter. 2011-12-03 09:43:27 +00:00
David Williams
b972a2ceaf Exposed DensityType and MaterialType on voxels. 2011-11-30 22:50:52 +00:00
David Williams
97e6b56778 Fixed some compiler warnings.
Removed m_mapUsedMaterials as it didn't seem to be used.
2011-11-28 16:43:40 +00:00
David Williams
3ae119f171 Mesh now cleared at start of execure(), rather than in constructor. 2011-11-19 00:15:08 +00:00
David Williams
c9fdd15ba5 Compile fix for MacOS? 2011-11-12 13:00:06 +00:00
David Williams
d14d4b397f Merge branch 'master' of git@gitorious.org:polyvox/polyvox.git 2011-11-11 23:58:19 +00:00
David Williams
8f93b054f8 Compile fix 2011-11-11 23:24:16 +00:00
Matt Williams
5a8c287656 Set Doxygen colours to be more similar to the current website. 2011-11-06 20:07:45 +00:00
David Williams
46d63ddcd1 Fixed slashes in include paths. 2011-10-15 11:06:01 +01:00
David Williams
db81e1bc3f Work on simple interface. 2011-10-15 00:01:17 +01:00
David Williams
6f31898fd7 Renamed Volume base class to BaseVolume.
Added initial version of simple interface.
2011-10-14 23:57:10 +01:00
David Williams
7220bf866f Merge branch 'master' of git@gitorious.org:polyvox/polyvox.git 2011-10-12 22:35:47 +01:00
David Williams
6d25d6e3da Fix to make normal calculation work with float volumes. 2011-10-12 22:34:54 +01:00
Matt Williams
9f8c8c1da2 Add <limits> include for numeric_limits<> 2011-10-10 17:32:01 +02:00
David Williams
cf222acd5d Better way of calculating min and max densities. 2011-10-09 18:45:22 +01:00
David Williams
a9c15f8546 Changes to type usage for Density and Material classes. 2011-10-07 22:17:39 +01:00
David Williams
f7054d8095 Fixed bug in computing the offset in the RawVolumeSampler peek...() functions. 2011-10-06 22:57:20 +01:00
David Williams
6a267b5b8d Fixed some compile warnings (thanks to Gnurfos). 2011-09-25 12:52:00 +01:00
David Williams
63d8c4c083 Merge branch 'master' of git@gitorious.org:polyvox/polyvox.git
Conflicts:
	library/PolyVoxCore/include/PolyVoxCore/Raycast.inl
2011-09-24 11:11:09 +01:00
David Williams
7bbdb1a29d Added equality/inequality tests for vector and region. 2011-09-24 11:02:01 +01:00
Matt Williams
ee165bff78 Merge branch 'master' of git://gitorious.org/polyvox/polyvox 2011-09-21 00:20:49 +02:00
Matt Williams
e4535b1255 Add previousVoxel to raycast result.
Thanks to Sceptrix for the patch

http://thermite3d.org/phpBB3/viewtopic.php?t=243
2011-09-21 00:19:35 +02:00
David Williams
ddc54e0862 Raycast now track previous voxel, for working out which direction you came from. 2011-09-20 18:38:13 +01:00
David Williams
df035d5237 Fixed memory leaks. 2011-09-08 21:29:23 +01:00
David Williams
0c97756a0c GCC fixes 2011-09-05 21:44:02 +01:00
David Williams
b84147f650 Replaced template 'hack' with preprocessor 'fix' to allow compilation on both GCC and Visual Studio. The previous approach was causing problems on VS2008. 2011-09-04 13:57:24 +01:00
David Williams
06cc2806dd Merge branch 'master' of git@gitorious.org:polyvox/polyvox.git 2011-09-04 12:13:56 +01:00
David Williams
894455e35f Tidying up of headers and #includes. 2011-09-04 12:12:30 +01:00
David Williams
bdc2770cba G++ compile fixes. 2011-08-18 22:45:39 +01:00
David Williams
7515186b47 Initial checkin of IteratorController 2011-08-17 22:49:20 +01:00
David Williams
e8b3fd16e2 Initial version of IteratorController and making LowPassFilter use iterators. 2011-08-15 21:31:52 +01:00
David Williams
90063354bd Added setVoxel() funtion to volume iterators.
Fixed bugs with RawVolume iterator movement funtions.
Proper implementation of RawVolume peek...() functions.
2011-08-15 21:10:09 +01:00