minemap-primitive-adapt-terrain

Enable adaptTerrain on MineMap Primitive geometry for terrain-aligned rendering.

3|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/ming1zhou88/minemap-skills --skill minemap-primitive-adapt-terrain
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minemap-primitive-adapt-terrain
Source: https://github.com/ming1zhou88/minemap-skills/tree/main/skills/minemap-primitive-adapt-terrain
Command: npx skills add https://github.com/ming1zhou88/minemap-skills --skill minemap-primitive-adapt-terrain

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enable terrain-aligned rendering for Primitive geometry by turning on adaptTerrain and ensuring depth-test compatibility.

Core Features & Use Cases

  • Supports enabling adaptTerrain on PolylineGeometry and PolygonGeometry primitives for DEM-aligned rendering.
  • Documents how classificationType interacts with terrain adaptation and depth-test considerations.
  • Provides recommended workflows and common failure patterns to guide engineers.

Quick Start

Configure a primitive with adaptTerrain: true and verify raster depth-test to align with terrain.

Frequently Asked Questions about minemap-primitive-adapt-terrain

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

FAQPage Schema
How do I adapt MineMap primitives to align with terrain DEM?

Terrain-adapted rendering aligns Primitive geometry with underlying DEM elevation data by enabling the adaptTerrain property and validating depth-test settings to prevent visual z-fighting or clipping issues.

How to enable adaptTerrain for PolylineGeometry and PolygonGeometry primitives?

Enable adaptTerrain by setting the property to true on PolylineGeometry and PolygonGeometry primitives, then verify the raster depth-test configuration to ensure the geometry conforms accurately to the terrain surface.

Why does my Primitive geometry clip below the terrain surface in MineMap?

Primitive geometry clipping below the terrain surface usually occurs because depth-test settings are incompatible with terrain adaptation; verifying raster depth-test and enabling adaptTerrain resolves the rendering conflict.

Does classificationType interact with terrain adaptation for MineMap primitives?

Yes, the classificationType property interacts directly with terrain adaptation and depth-test considerations, influencing how Primitive geometry renders relative to the terrain DEM and raster layers.

Are there common failure patterns when configuring terrain-aligned rendering for primitives?

Common failure patterns include enabling adaptTerrain without verifying raster depth-test compatibility or ignoring geometry type limitations, which can cause misaligned rendering and visual conflicts with the terrain DEM.