Home
Research
Blog
Portfolio
Resume

Performance Analysis of 3D Mesh Simplification Algorithms: QEM vs. Vertex Clustering on CAD and Organic Models

3D GraphicsComputer GraphicsMesh SimplificationComputer GeometryStatistical Analysis
Ahnaf An Nafee*1

1George Mason University, Fairfax, Virginia, USA

GMU CS700 · 2025

PaperCodeResearchGateBibTeX

Visual comparison of decimation results. Top row: clean CAD models (ModelNet40). Bottom row: organic scanned meshes (Thingi10k). QEM struggles with CAD topology at 90% reduction while Clustering preserves global shape.
Visual comparison of decimation results. Top row: clean CAD models (ModelNet40). Bottom row: organic scanned meshes (Thingi10k). QEM struggles with CAD topology at 90% reduction while Clustering preserves global shape.

Abstract

High-fidelity 3D models often exceed the rendering budgets of real-time applications, necessitating effective mesh simplification algorithms. However, current benchmarks often overlook the impact of input mesh topology, specifically the distinction between structured CAD models and unstructured organic scans. This paper presents a comparative analysis of two fundamental simplification algorithms: Quadric Error Metrics (QEM) and Vertex Clustering. We evaluate these algorithms across two distinct datasets (ModelNet40 for CAD and Thingi10K for Organic models) at varying levels of decimation (50% and 90%). Using a rigorous factorial experimental design, we quantify Execution Time and Geometric Fidelity (Hausdorff Distance). We demonstrate that Vertex Clustering is orders of magnitude faster (p < 0.001) and remarkably stable across all datasets. Conversely, while QEM offers superior accuracy at moderate reduction levels, we identify a significant performance degradation on organic meshes and a catastrophic loss of geometric fidelity on sparse CAD models at high decimation levels. Our findings establish that the optimal choice of simplification strategy depends heavily on the source topology and the target decimation ratio.

This study provides empirical evidence that mesh simplification algorithm selection must be informed by both the source topology and the target decimation ratio. Given the widespread use of mesh decimation in game engines, VR/AR applications, and 3D printing pipelines, understanding when to use which algorithm is critical.


Key Findings

Our results support all three research hypotheses with strong statistical significance:

Finding 1: Universal Speed Advantage. Vertex Clustering is 60–80× faster than QEM across all conditions (p<0.001p < 0.001p<0.001). For a typical organic model with 300k vertices, Clustering completes in ~0.03 seconds (suitable for real-time LOD at 60 FPS), while QEM requires ~1.29 seconds (acceptable only for offline preprocessing).

Finding 2: Topology-Conditional Fidelity. QEM's geometric accuracy advantage is highly conditional. It offers superior fidelity on organic surfaces (mean Hausdorff Distance = 0.006 vs. 0.013 for Clustering), effectively halving the error. However, it catastrophically fails on sparse CAD geometries at 90% decimation (mean HD = 0.034), performing significantly worse than Clustering.

Finding 3: Stability vs. Optimality Trade-off. Clustering exhibits remarkable error stability (coefficient of variation <15%< 15\%<15%) across all conditions, whereas QEM's error variance increases by 300% when applied to unsuitable topologies.


Methodology

We utilized a 2×2×22 \times 2 \times 22×2×2 factorial design:

  • Factor 1: Algorithm — Quadric Edge Collapse Decimation (QEM) vs. Vertex Clustering
  • Factor 2: Mesh Type — Clean CAD (ModelNet40) vs. Organic Scanned (Thingi10k)
  • Factor 3: Decimation Level — Moderate (50%) vs. Extreme (90%)

Datasets

We curated a balanced dataset of 30 models to mitigate selection bias:

  • Clean CAD: 15 models from ModelNet40. Man-made objects (airplanes, chairs, guitars) with sharp edges, large planar surfaces, and 18k–80k vertices.
  • Organic Scanned: 15 models from Thingi10k. 3D scans of sculptures, animals, and characters with smooth curvatures, 10k–600k vertices, and surface noise typical of scanning.

Metrics

  1. Execution Time: Wall-clock time with warm-up runs and 5 measured repetitions using time.perf_counter_ns()
  2. Geometric Fidelity: Two-sided Hausdorff Distance max⁡(d(A,B),d(B,A))\max(d(A,B), d(B,A))max(d(A,B),d(B,A)), measuring maximum deviation between original mesh AAA and simplified mesh BBB

Statistical Analysis

Three-way ANOVA with Tukey HSD post-hoc tests. Significance level α=0.05\alpha = 0.05α=0.05, 95% confidence intervals. Total of 120 observations across the factorial design.


Algorithm Background

Quadric Error Metrics (QEM)

QEM is a high-quality decimation algorithm that iteratively collapses edges to minimize geometric error. Each face incident to a vertex defines a plane, and the error at a vertex is the sum of squared distances to all incident planes:

Δ(v)=vTQv\Delta(v) = v^T Q vΔ(v)=vTQv

where QQQ is a symmetric 4×44 \times 44×4 matrix. For an edge collapse (v1,v2)→vˉ(v_1, v_2) \to \bar{v}(v1​,v2​)→vˉ, the new vertex inherits combined quadrics:

