GithubHelp home page GithubHelp logo

Comments (3)

alecjacobson avatar alecjacobson commented on July 24, 2024

First, the ambient_occlusion function is only for making the rendering fancier and is not needed for the blue noise function.

Second, it seems like a path issue. Are you checking that LD_LIBRARY_PATH is what you think you've set it to from within matlab? I know on Mac OS X it is not enough to set the path in your .bashrc or .profile.

You can check by issuing in matlab,

system('echo $LD_LIBRARY_PATH')

from gptoolbox.

ergawy avatar ergawy commented on July 24, 2024

Thank you for the reply. It is just my first time working with mex files so I wanted to get it to the end. I know that ambient occlusion is auxiliary here.

Here is what system('echo $LD_LIBRARY_PATH') prints:

/usr/local/MATLAB/R2015a/sys/os/glnxa64:/usr/local/MATLAB/R2015a/bin/glnxa64:/usr/local/MATLAB/R2015a/extern/lib/glnxa64:/usr/local/MATLAB/R2015a/runtime/glnxa64:/usr/local/MATLAB/R2015a/sys/java/jre/glnxa64/jre/lib/amd64/native_threads:/usr/local/MATLAB/R2015a/sys/java/jre/glnxa64/jre/lib/amd64/server:/opt/AMDAPPSDK-3.0/lib/x86_64/:/home/kareem/libigl/libigl/external/embree

So I guess the path to embree is correctly configured. I am on a Linux machine so maybe the problem you mentioned is not present.

Anyway, I don't want to waste your time so I will try to find the reason for this and get back to the thread if I find out the problem.

from gptoolbox.

alecjacobson avatar alecjacobson commented on July 24, 2024

@KareemErgawy Did you end up finding a solution for this?

from gptoolbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.