danielepanozzo / gp-old

67 stars 13 forks source link

Doubt regarding Assignment 1 (Optional One) #44

Open ppriyank opened 5 years ago

ppriyank commented 5 years ago

I have downloaded the assignment 1, and set up the libigl After completing the "First Steps with Libigl" I download the the github repository in a fresh new folder and again do the cmake and make file thing.

I can see the executable "./ex1_bin" but no mesh.o object. still running the command "./ex1_bin mesh.o" I see

IOError: mesh.obj could not be opened... _Assertion failed: (F.cols() == 3), function doublearea, file GM_Assignment1master/external/libigl/cmake/../include/igl/doublearea.cpp, line 27. Abort trap: 6

Can some one help on how to proceed?

danielepanozzo commented 5 years ago

It requires a mesh as input, you can launch it with:

./ex1_bin ../data/bunny.off

or use any other file in the data folder.