GreedyCubicalMarchingSquares
It's like Marching Cubes but not really. Based on the algorithm described by Chien-Chang Ho et al. in Adaptive Feature Preserving Surface Extraction from Volume Data.
Install / Use
/learn @ZachHembree/GreedyCubicalMarchingSquaresREADME
Greedy Cubical Marching Squares
This is a partial implementation of the Cubical Marching Squares algorithm for use with Unity Engine. As of yet it lacks lacks the amgiguous case resolution or sharp feature preservation features described in the original National Taiwan University paper, but it does support a WIP version of a voxel simplification feature that is designed to combine voxels with coplanar surfaces and minimize the number of polygons needed to represent flat areas while retaining a high level of detail.
This project is no longer in development and is being abandoned in favor of another project that I hope I'll actually start at some point.

Usage
In order to use this, you'll need to create an instance of one of the classes inheriting from GreedyCms.Volume, HeightMapVolume or MeshVolume, with the correct input, an IList<float>[][] heightmap or a UnityEngine.Mesh respectively, and use that to create an instance of the GreedyCms.Surface class and call GetMeshData to get the information needed to instantiate a new mesh.
Related Skills
node-connect
354.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
112.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
354.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
354.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
