13 const int SMOOTH_KERNEL_LINK_MAX = 16;
14 const int RAISE_KERNEL_LINK_MAX = 48;
40 IBlockData& blockData,
44 TSet<CellId>* changedCells,
50 MaterialId* kernelMaterials,
54 double* kernelPointsNext,
56 int* kernelVertexLinks,
58 int* kernelVertexLinkCount,
61 CMaterialLibrary* materialLibrary);
65 IBlockData& blockData,
67 CellId c1,
int x1,
int y1,
int z1,
69 int dx,
int dy,
int dz,
79 TSet<CellId>* changedCells,
107 IBlockData& blockData,
111 TSet<CellId>* changedCells,
117 MaterialId* kernelMaterials,
119 double* kernelPoints,
121 double* kernelPointsNext,
123 int* kernelVertexLinks,
125 int* kernelVertexLinkCount,
128 CMaterialLibrary* materialLibrary);
Combines several voxel layers into the final dataset sent to the contouring phase.
Contains all classes and functions for the VoxelFarm engine.
unsigned __int64 CellId
A 64bit integer that identifies a single world octree Cell.
void raiseKernel(VoxelFarm::CellId targetCell, int targetCellX, int targetCellY, int targetCellZ, int kernelMargin, int kernelSizeX, int kernelSizeY, int kernelSizeZ, int iterations, float blendWeight, IBlockData &blockData, VoxelFarm::CGenerator &generator, TSet< CellId > *changedCells, MaterialId *kernelMaterials, double *kernelPoints, double *kernelPointsNext, int *kernelVertexLinks, int *kernelVertexLinkCount, float *kernelWeight, CMaterialLibrary *materialLibrary)
void smoothKernel(VoxelFarm::CellId targetCell, int targetCellX, int targetCellY, int targetCellZ, int kernelMargin, int kernelSizeX, int kernelSizeY, int kernelSizeZ, int iterations, float blendWeight, IBlockData &blockData, VoxelFarm::CGenerator &generator, TSet< CellId > *changedCells, MaterialId *kernelMaterials, double *kernelPoints, double *kernelPointsNext, int *kernelVertexLinks, int *kernelVertexLinkCount, float *kernelWeight, CMaterialLibrary *materialLibrary)