Qˉ=Q1+Q2\bar{Q} = Q_1 + Q_2Qˉ​=Q1​+Q2​

The optimal placement minimizes vˉTQˉvˉ\bar{v}^T \bar{Q} \bar{v}vˉTQˉ​vˉ.

Complexity: O(nlog⁡n)O(n \log n)O(nlogn) due to priority queue maintenance.

Vertex Clustering

Vertex Clustering is a fast, low-memory technique using spatial hashing:

  1. Compute bounding box and divide into uniform 3D grid cells
  2. Map each vertex to cell index: cell(v)=⌊(v−vmin)/δ⌋\text{cell}(v) = \lfloor (v - v_{\text{min}}) / \delta \rfloorcell(v)=⌊(v−vmin​)/δ⌋
  3. Collapse all vertices within a cell to representative vertex
  4. Remove degenerate faces

Complexity: O(n)O(n)O(n) with constant-time bin assignments.


Results

Summary Statistics

AlgorithmMesh TypeTime (s)Hausdorff Dist.
ClusteringClean CAD (ModelNet40)0.005 ± 0.0040.006 ± 0.006
ClusteringOrganic (Thingi10k)0.032 ± 0.0620.013 ± 0.012
QEMClean CAD (ModelNet40)0.259 ± 0.1780.034 ± 0.061
QEMOrganic (Thingi10k)1.290 ± 1.7180.006 ± 0.007

Table 1: Mean ± SD across all decimation levels. Lower Hausdorff Distance indicates better geometric preservation.

Execution Time Analysis

The three-way ANOVA revealed a statistically significant main effect for Algorithm:

F(1,112)≈22.89,p<0.001F(1,112) \approx 22.89, \quad p < 0.001F(1,112)≈22.89,p<0.001

The Algorithm × Mesh Type interaction was also significant (F(1,112)≈10.09F(1,112) \approx 10.09F(1,112)≈10.09, p=0.002p = 0.002p=0.002):

  • Clustering: under 0.05s regardless of input complexity
  • QEM: 0.26s (CAD) → 1.29s (Organic) — a ~40× performance gap

This gap arises from QEM's priority queue maintenance requiring O(log⁡n)O(\log n)O(logn) heap updates per edge collapse, whereas Clustering performs constant-time spatial hashing.

Geometric Fidelity Analysis

Significant effects for Algorithm (p=0.008p=0.008p=0.008), Mesh Type (p=0.011p=0.011p=0.011), and Decimation Level (p=0.001p=0.001p=0.001). The Algorithm × Type interaction was significant (p=0.004p=0.004p=0.004).

Critical finding: QEM catastrophically fails on CAD models at 90% decimation.

Failure case analysis:

  • Wing Collapse (Airplane Model): QEM eliminates thin planar surfaces defining wings—quadric error cannot distinguish "safe" interior edges from silhouette-critical boundaries
  • Leg Detachment (Chair Model): Supporting columns with 200–300 vertices disappear as QEM prioritizes the larger seat surface

Clustering's voxelization maintains coarse volumetric approximation—appearing "blocky" but preserving global topology.

Effect Size Analysis

Cohen's ddd confirms practical significance:

Execution Time:

  • Algorithm effect: d=0.81d = 0.81d=0.81 (large)
  • Mesh Type effect: d=0.54d = 0.54d=0.54 (medium)
  • Algorithm × Type interaction: d=1.04d = 1.04d=1.04 (very large)

Hausdorff Distance:

  • QEM on CAD vs. Clustering on CAD at 90%: d=0.98d = 0.98d=0.98 (very large)

Practical Recommendations

  • Real-time VR/AR: Use Clustering exclusively (<16<16<16ms frame budget)
  • Offline CAD simplification at 90%: Prefer Clustering to avoid topological collapse
  • High-fidelity organic reduction at 50%: QEM provides optimal surface preservation
  • Unknown topology pipelines: Implement hybrid routing based on vertex density

The "one-size-fits-all" approach is suboptimal. Future pipelines should incorporate topology detection as preprocessing to route meshes to algorithm-appropriate strategies.


Limitations

  • Non-normality: Shapiro-Wilk tests revealed deviations (W≈0.53W \approx 0.53W≈0.53, p<0.001p < 0.001p<0.001). ANOVA is generally robust, but p-values should be interpreted with caution.
  • Sample Size: N=120N=120N=120 (30 models × 2 algorithms × 2 decimation levels)
  • Single Error Metric: Only Hausdorff Distance measured

Citation

BIBTEX
@misc{annafee2025meshsimplification,
  author      = {Ahnaf {An Nafee}},
  title       = {Performance Analysis of 3D Mesh Simplification Algorithms:
                 QEM vs. Vertex Clustering on CAD and Organic Models},
  year        = {2025},
  institution = {George Mason University},
  note        = {CS700 Course Project},
  url         = {https://www.researchgate.net/publication/400103838_Performance_Analysis_of_3D_Mesh_Simplification_Algorithms_QEM_vs_Vertex_Clustering_on_CAD_and_Organic_Models}
}
Edit on GitHub

ME

HomeResearchBlogPortfolioResume

SOCIALS

connect with me:EmailLinkedInGitHubGoogle ScholarORCIDItch.ioArtStationBehance

© 2026 - All Rights Reserved