e89a55d154
Applied default Visual Studio formatting to most files. This is a quick fix for the tabs vs spaces issue that messes up the formatting in any editor (esp. Linux) which handles tabs/spaces differently to Visual Studio. Some parts of the formatting look a bit worse but overall it should be better (or at least more consistent).
...
I didn't apply the changes to a few macro-heavy files as Visual Studio removes all indentation from macros, whereas the indentation can be handy to see nesting.
2015-12-26 23:11:27 +00:00
b3ca051878
Changed 'embedded' licenses from zlib to MIT.
2015-12-26 21:45:41 +00:00
bfc7dfdc1b
Removed the ability to specify a region in the PagedVolume's constructor, and updated the tests and examples where required.
2015-02-28 23:31:23 +01:00
64d010527b
Removed old getVoxelAt()/setVoxelAt() functions. they've been flagged as deprecated for a while now, and are replaced by just getVoxel()/setVoxel().
2015-02-27 11:07:15 +01:00
7262ca313e
More work splitting example framework into two pieces.
2015-02-20 16:56:03 +01:00
838407ba4f
Started splitting example framework into to two classes. One will be general purpose (for use in Cubiquity, etc), and the other will have PolyVox specific stuff.
2015-02-20 16:20:09 +01:00
9c93c5fc36
Switched examples to use FPS-style first person perspective camera.
2015-02-20 15:28:54 +01:00
565aa21799
Refactoring example code.
2015-02-20 11:23:17 +01:00
049a77cd0c
Moved all headers from 'PolyVoxCore' to 'PolyVox', as we no longer have the core/util distinction.
2015-02-07 17:26:36 +01:00
86357d66b7
Normalized line endings
2014-09-25 22:38:01 +02:00
db2e62d2a8
Replaced LargeVolume and SimpleVolume with PagedVolume in tests and examples.
2014-09-21 17:57:42 +02:00
bfa14a32df
Split 'decode()' function into several variants so it's not so heavily overloaded.
2014-07-24 16:55:11 +02:00
2090b0087c
Vertices now carry general purpose 'data' rather than a 'material', though the data will be treated as a material in many cases. This is part of making the architecture more generic and involves some renaming.
2014-05-29 11:39:29 +02:00
22869e4861
More tweaks to scaling and translation.
2014-05-25 21:36:41 +02:00
6738c4fc9e
Smooth example now also uses new example OpenGLWidget.
2014-05-25 21:15:20 +02:00
4aae00e4a8
Renamed SurfaceMesh to just Mesh
2014-05-23 15:17:07 +02:00
ab741583e4
Renamed extractXxxSurface() to extractXxxMesh()
2014-05-22 23:26:40 +02:00
f2ba500c4c
Merge branch 'develop' into feature/vertex-refactor
...
Conflicts:
examples/Basic/main.cpp
examples/Paging/main.cpp
examples/SmoothLOD/main.cpp
library/PolyVoxCore/include/PolyVoxCore/CubicSurfaceExtractorWithNormals.h
tests/TestCubicSurfaceExtractor.cpp
tests/TestSurfaceExtractor.cpp
tests/TestVolumeSubclass.cpp
2014-05-12 23:04:19 +02:00
95a3e2e9ce
Smooth LOD example now uses free function surface extractor.
2014-05-11 16:29:51 +02:00
573c36db87
Renamed vertex classes to the far more meaningful 'CubicVertex' and 'MarchingCubesVertex'. The old names didn't make much sense, even less so now they are templatized.
2014-05-11 15:17:59 +02:00
b0a8ca8a64
This commit templatizes the vertex classes on voxel types. This was the main change which was made for Cubiquity and it's very messy at the moment. However, this will improve when we make more use of 'auto' to hide the template madness.
2014-05-07 23:47:18 +02:00
3249562d97
Removing more calls to getVoxelAt()...
2013-06-12 15:41:45 +02:00
2566f3a7d2
Examples have had their loops backwards... fortunately all the volumes were cubic so it didn't matter.
2012-11-02 13:29:58 +01:00
679d98735a
Renamed SurfaceExtractor to MarchingCubesSurfaceExtractor.
2012-07-15 17:40:37 +02:00
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
fcefe27192
Removed use of template template parameters from VolumeResampler.
2012-06-07 16:56:54 +02:00
29d816d416
Removed template template parameters from SurfaceExtractor.
2012-05-18 15:38:18 +02:00
3f56ee6f72
More refactoring of basic voxel types. Started replacing getDensity and getMaterial with free functions.
2012-02-18 12:12:38 +01:00
c483b44a41
Replaced constants with functions for type traits.
2012-02-06 17:51:37 +01:00
49b5fb3f67
Refactoring of basic voxel types.
2012-01-12 17:14:45 +01:00
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
b7cb97513d
Work on VolumeResampler and smooth LOD.
2011-07-16 22:55:49 +01:00
46ac159ec1
More work on Smooth LOD.
2011-07-02 18:40:34 +01:00
ccfa7db1fa
Initial commit of VolumeResampler and LOD demo.
2011-07-02 12:39:04 +01:00