PolyVox
0.2.1
Open source voxel management library
|
Ambient occlusion. More...
#include "Impl/RandomUnitVectors.h"
#include "Impl/RandomVectors.h"
#include "PolyVoxCore/Array.h"
#include "PolyVoxCore/Region.h"
#include "PolyVoxCore/Raycast.h"
#include "PolyVoxCore/Material.h"
#include "PolyVoxCore/SimpleVolume.h"
#include <algorithm>
#include "PolyVoxCore/AmbientOcclusionCalculator.inl"
Go to the source code of this file.
Classes | |
class | PolyVox::AmbientOcclusionCalculatorRaycastCallback< IsVoxelTransparentCallback > |
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. |
Ambient occlusion.
Definition in file AmbientOcclusionCalculator.h.