Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] huge difference between running normal_estimation on Mac and Windows

Subject: CGAL users discussion list

List archive

[cgal-discuss] huge difference between running normal_estimation on Mac and Windows


Chronological Thread 
  • From: Yifei Li <>
  • To:
  • Subject: [cgal-discuss] huge difference between running normal_estimation on Mac and Windows
  • Date: Sat, 27 Aug 2011 11:26:31 -0400

Hi,

I compiled and ran examples/Point_set_processing_3/normal_estimation.cpp on Mac and Windows respectively, using sphere_20k.xyz as input data.

It ran very fast on Mac:
Normal estimation
Open data/sphere_20k.xyz for reading...
Reads file data/sphere_20k.xyz: 21000 points, 0.355177 seconds
Estimates Normals Direction by Jet Fitting (k=18)...
done: 2.02112 seconds, 2391 Mb allocated
Orients Normals with a Minimum Spanning Tree (k=18)...
done: 0.596141 seconds, 2401 Mb allocated
Write file test.pwn

However, on Windows, it got stuck in normal orientation (I waited at least 10 mins):
Normal estimation
Open ..\data\sphere_20k.xyz for reading...
Reads file ..\data\sphere_20k.xyz: 21000 points, 1.078 seconds
Estimates Normals Direction by Jet Fitting (k=18)...
done: 15.313 seconds, 5 Mb allocated
Orients Normals with a Minimum Spanning Tree (k=18)...

Any idea why there's such a huge difference?

P.S., The Windows machines is a virtual machine with 2GB memory

Yifei






Archive powered by MHonArc 2.6.16.

Top of Page