libigl v2.5.0
Loading...
Searching...
No Matches
ambient_occlusion.h File Reference
#include "../igl_inline.h"
#include <Eigen/Core>
#include "ambient_occlusion.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 
namespace  igl::embree
 

Functions

template<typename DerivedV , typename DerivedF , typename DerivedP , typename DerivedN , typename DerivedS >
void igl::embree::ambient_occlusion (const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const Eigen::MatrixBase< DerivedP > &P, const Eigen::MatrixBase< DerivedN > &N, const int num_samples, Eigen::PlainObjectBase< DerivedS > &S)
 Compute ambient occlusion per given point.
 
template<typename DerivedP , typename DerivedN , typename DerivedS >
void igl::embree::ambient_occlusion (const EmbreeIntersector &ei, const Eigen::MatrixBase< DerivedP > &P, const Eigen::MatrixBase< DerivedN > &N, const int num_samples, Eigen::PlainObjectBase< DerivedS > &S)