Alec Jacobson (jalec a1a6d6c946 'fixed' cheburashka model and examples to use it, draw skeletons 11 years ago
..
README 46df3faee1 ambient occlusion mex, wrapper for ambient occlusion with just mesh 11 years ago
ambient_occlusion.m 46df3faee1 ambient occlusion mex, wrapper for ambient occlusion with just mesh 11 years ago
compile.m 41fdc8f8ba fixed examples and ambient occlusion to compile and run with embree 2.0 11 years ago
example.m a1a6d6c946 'fixed' cheburashka model and examples to use it, draw skeletons 11 years ago
mexFunction.cpp a1a6d6c946 'fixed' cheburashka model and examples to use it, draw skeletons 11 years ago
parse_rhs.cpp 46df3faee1 ambient occlusion mex, wrapper for ambient occlusion with just mesh 11 years ago
parse_rhs.h 46df3faee1 ambient occlusion mex, wrapper for ambient occlusion with just mesh 11 years ago

README

Small example showing how to build a mex function to call the
igl/embree/ambient_occlusion function from matlab.

To compile open matlab, `cd` to this directory and issue:

compile

To run the example, add the IGL_TOOLBOX to your path and issue:

example