glTF 🏠

glTF (GL Transmission Format)

Open Beta
.gltf · model/gltf+json

glTF là định dạng mở hiện đại cho các cảnh và mô hình 3D. Các tòa nhà được đùn lên thành 3D kèm kết cấu và vật liệu. Là chuẩn cho web 3D (three.js, Babylon.js) và các game engine.

Xuất glTF ngay ✨ Open Beta — miễn phí, không giới hạn

Tính năng chính

Tòa nhà 3D có chiều cao
Vật liệu PBR
Định dạng JSON (dễ đọc)
Hỗ trợ hoạt ảnh và họa tiết bề mặt
Example glTF export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Giới thiệu về định dạng glTF

glTF 2.0 is the Khronos Group's open standard for delivering three-dimensional scenes: geometry, materials and scene structure are described in JSON, while vertices and faces live in binary buffers. The format was conceived as the JPEG of 3D, and today browser engines, game editors and viewers read it without conversion.

OpenStreetMap maps are exported to glTF when you need a city with volume rather than a picture: to spin a block right in the browser, drop the built-up area into a Unity or Unreal scene, show the surroundings in AR, or assemble the geometric base of a digital twin. From there the model is edited in Blender like any other 3D scene.

The file contains the buildings of the selected area: each house outline is extruded upward to its height from the height and building:levels tags, and when those are missing a sensible value is substituted by building type — a detached house gets about six meters, a garage three, a building with no stated type nine, roughly three floors. Roads, water and greenery do not make it into the 3D scene, and terrain is not taken into account: the buildings stand on a flat base plane added underneath the model. Color is assigned by building type, the material is matte, with no metallic sheen.

Coordinates are converted to local meters with the origin at the center of the area, so the model arrives at real-world scale and right next to the scene origin — no hunting for it and no rescaling. The .gltf file is self-contained: the binary buffers are embedded inside as data URIs, no separate .bin appears alongside. If you need a single compact binary, GLB sits right next to it.

Chương trình nào mở được tệp glTF

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 glTF (GL Transmission Format) (.gltf) được xuất từ OSM2CDR:

🎲Blender 💻three.js 💻Babylon.js 🎮Unity 🎮Unreal Engine 💻Cesium

Format specifications

Ai sử dụng bản đồ glTF

🏗
Trực quan hóa 3D trên web
A ready-made scene for three.js and Babylon.js: the built-up area spins right in the browser, with no plugins.
💻
Game engine
Importing city buildings into Unity and Unreal as the basis of a level or as background surroundings.
📊
Ứng dụng AR/VR
A lightweight block model for AR scenes and VR walkthroughs — the format is read by mobile and headset engines.
🎨
Bản đồ thành phố 3D
A volumetric model of a district with real building heights for presentations and city portals.
🗺
Bản sao số
The geometric base of a digital twin: buildings in meters, with data tied to them later.

Cách xuất glTF

1
Chọn khu vực
Vẽ một hình chữ nhật hoặc đa giác trên bản đồ tương tác tại osm2cdr.ru
2
Chọn glTF
Chọn glTF (GL Transmission Format) từ danh sách 127 định dạng xuất khả dụng
3
Xuất
Nhấn Xuất và nhận tệp .gltf của bạn trong 1-5 phút
4
Tải xuống
Tải tệp glTF đã sẵn sàng và mở trong Blender

Cách mở tệp sau khi xuất

Bản đồ phổ biến ở định dạng glTF

Miễn phí

Nhận bản đồ xuất ở định dạng glTF (GL Transmission Format)

Tải bản đồ glTF chuyên nghiệp từ OpenStreetMap. Tạo tức thì, bất kỳ khu vực nào.

Miễn phí / lần xuất
Xuất glTF ngay →

Câu hỏi thường gặp

glTF và GLB khác nhau như thế nào?
Tôi có thể xem nó trong trình duyệt không?
Chiều cao tòa nhà lấy từ đâu?
Can I view it in a browser?
Where do building heights come from?
Do I need separate .bin files next to the .gltf?
At what scale and where is the model placed?
Are there facade textures?

So sánh với các định dạng khác

Định dạng liên quan

Thường được xuất cùng nhau

Related Articles