Alec Jacobson (jalec 3bd87ec377 refactored embreeintersector with default constructor and init há 11 anos atrás
..
README 46df3faee1 ambient occlusion mex, wrapper for ambient occlusion with just mesh há 11 anos atrás
ambient_occlusion.m 46df3faee1 ambient occlusion mex, wrapper for ambient occlusion with just mesh há 11 anos atrás
compile.m 41fdc8f8ba fixed examples and ambient occlusion to compile and run with embree 2.0 há 11 anos atrás
example.m 46df3faee1 ambient occlusion mex, wrapper for ambient occlusion with just mesh há 11 anos atrás
mexFunction.cpp 3bd87ec377 refactored embreeintersector with default constructor and init há 11 anos atrás
parse_rhs.cpp 46df3faee1 ambient occlusion mex, wrapper for ambient occlusion with just mesh há 11 anos atrás
parse_rhs.h 46df3faee1 ambient occlusion mex, wrapper for ambient occlusion with just mesh há 11 anos atrás

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