1 #ifndef BLUB_PROCEDURAL_VOXEL_CONFIG
2 #define BLUB_PROCEDURAL_VOXEL_CONFIG
4 #include "blub/procedural/predecl.hpp"
5 #include "blub/procedural/voxel/data.hpp"
6 #include "blub/procedural/voxel/vertex.hpp"
23 typedef uint16 t_index;
26 static const int32 voxelsPerTile = 20;
28 template <
typename configType>
36 template <
typename configType>
46 template <
typename configType>
55 template <
typename configType>
71 #endif // BLUB_PROCEDURAL_VOXEL_CONFIG
The renderer class handles the correct rendering of a lod. Including renderdistance and enabling the ...
Definition: predecl.hpp:51
Definition: config.hpp:37
The renderer class contains a custom count of simple::renderer for level of detail.
Definition: predecl.hpp:62
The container class contains an array of voxel. The amount of voxel per tile is voxelLength^3. The class counts how many voxel are max and how many are min. if all voxel are min or max the class simple::container::base doesnt save them. Additionally it saves an axisAlignedBox which describes the bounds of the voxel that changed.
Definition: predecl.hpp:19
The surface class convertes accessor-tiles to surface-tiles. In between polygons get calculated by th...
Definition: predecl.hpp:53
Definition: config.hpp:47
The accessor class caches all voxel needed by tile::surface for an extremly optimized and fast calcul...
Definition: predecl.hpp:21
Definition: config.hpp:17
Definition: config.hpp:29
The renderer class contains information if a tile::surface should get rendered and how it should get ...
Definition: predecl.hpp:23
The surface class convertes a tile::accessor to an iso-surface. Call this class by one thread at a ti...
Definition: predecl.hpp:25
The data class is the default voxel. Contains an 8-bit interpolation value. Replace/derive it and set...
Definition: data.hpp:27
Definition: config.hpp:56
The inMemory class stores all voxels in instances of tile::container and safes them in a very fast in...
Definition: predecl.hpp:44
The accessor class accesses and caches voxels for the surface-calculation. It caches voxel optimized ...
Definition: predecl.hpp:49
Definition: deadlineTimer.hpp:10
The accessor class contains a custom amount of level of details of type simple::accessor.
Definition: predecl.hpp:60
The surface class contains a custom count of simple::surface for level of detail. ...
Definition: predecl.hpp:64
Definition: vertex.hpp:15