geometry-smoothing-subdivision

Applies Laplacian smoothing and center-fan subdivision to coastal terrain meshes for refined boundaries.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/gregoryraymond/claude-agents-and-skills --skill geometry-smoothing-subdivision
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: geometry-smoothing-subdivision
Source: https://github.com/gregoryraymond/claude-agents-and-skills/tree/main/skills/geometry-smoothing-subdivision
Command: npx skills add https://github.com/gregoryraymond/claude-agents-and-skills --skill geometry-smoothing-subdivision

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reduces visual staircase artifacts along coastlines by applying Laplacian smoothing to terrain outlines while preserving the XZ geographic alignment of terrain vertices, ensuring satellite textures remain correctly mapped.

Core Features & Use Cases

  • Laplacian smoothing restricted to XZ with Y unchanged to soften coastlines without altering elevation data.
  • Center-fan subdivision to increase mesh resolution in beach and cliff transition zones without creating edge T-junctions.
  • Per-cell subdivision decisions guided by beach_factor and coastal_dist to focus detail where terrain transitions from land to sea.

Quick Start

Apply Laplacian smoothing and center-fan subdivision to coastal terrain meshes to improve silhouette.

Frequently Asked Questions about geometry-smoothing-subdivision

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I smooth staircase artifacts on coastline terrain meshes without distorting elevation data?

Center-fan subdivision increases mesh resolution in coastal transition zones by splitting boundary cells while maintaining shared edges. This targeted approach avoids creating T-junctions and focuses detail specifically where terrain transitions from land to sea.

What is the best way to increase mesh resolution near beach and cliff transition zones?

Center-fan subdivision increases mesh resolution in coastal transition zones by splitting boundary cells while maintaining shared edges. This targeted approach avoids creating T-junctions and focuses detail specifically where terrain transitions from land to sea.

How does Laplacian smoothing preserve satellite texture mapping on coastal terrain outlines?

Laplacian smoothing preserves satellite texture mapping by restricting vertex adjustments to the XZ geographic axes and leaving the Y coordinate unchanged. This maintains the horizontal alignment of terrain vertices while softening jagged coastline boundaries.

Can I control where mesh subdivision happens along a coastline based on terrain properties?

Per-cell subdivision decisions are guided by beach_factor and coastal_dist parameters, allowing you to focus mesh detail specifically where terrain transitions from land to sea. This targets higher resolution exactly where coastline artifacts are most visually prominent.

Why does mesh subdivision create T-junctions on shared terrain edges and how can I avoid them?

T-junctions occur when subdivision splits edges without maintaining shared boundaries between adjacent cells. Center-fan subdivision with edge-preserving logic maintains shared edges to prevent these gaps while increasing local resolution in coastal transition zones.