免费 GLTF 转换器
极速 GLTF 转换 — 100% 在浏览器中完成。你的文件永远不会离开你的设备。免费、无水印、无需注册。
上传 3D 模型
拖拽或点击上传,文件在你的浏览器中本地处理。
点击或拖拽上传
支持 GLB、GLTF、OBJ、STL、FBX、PLY
3D 预览
未加载模型
上传 3D 模型以预览和转换
将其他格式转换为 GLTF
将其他 3D 格式转换为 GLTF。
GLB → GLTF
Binary glTF, the most common modern 3D format
OBJ → GLTF
Wavefront OBJ, widely supported geometry format
STL → GLTF
Stereolithography, the standard for 3D printing
FBX → GLTF
Autodesk FBX, popular in animation pipelines (input only)
PLY → GLTF
Polygon File Format, common in 3D scanning
GLTF 支持的特性
| 特性 | GLTF |
|---|---|
| 几何体 | |
| 纹理 | |
| 材质 | |
| 动画 | |
| 骨骼绑定 |
何时使用 GLTF
流水线调试
GLTF 的可读 JSON 可以轻松检查材质值、网格布局和动画结构。放入任何文本编辑器中。
源头控制资产
多个文本文件在 git 中清晰地进行比较。跟踪材质随时间的调整、网格编辑和动画变化。
交货前的预处理
在捆绑到 GLB 进行生产之前,通过 gltfpack、glTF-Transform 或 glTF 验证器运行 GLTF。
定制工具
对 JSON 描述符的编程访问使 GLTF 成为自动化网格处理、验证和转换管道的理想选择。
常见 GLTF 工作流程
检查并验证
将 .gltf 拖入官方 glTF 验证器 (https://validator.glTF.dev/) 以捕获网格、材质或动画问题。
应用压缩
运行“gltfpack -i model.gltf -o model-processed.gltf -cc”以应用 Draco 网格压缩。文件大小可减少 5-10 倍。
转换为 GLB 进行交付
检查或处理后,将 GLTF 转换为 GLB,以便为 Web 提供单个独立文件。
GLTF 软件兼容性
| Software | Support | Notes |
|---|---|---|
| 混合器 | 读+写 | 通过 glTF 2.0 插件原生。同时导出 .gltf 和 .glb。 |
| 玛雅 / 3ds Max | 读+写 | 通过 Babylon.js 或 FBX-to-glTF 插件。 |
| 统一 | 读 | 通过 GLTFast。材质和动画导入正确。 |
| 虚幻引擎 | 读 | 通过 glTFRuntime 插件。 |
| 网络浏览器 | 读 | 尽管多文件获取会增加延迟,但所有主要 Web 3D 库都会原生加载 GLTF。 |
| 文本编辑器 | 读+写 | 纯 JSON — 手动编辑以进行调试或快速调整。 |
关于 GLTF
GLTF is the JSON-based variant of glTF. The structure is human-readable and the external binary buffers and textures are stored as separate files, making it easy to inspect, diff, and edit. GLTF carries the same feature set as GLB — geometry, PBR materials, textures, and animation.