Page 1 of 1

Crashing while doing Delaunay 2D triangulation

Posted: Wed Nov 19, 2014 4:48 am
by usrQuest
Hi,

I'm using CloudCompare v2.5.5.2 on Windows 8. It crashes everytime when I try Delaunay 2D triangulation on a set of points. I don't know why, but it works perfectly on Windows 7 platform. I tried CC v2.6.0 also, but the same problem is with this version too. I don't know how to fix this problem.

Please help.

Thank you

Re: Crashing while doing Delaunay 2D triangulation

Posted: Wed Nov 19, 2014 8:55 am
by daniel
Yep, this is a known bug of the Windows 8 version. The third party library we use for Delaunay (Triangle library) silently crashes without notice...

I don't have any Windows 8 license so I can't debug this myself. We are still looking for a way to fix this (i.e. someone with a compiled version on Windows 8 and some minimal skills in C++ ;).

Hopefully it will be fixed in the next release version.

Re: Crashing while doing Delaunay 2D triangulation

Posted: Fri Jan 02, 2015 11:05 am
by fberna
I am using win7 64 and CC version 2.6.0. It crashes every time I try to run Delaunay 2D.

Any suggestion on what could I do wrong?

Re: Crashing while doing Delaunay 2D triangulation

Posted: Fri Jan 02, 2015 12:40 pm
by daniel
Can you try with the latest latest 2.6.1.beta version? (see the 'Download' page of the website).

It fixes a similar issue (normally happening only on Windows 8, but who knows!).

Re: Crashing while doing Delaunay 2D triangulation

Posted: Fri Jan 02, 2015 1:48 pm
by fberna
Thanks Daniel,

Got the 2.6.1.beta

Import the E57 files coming from faro scene. Merge my 12 scan files into one. Select the resulting file and then Edit - Mesh - Delaunay 2.5D

it starts and between 10 and 40 sec later it crashes.

Machine is i7-5820 @ 3.30 GHz, graphic card GeForce GTX 780 Ti

Re: Crashing while doing Delaunay 2D triangulation

Posted: Fri Jan 02, 2015 2:16 pm
by daniel
What is the size of the cloud? And do you see a memory shortage (with the Task Manager)?

I remember that on the 32 bits version the Delaunay library was crashing around 12 M. points (but I never experienced this issue with the 64 bits version - not sure I tried with many more points though).

Re: Crashing while doing Delaunay 2D triangulation

Posted: Thu Jan 08, 2015 4:45 pm
by fberna
right clicking on the file I get:

Point(s): 172,044,985
Triangle(s): 0
Color(s): 172,044,985

Cloud(s): 1

Mesh(es): 0

I have a fast machine with 32 GB of DR4 RAM, so memory is not the problem. Another colleague was able to get the same file work, so it must be something wrong here, but no clue on what it could possibly be...

Re: Crashing while doing Delaunay 2D triangulation

Posted: Fri Jan 09, 2015 8:23 am
by daniel
Well with this many points that will produce a huge mesh and I'm already quite impressed if you say that it works on another machine!

But to get back to your problem: it's hard to tell ;). Does CloudCompare crashes/closes without notice or is there an error message before?

You could also try to uncheck the 'Try to load clouds on the GPU for faster display' option in the display settings and even hide the cloud before launching the meshing process (just a random guess).

Re: Crashing while doing Delaunay 2D triangulation

Posted: Wed Jan 21, 2015 12:50 pm
by fberna
it has to do with the size of the cloud. Tried with a much smaller file and it works.

will have to find out what the limit is.