将三维建筑导出为 FBX 格式,用于游戏引擎。Unity、Unreal Engine、Maya、3ds Max 均支持。采用 Y 轴朝上的坐标系,以兼容游戏引擎。
主要特点

关于 FBX 格式
FBX is a 3D scene exchange format that Autodesk bought in 2006 and turned into the common language between Maya, 3ds Max, MotionBuilder, Unity, Unreal Engine and Blender. It can carry geometry, materials, object hierarchy, cameras and animation; for urban development it is the geometry part that is used.
The export is for when a city has to end up inside an engine or a 3D package: a game level prototype based on a real district, a VR walk, an architectural visualization with genuine surroundings, an urban traffic simulation. Modeling a city block by hand takes longer than taking ready-made OpenStreetMap outlines.
Only buildings go into the scene. Every building outline is extruded to its own height: first the height tag is used, and if it is missing, building:levels multiplied by 3 meters; if that is missing too, a neutral default of about 9 meters is applied. Optionally a flat base is placed under the buildings; there is no terrain relief in the file.
Coordinates are converted to meters relative to the center of the selected area, with the Y axis pointing up — which means the model lands in Unity and Unreal at the right scale and orientation. The file is a genuine binary FBX; if the build fails, the export honestly ends with an error instead of slipping you another format under an .fbx extension.
打开 FBX 文件的程序
以下程序可以打开、编辑和处理从 OSM2CDR 导出的 FBX (Game Engines)(.fbx)文件:
格式规格
- 专有格式
- 支持 3D 坐标
- 无损(无质量损失)
- 存储要素属性
- 输出:1 个文件
- Autodesk FBX 2020. Game-engine-friendly: Unity, Unreal, Maya, 3ds Max. Includes mesh + materials.
谁在使用 FBX 地图
如何导出 FBX
导出后如何打开
- Unity — drag the .fbx into the Assets folder; in Import Settings check the Scale Factor (the scene is already in meters) and turn on Generate Colliders if you need to walk on the buildings.
- Unreal Engine — Import in the Content Browser; clear Auto Generate Collision if you plan your own collisions, and consider Nanite for dense development.
- Blender (free) — File → Import → FBX; buildings arrive as separate meshes, and from there it is materials, lighting and rendering.
- 3ds Max and Maya — File → Import; the scene is in meters, and if necessary set the System Units, otherwise the model will turn out microscopic.
- If you only need to view it — the built-in Windows "3D Viewer" does not open FBX: download GLB from us, it is viewed by the system viewer and in a browser.
FBX 格式的热门地图
常见问题
与其他格式比较
相关格式
经常一起导出
Related Articles
FBX (Filmbox) format: industry-standard 3D pipeline — export OSM 3D buildings to FBX
FBX from Kaydara 1996 to Autodesk: ASCII/binary spec, DCC pipeline Maya↔Max↔Unity↔Unreal, OSM 3D building export.
tutorialHow to Export 3D Buildings from OpenStreetMap to STL for 3D Printing
Step-by-step guide: export OpenStreetMap buildings with real heights to STL, glTF and OBJ for 3D printing, architectural
guide3D Maps from OpenStreetMap: All Export Formats
Overview of all 3D map export formats from OSM: STL, OBJ, glTF, FBX, IFC, CityJSON. Which to choose for your task.