将三维建筑导出为 X3D——ISO 制定的交互式三维图形标准。采用 XML 格式,支持导航和光照。是 VRML 的继任者。
主要特点

关于 X3D 格式
X3D is the ISO standard for three-dimensional scenes, the direct heir of VRML but written in XML. Thanks to that the file is read by any parser, edited as text and embedded into a web page through X3DOM or X_ITE without plugins.
The export is taken for demonstrative tasks: an interactive model of a district on a department website, an appendix to a paper, teaching material, exchanging geometry with scientific software. This is the most "document-like" of the three-dimensional formats — it is put into a paper's archive and opened years later.
The file holds an X3D scene of version 3.3, Interchange profile: buildings are extruded from outlines into volume (LOD1, flat roofs), each is assigned a material colored by type of development, and a light source and a viewpoint are added. Very small outlines with an area under half a square meter are discarded as noise.
Height is taken from the height tag, otherwise from the number of floors at 3 meters each, otherwise from a typical height for that type of development, and as a last resort — 9 meters. The 3D export area is limited to 1500 km²: beyond that the scene turns into millions of polygons that no viewer will open.
打开 X3D 文件的程序
以下程序可以打开、编辑和处理从 OSM2CDR 导出的 X3D (Extensible 3D)(.x3d)文件:
格式规格
- 开放标准
- 支持 3D 坐标
- 无损(无质量损失)
- 存储要素属性
- 输出:1 个文件
- X3D (ISO/IEC 19775), VRML's XML successor. Opens in view3dscene, Instant Reality, X3DOM (browser-native).
谁在使用 X3D 地图
如何导出 X3D
导出后如何打开
- A browser through X3DOM or X_ITE — include the library and put the scene into the page; the model turns with the mouse and needs no plugins.
- view3dscene, FreeWRL, InstantReality — desktop X3D viewers: open it, walk around the scene, check the geometry.
- Blender — import through the Web3D X3D/VRML2 add-on (enabled in the preferences); if it is missing in your version, convert the file to glTF with view3dscene.
- ParaView — opens X3D as geometry for scientific visualization, handy for combining the city with computed fields.
- Editing as text — this is XML: the material color, the viewpoint and the lighting can be changed in an ordinary editor without opening a 3D program.
X3D 格式的热门地图
常见问题
相关格式
经常一起导出
Related Articles
X3D (Extensible 3D) format: ISO/IEC 19775 — OSM scene export with interactivity
X3D as VRML successor: ISO/IEC 19775, XML/JSON/Classic encodings, X3DOM web viewer, CityGML mapping, OSM export.
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.