ordito runs on the GPU, and the libraries most mesh-processing code reaches for do not. This page
compares the two on the same inputs: ordito on CUDA against twelve reference libraries — trimesh,
libigl, Open3D, SciPy, NumPy, potpourri3d (geometry-central), MeshLab (through PyMeshLab), PyVista
(VTK), MeshLib, PyMeshFix, manifold3d (Manifold) and PyTorch3D, the one other library with GPU
kernels.
Every comparison times the same quantity on both sides, and the correctness suite checks that the
two answers agree. A time is the median of repeated calls from Python, including the wait for the
GPU to finish, so it is what a caller measures. The inputs are real 3D scans from the Stanford
repository (from 16 thousand to 28 million triangles) and synthetic meshes that each stress one
cost driver: many components, long boundaries, needle triangles, high valence.
How long each library takes relative to ordito, over every function both implement: ordito is 1x,
and a library at 30x takes thirty times as long. Each function counts once: its ratio is first
averaged over the inputs it was measured on, then the functions are averaged. Both averages are
geometric means, the usual way to combine ratios: a 10x win and a 10x loss cancel out.
Time relative to ordito (CUDA), geometric mean over every function both implement; in parentheses, the number of functions. Log scale. Runs stopped at the time limit are left out.Values
Library
Time relative to ordito
Functions compared
ordito faster in
manifold3d
6x
22
19
MeshLib
7.3x
145
119
PyTorch3D (CUDA)
11x
42
41
NumPy
16x
43
39
Open3D
34x
98
93
SciPy
51x
24
24
potpourri3d
65x
31
31
libigl
85x
118
117
PyVista
96x
81
79
trimesh
102x
144
140
MeshLab
116x
104
104
PyMeshFix
494x
4
4
Libraries are compared on different sets of functions, so each bar measures one library against
ordito, not the libraries against each other. The libraries closest to ordito are the ones whose
functions are mostly fast, compiled code on small inputs; the gaps grow with the input.
By module
ordito's speedup per module, against the fastest library measured on each input — the toughest
comparison available for each function. Each module has its own page, with a chart for every
function.
ordito (CUDA)'s speedup over the fastest library measured on each input, geometric mean per module; in parentheses, the number of functions. Log scale.Values
The comparisons with the widest field of libraries. Each chart shows one input, with ordito at 1x
and every other library's time relative to it; each module's page has every function and every
input.
Signed distance to a mesh
Signed distance from a point set to a triangle mesh, the widest field among the spatial queries.
dragon (871 414 faces) · sign_mode=parity · time relative to ordito, log scale · [all proximity benchmarks](proximity.md)Values
Library
Median
Relative to ordito
ordito (CUDA)
4.69 ms
1x
MeshLib
34.05 ms
7.3x
Open3D
270.03 ms
58x
PyVista
1.025 s
219x
libigl
1.124 s
240x
MeshLab
7.289 s
1554x
trimesh
26.022 s
5548x
Nearest neighbours, k = 7
Seven nearest neighbours of every query point, against CPU trees and PyTorch3D's GPU kernel.
dragon (871 414 faces) · time relative to ordito, log scale · a red cross is a run that left no time · [all neighbors benchmarks](neighbors.md)Values
Library
Median
Relative to ordito
ordito (CUDA)
1.85 ms
1x
PyTorch3D (CUDA)
44.53 ms
24x
Open3D
114.34 ms
62x
SciPy
144.94 ms
78x
libigl
out of memory (predicted)
Nearest neighbour, k = 1
The same query with a single neighbour. Every library with a tree, ordito included, builds it
over the cloud inside the timed call, and the build is most of the work: about two thirds of
ordito's time.
dragon (871 414 faces) · time relative to ordito, log scale · a red cross is a run that left no time · [all neighbors benchmarks](neighbors.md)Values
Library
Median
Relative to ordito
ordito (CUDA)
628.0 µs
1x
MeshLib
14.00 ms
22x
PyTorch3D (CUDA)
33.72 ms
54x
Open3D
113.52 ms
181x
SciPy
133.10 ms
212x
libigl
out of memory (predicted)
Quadric decimation
Edge-collapse simplification under the quadric error metric, against five independent
decimators.
saddle (34 848 faces) · target_ratio=0.5 · time relative to ordito, log scale · [all remesh benchmarks](remesh.md)Values
Library
Median
Relative to ordito
ordito (CUDA)
2.81 ms
1x
MeshLib
16.16 ms
5.7x
PyVista
44.68 ms
16x
Open3D
45.03 ms
16x
libigl
52.29 ms
19x
MeshLab
254.90 ms
91x
Mesh Booleans
Union of two closed spheres of 328 thousand faces each, rotated and shifted so their surfaces
cross along a long curve. manifold3d is Manifold itself, the library ordito.boolean ports, run on
all CPU cores; trimesh calls the same engine, and MeshLab is libigl's exact CGAL Boolean. Every
library returns a closed solid, and ordito returns Manifold's very mesh.
sphere_large (327 680 faces) · time relative to ordito, log scale · [all boolean benchmarks](boolean.md)Values
Library
Median
Relative to ordito
ordito (CUDA)
7.88 ms
1x
manifold3d
31.20 ms
4x
MeshLib
33.32 ms
4.2x
trimesh
139.86 ms
18x
MeshLab
2.529 s
321x
Minimal oriented bounding box
Every library here searches for the minimum-volume box, not the PCA box, so the bars compare
the same optimisation.
dragon (871 414 faces) · time relative to ordito, log scale · [all bounds benchmarks](bounds.md)Values
Library
Median
Relative to ordito
ordito (CUDA)
1.22 ms
1x
PyVista
19.65 ms
16x
trimesh
154.05 ms
126x
Open3D
2.035 s
1667x
libigl
2.378 s
1947x
Convex hull
dragon (871 414 faces) · time relative to ordito, log scale · [all points benchmarks](points.md)Values
Library
Median
Relative to ordito
ordito (CUDA)
1.82 ms
1x
MeshLib
21.56 ms
12x
manifold3d
24.63 ms
14x
PyVista
32.92 ms
18x
Open3D
48.34 ms
27x
SciPy
59.10 ms
32x
trimesh
77.18 ms
42x
MeshLab
399.80 ms
219x
Orienting point-cloud normals
Consistent normal orientation by minimum-spanning-tree propagation, on the dragon scan's vertices
as a bare cloud: the step before Poisson or ball-pivoting reconstruction. Open3D's
orient_normals_consistent_tangent_plane runs the same propagation; on lucy
it ran past the ten-minute limit.
dragon (871 414 faces) · time relative to ordito, log scale · [all points benchmarks](points.md)Values
Library
Median
Relative to ordito
ordito (CUDA)
2.21 ms
1x
Open3D
15.214 s
6880x
Blue-noise sampling
Poisson-disk sampling of a surface: four different algorithms for the same distribution.
dragon (871 414 faces) · radius_scale=1.0 · time relative to ordito, log scale · [all sample benchmarks](sample.md)Values
Library
Median
Relative to ordito
ordito (CUDA)
1.20 ms
1x
MeshLib
12.42 ms
10x
Open3D
44.05 ms
37x
libigl
255.55 ms
213x
MeshLab
449.87 ms
375x
Geodesic distance
Geodesic distance from a source vertex by the heat method, including building the solver.
sphere_med (81 920 faces) · setup=full · time relative to ordito, log scale · [all heat benchmarks](heat.md)Values
Library
Median
Relative to ordito
ordito (CUDA)
6.60 ms
1x
PyVista
24.76 ms
3.8x
potpourri3d
520.51 ms
79x
MeshLab
568.74 ms
86x
libigl
585.77 ms
89x
Geodesic distance on a point cloud
The heat method on a bare point cloud, geometry-central's point-cloud solver: local
triangulations, their tufted cover, and two sparse solves, built and solved in one call.
sphere_large (327 680 faces) · setup=full · time relative to ordito, log scale · [all heat benchmarks](heat.md)Values
Library
Median
Relative to ordito
ordito (CUDA)
30.74 ms
1x
potpourri3d
9.267 s
301x
Repair: merging duplicate vertices
sphere_med (81 920 faces) · epsilon=0.0 · time relative to ordito, log scale · [all repair benchmarks](repair.md)Values
Library
Median
Relative to ordito
ordito (CUDA)
233.3 µs
1x
Open3D
15.09 ms
65x
MeshLib
24.05 ms
103x
PyVista
24.66 ms
106x
libigl
30.24 ms
130x
trimesh
47.65 ms
204x
manifold3d
78.92 ms
338x
MeshLab
210.88 ms
904x
Repair: consistent winding
Re-orienting every face to agree with its neighbours, a whole-mesh propagation.
sphere_med (81 920 faces) · time relative to ordito, log scale · [all repair benchmarks](repair.md)Values
Library
Median
Relative to ordito
ordito (CUDA)
140.7 µs
1x
MeshLib
6.03 ms
43x
PyVista
13.81 ms
98x
trimesh
18.19 ms
129x
libigl
35.13 ms
250x
MeshLab
50.13 ms
356x
Open3D
90.67 ms
644x
Connected components
dragon (871 414 faces) · time relative to ordito, log scale · [all adjacency benchmarks](adjacency.md)Values
Library
Median
Relative to ordito
ordito (CUDA)
239.2 µs
1x
MeshLib
21.42 ms
90x
PyVista
269.72 ms
1128x
libigl
405.56 ms
1696x
Open3D
942.26 ms
3940x
Unique edges
The undirected edge list, the first step of most topology code.
dragon (871 414 faces) · time relative to ordito, log scale · [all edges benchmarks](edges.md)Values
Library
Median
Relative to ordito
ordito (CUDA)
455.7 µs
1x
PyTorch3D (CUDA)
3.57 ms
7.8x
trimesh
232.28 ms
510x
PyVista
250.28 ms
549x
libigl
327.63 ms
719x
Taubin smoothing
dragon (871 414 faces) · time relative to ordito, log scale · [all smoothing benchmarks](smoothing.md)Values
Library
Median
Relative to ordito
ordito (CUDA)
575.4 µs
1x
trimesh
192.15 ms
334x
Open3D
298.67 ms
519x
MeshLab
836.49 ms
1454x
Voxelizing a mesh
dragon (871 414 faces) · divisor=64 · time relative to ordito, log scale · [all voxels benchmarks](voxels.md)Values
Library
Median
Relative to ordito
ordito (CUDA)
419.3 µs
1x
MeshLib
106.97 ms
255x
Open3D
156.97 ms
374x
PyVista
264.49 ms
631x
trimesh
656.12 ms
1565x
Boundary edges, a loss
Listing the edges on a mesh's boundary is a single pass that serial C++ finishes in less time than
a GPU round trip takes. ordito loses this one, as it does most operations whose whole cost is a few
tens of microseconds; the module pages show the rest.
rim_long (131 072 faces) · time relative to ordito, log scale · [all boundary benchmarks](boundary.md)Values
Library
Median
Relative to ordito
MeshLib
47.0 µs
0.31x
ordito (CUDA)
150.5 µs
1x
trimesh
18.34 ms
122x
MeshLab
41.15 ms
273x
libigl
41.38 ms
275x
PyVista
54.34 ms
361x
Reproduce
The suite lives in benchmarks/;
its README describes the inputs and every comparison in detail. It needs Linux, an NVIDIA GPU and
the CUDA toolkit:
The last command redraws every chart on this page and on the module pages from your own run.
Absolute times depend on the hardware; the ratios are what carries over.
A ratio holds only for the library, the input and the hardware it was measured on: besides its
size, a mesh's number of components, boundary length and triangle shapes move it. A few functions
have little parallel work at realistic sizes (a sequential pass over one small boundary loop), and
a fast single-threaded C++ implementation beats them; the module pages show those cases beside
the others.