GithubHelp home page GithubHelp logo

Comments (8)

alecjacobson avatar alecjacobson commented on July 24, 2024

Which Eigen Version do you have? Which CGAL version? Which Matlab?

On Thu, May 28, 2015 at 11:26 PM, yqwang2006 [email protected]
wrote:

I'm using the gptoolbox to generate some sdf data from 'off' files.
However, the gptoolbox would make MATLAB crash. First, I compiled the
signed_distance_isosurface.cpp in 'mex' dir using next command:

' mex -g -largeArrayDims -DMEX CXXFLAGS="$CXXFLAGS -std=c++11"...
-I/usr/local/igl/libigl/include ...
-I/usr/include/eigen3 ...
-I/usr/include ...
-L/usr/lib ...
-lCGAL -lCGAL_Core -lgmp -lmpfr...
-lboost_thread -lboost_system ...
signed_distance_isosurface.cpp'

This process would not generate any errors. However, MATLAB would crash
when I tried to run a demo. The demo code is:

addpath('mesh');
addpath('mex');
[V,F,UV,C,N] = readOFF( 'bed.off');
[OV,OF] = signed_distance_isosurface(V,F);

The error is shown in next fig. Could you please help me? Thanks.

[image: image]
https://cloud.githubusercontent.com/assets/7324348/7875864/614757a0-05f5-11e5-8297-8ea59d00d38a.png


Reply to this email directly or view it on GitHub
#4.

from gptoolbox.

yqwang2006 avatar yqwang2006 commented on July 24, 2024

The dependent lib versions are:
cgal: 4.6
boost: 1.58
eigen: 3.2.4

from gptoolbox.

yqwang2006 avatar yqwang2006 commented on July 24, 2024

matlab: 2014b

from gptoolbox.

alecjacobson avatar alecjacobson commented on July 24, 2024

Can you share your chair?

On Fri, May 29, 2015 at 12:05 AM, yqwang2006 [email protected]
wrote:

matlab: 2014b


Reply to this email directly or view it on GitHub
#4 (comment)
.

from gptoolbox.

yqwang2006 avatar yqwang2006 commented on July 24, 2024

OK, I'll send you by email due to github doesn't support the file type.

from gptoolbox.

alecjacobson avatar alecjacobson commented on July 24, 2024

Seems to be a bug. For now I'd suggest removing any degenerate faces from your input mesh.

from gptoolbox.

alecjacobson avatar alecjacobson commented on July 24, 2024

This no longer crashes (at least by 4ced5eb but probably much earlier).

from gptoolbox.

alecjacobson avatar alecjacobson commented on July 24, 2024

BTW, I used:

[OV,OF] = signed_distance_isosurface(V,F,'SignedDistanceType','unsigned','Level',0.3,'DistanceBound',0.004,'RadiusBound',0.004);

to generate this:

image

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.