GLB là biến thể nhị phân của định dạng glTF. Toàn bộ cảnh 3D (hình học, vật liệu, kết cấu) được đóng gói vào một tệp gọn nhẹ duy nhất. Tải nhanh hơn và dung lượng nhỏ hơn so với glTF có tài nguyên rời.
Tính năng chính

Giới thiệu về định dạng GLB
glTF 2.0 is the Khronos Group standard for transmitting 3D scenes, often called "the JPEG of 3D": a scene description, geometry and materials in the PBR model. GLB is its binary packing, where everything including buffers and textures sits in a single file. That is exactly why GLB became the default format for the web, for augmented reality and for quick model exchange.
The export is for when a 3D city has to show up in a browser or on a phone: an interactive model of a block on a website, an AR view of the development, a project presentation with no special software to install. GLB opens in the built-in Windows viewer and loads into three.js in a few lines.
Only buildings go into the scene. Every outline is extruded to its own height: first by the height tag, then by building:levels multiplied by 3 meters, and if neither is present, by a neutral default of about 9 meters. Optionally a flat base is added; there is no terrain relief in the file.
Coordinates are meters relative to the center of the selected area, so the model arrives at real scale and does not fly off from the origin. Buildings are colored by development type with PBR materials, so in a viewer the scene looks meaningful straight away, with no manual setup.
Chương trình nào mở được tệp GLB
Các chương trình và ứng dụng sau có thể mở, chỉnh sửa và làm việc với tệp GLB (Binary glTF) (.glb) được xuất từ OSM2CDR:
Format specifications
- Open standard
- 3D coordinates supported
- Lossless (no quality loss)
- Stores feature attributes
- Output: 1 file
- glTF 2.0 binary container (.glb). Single self-contained file with mesh + textures. Best for AR/VR and Web 3D.
Ai sử dụng bản đồ GLB
Cách xuất GLB
Cách mở tệp sau khi xuất
- Windows 10 and 11 — open it with a double click in the built-in "3D Viewer": you can spin the model around without installing anything.
- Blender (free) — File → Import → glTF 2.0; the scene arrives with materials, and from there it is lighting, camera and rendering.
- three.js and Babylon.js — GLTFLoader loads the .glb directly; the file is self-contained, there are no separate assets to place alongside.
- Unity and Unreal Engine — import through a glTF plugin (in Unity that is glTFast or UnityGLTF); if your pipeline is set up for a different format, download FBX from us.
- Showing it to a client — upload the file to the Khronos online glTF viewer or to Sketchfab: the link opens in any browser, mobile included.
Bản đồ phổ biến ở định dạng GLB
Nhận bản đồ xuất ở định dạng GLB (Binary glTF)
Tải bản đồ GLB chuyên nghiệp từ OpenStreetMap. Tạo tức thì, bất kỳ khu vực nào.
Câu hỏi thường gặp
Định dạng liên quan
Thường được xuất cùng nhau
Related Articles
GLB and a 3D city map: download a buildings model in GLB, OBJ or STL
What GLB is, how to open it on Windows, online and in Blender, and how to download a 3D city buildings model straight to
formatglTF — The JPEG of 3D: Khronos's Web, AR/VR, and Games Format, with OSM Building Export
Khronos Group's glTF 2.0 since June 2017: JSON + .bin + PBR materials, Draco compression, GLB binary container, OSM buil
formatGLB (Binary glTF) format: web 3D and AR — single-file OSM export to .glb
GLB as binary form of glTF 2.0 by Khronos: chunked layout, PBR materials, web 3D viewers, OSM building single-file .glb