PolyVox  0.2.1
Open source voxel management library
Namespaces | Functions
AmbientOcclusionCalculator.inl File Reference

Go to the source code of this file.

Namespaces

namespace  PolyVox
 Main namespace.

Functions

template<typename VolumeType , typename IsVoxelTransparentCallback >
void PolyVox::calculateAmbientOcclusion (VolumeType *volInput, Array< 3, uint8_t > *arrayResult, Region region, float fRayLength, uint8_t uNoOfSamplesPerOutputElement, IsVoxelTransparentCallback isVoxelTransparentCallback)
 Calculate the ambient occlusion for the volume.