geometry-dual-contouring

Community

Preserve sharp terrain edges with Dual Contouring

Authorgregoryraymond
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Dual Contouring preserves sharp cliff edges in terrain meshes by placing one vertex per cell using Hermite data and a QEF optimization, avoiding the smoothing typical of marching cubes.

Core Features & Use Cases

  • QEF-based vertex placement per cell to preserve sharp features
  • Octree-based LOD for coastlines and cliff detail
  • Hermite data: intersections and normals
  • Support for crack-free surfaces and adaptive subdivision
  • Rust-friendly implementation considerations

Quick Start

Load a scalar field and normals, accumulate Hermite data per cell, solve QEFs, and assemble the faces into a crack-free quad mesh.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: geometry-dual-contouring
Download link: https://github.com/gregoryraymond/claude-agents-and-skills/archive/main.zip#geometry-dual-contouring

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.