Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

hh-hang/collider-forge

Open more actions menu

Repository files navigation

collider-forge

简体中文 | English

一个用于加载 glTF 与 3D Tiles、生成碰撞网格并导出 collider .glb 的可视化工具。

collider-forge 示例界面

快速开始

git clone https://github.com/hh-hang/collider-forge.git
cd collider-forge
npm install
npm run dev

打开浏览器访问 http://localhost:5174

功能

  • 加载本地 .glb / .gltf 模型。
  • 加载远程 glTF / GLB URL。
  • 通过 URL 加载 3D Tiles tileset。
  • 通过 Cesium Ion 加载 Google 3D Tiles。
  • 从模型几何生成合并后的 trimesh 碰撞体。
  • 导入已有 collider .glb
  • 导出 collider .glb,可选 Draco 压缩。
  • 导出时可选择 Cesium 常用的 Z-up,或 glTF / three.js 常用的 Y-up。

致谢

three.js

3d-tiles-renderer

draco

本仓库 public/libs 下的第三方运行时文件许可声明详见 THIRD_PARTY_NOTICES.md

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.