一键导入
MineMap 模型运行时调试规范。用于爆炸视图、材质/纹理更新、线框显示、属性外挂、运行时查看与距离可见性控制。
npx skills add https://github.com/ming1zhou88/minemap-skills --skill minemap-model-runtime-debug复制此命令并粘贴到 Claude Code 中以安装该技能
MineMap 模型运行时调试规范。用于爆炸视图、材质/纹理更新、线框显示、属性外挂、运行时查看与距离可见性控制。
npx skills add https://github.com/ming1zhou88/minemap-skills --skill minemap-model-runtime-debug复制此命令并粘贴到 Claude Code 中以安装该技能
MineMap 二三维叠加规范。覆盖矢量贴地、贴模型、对象接受/拒绝贴合、symbol 自动赋高、以及 raster 深度测试与图层顺序控制。
MineMap 全局配置、key/solution、域名地址、sprite/fonts、minemapCDN 与启动前配置顺序。用于指导用户正确完成地图初始化前的配置,不再把 accessToken 作为主推荐路径。
MineMap 的 Marker 与 Popup 规范。涵盖 DOM 覆盖物、三维高度、distanceDisplayCondition、拖拽、内容 API、地形场景与常见失败场景。
MineMap 三维场景组件体系:SceneModel、SceneTileset、SceneObject(Earth/Skybox/AirLine 等),重点补全 glTF/glb 与 3D Tiles 参数边界。
MineMap 样式规范(style v8)、source/layer 管理、图标资源、GeoJSON 更新与数据源组织,重点补全 VectorTileSource 参数与约束。
MineMap 地形设置(setTerrain)、DEM 高程查询、地形分析、TerrainLeveling、相机碰撞高度与 terrain 相关约束。
| name | minemap-model-runtime-debug |
| description | MineMap 模型运行时调试规范。用于爆炸视图、材质/纹理更新、线框显示、属性外挂、运行时查看与距离可见性控制。 |
这类能力主要来自 query/interaction demo,但并不全是内核“业务主 API”。需要分三层看:
SceneModel、材质、纹理、distanceDisplayConditionaccurateBounding、线框开关map.addSceneComponent({ type: '3d-model', ... })loaded(model)SceneModel#accurateBoundingSceneModel#distanceDisplayConditionSceneModel#showEmbeddedWireframeSceneModel#generateWireframeSceneModel#showGeneratedWireframematerial.setOptions(...)minemap.TextureLoader.load(...)对应 demo:
demo/html/UpdateGLTFTexture.htmldemo/html/material-update.html推荐顺序:
feature.materialmaterial.setOptions(...)TextureLoader.load(...) 异步加载后再设置对应 demo:
demo/html/ModelWireframeRender.htmldemo/html/ModelCreaseEdgeWireframeRender.html源码已公开:
showEmbeddedWireframegenerateWireframeshowGeneratedWireframe最近 master 还补了一条更细的兼容行为:
_wireframe_crease_edge 也被纳入内置尾缀识别这意味着当前版本的推荐顺序应该写得更明确:
_wireframe / _crease_edge 时,优先 showEmbeddedWireframegenerateWireframegenerateWireframe 主要是调试/表达增强,不应默认全开不要把 demo 中的私有遍历、节点调试逻辑当成唯一入口。
accurateBounding对应 demo:
demo/html/DistanceBasedVisibilityCulling.htmldemo/html/CameraRegionLimiter.htmlaccurateBounding 的定位很明确:
只在动画/变形模型确实出现剔除异常时启用。
对应 demo:
demo/html/3DModelExplodedView.htmldemo/html/3DModelViewer.html这类页面说明 MineMap 支持:
但 demo 中存在私有字段访问,技能库不把它写成正式推荐 API。
对应 demo:
demo/html/Fbx-PropAttr-WriteShow.htmldemo/html/BIM2GLTF-AttachInfo.html结论:
material 接口不要把 primitive._material 之类私有字段写成标准方案。
不要默认给全部模型开启 generateWireframe。
distanceDisplayCondition 是距离显示控制,不是 LOD 系统它只负责近远可见范围。
accurateBoundingdemo/html/UpdateGLTFTexture.htmldemo/html/material-update.htmldemo/html/ModelWireframeRender.htmldemo/html/ModelCreaseEdgeWireframeRender.htmldemo/html/3DModelExplodedView.htmldemo/html/3DModelViewer.htmldemo/html/Fbx-PropAttr-WriteShow.htmldemo/html/DistanceBasedVisibilityCulling.htmldemo/html/PBR-GLTF-3DTiles.htmlminemap-scene-componentsminemap-material-system-and-shadingminemap-transformsminemap-business-oblique-bim