# VRML

**VRML**（Virtual Reality Modeling Language，虚拟现实建模语言）是一种用于描述交互式三维对象与世界的文本文件格式，为通过互联网传输而设计，并被标准化为 ISO/IEC 14772-1:1997，通常称为 VRML 97。<sup>[1](https://www.bitmanagement.de/developer/spec/vrml97specification.pdf)</sup> VRML 文件描述“一个基于时间的三维空间，其中包含可通过多种机制动态修改的图形与听觉对象”，其初衷是作为集成三维图形与多媒体的通用交换格式。<sup>[1](https://www.bitmanagement.de/developer/spec/vrml97specification.pdf)</sup> 它主要活跃于 1994 年至 1990 年代末，是首个面向交互式三维内容的网络标准，后来被 X3D 取代。<sup>[2](https://extinction.zkm.de/events/vrml-plugin-obsolescence)</sup><sup> • </sup><sup>[3](https://www.web3d.org/x3d/export-import)</sup>

| 关键事实 | 详情 |
|---|---|
| 是什么 | 一种用于为互联网、内联网和本地系统描述交互式三维对象与世界的文件格式；同时也旨在作为三维图形与多媒体的通用交换格式<sup>[1](https://www.bitmanagement.de/developer/spec/vrml97specification.pdf)</sup> |
| 标准 | ISO/IEC 14772-1:1997（“VRML97”），第 1 部分：功能规范与 UTF-8 编码，由 JTC 1/SC 24 与 VRML 联盟共同编制；1997 年 12 月发布，2021 年复审确认<sup>[1](https://www.bitmanagement.de/developer/spec/vrml97specification.pdf)</sup><sup> • </sup><sup>[4](https://www.iso.org/standard/25508.html)</sup> |
| 版本 | VRML 1.0（1995 年 5 月，基于 Open Inventor）、VRML 1.0c（1996 年 1 月，仅作澄清）、VRML 2.0（1996 年 8 月，“Moving Worlds”）、VRML 97（1997 年 12 月）<sup>[5](https://tecfa.unige.ch/guides/vrml/sig-graph-tutorial/notes/preface.htm)</sup> |
| 文件标识 | 扩展名 .wrl（gzip 压缩文件为 .wrl.gz 或 .wrz），MIME 类型 model/vrml，文件以诸如 #VRML V2.0 utf8 的头部开始<sup>[6](https://www.loc.gov/preservation/digital/formats/fdd/fdd000602.shtml)</sup> |
| 交互性 | VRML 2.0 增加了传感器、插值器、通过 ROUTE 语句进行的事件路由，以及使用 Java 或 ECMAScript/JavaScript 的 Script 节点<sup>[6](https://www.loc.gov/preservation/digital/formats/fdd/fdd000602.shtml)</sup><sup> • </sup><sup>[1](https://www.bitmanagement.de/developer/spec/vrml97specification.pdf)</sup> |
| 后继者 | 被 X3D（ISO/IEC 19775-1）取代；VRML97 的功能集是 X3D 的子集，VRML 文件可在相同版本与配置下无损转换为 X3D<sup>[3](https://www.web3d.org/x3d/export-import)</sup> |
| 现状 | 一种遗留格式；现代浏览器均不支持 VRML 插件，不过诸如 X_ITE 等基于 JavaScript 的查看器可通过 X3D 的向后兼容性渲染 VRML<sup>[6](https://www.loc.gov/preservation/digital/formats/fdd/fdd000602.shtml)</sup><sup> • </sup><sup>[7](https://www.web3d.org/xite-browser)</sup> |

## 起源

后来成为 VRML 的工作始于 1994 年 2 月，当时名为“Labyrinth”。时任 W3C 附属研究员的戴夫·拉格特（Dave Raggett）与马克·佩斯（Mark Pesce）应[蒂姆·伯纳斯-李](https://www.edgepedia.org/zh/tim-berners-lee)（Tim Berners-Lee）之邀，在 1994 年第一届[万维网](https://www.edgepedia.org/zh/world-wide-web)国际会议上做展示，拉格特正是在那里创造了“虚拟现实标记语言”这一说法。会上，拉格特与伯纳斯-李就虚拟现实标记语言与网络主持了一场非正式讨论会，提出了为 Web 制定平台无关的三维标准的构想。<sup>[6](https://www.loc.gov/preservation/digital/formats/fdd/fdd000602.shtml)</sup><sup> • </sup><sup>[8](https://www.w3.org/People/Raggett/vrml/vrml.html)</sup> 由佩斯和布莱恩·贝伦多夫（Brian Behlendorf）建立的 www-vrml 邮件列表于 1994 年 6 月启动，成员增至一千余人。<sup>[6](https://www.loc.gov/preservation/digital/formats/fdd/fdd000602.shtml)</sup><sup> • </sup><sup>[8](https://www.w3.org/People/Raggett/vrml/vrml.html)</sup>

该邮件列表催生了 1994 年 11 月发布的 VRML 1.0 草案。第一版主要基于硅图公司（Silicon Graphics Inc.，SGI）开发的 Open Inventor 文件格式，并增加了指向 URL 的链接；WWWAnchor 节点提供了与 HTML 中 HREF 锚点相同的功能，而 LOD（细节层次）节点则让浏览器根据对象在场景中的显著程度或机器的渲染速度，为对象选择恰当的数据量。<sup>[5](https://tecfa.unige.ch/guides/vrml/sig-graph-tutorial/notes/preface.htm)</sup><sup> • </sup><sup>[6](https://www.loc.gov/preservation/digital/formats/fdd/fdd000602.shtml)</sup> VRML 1.0 规范于 1995 年 5 月完成，包含对形状构建、光照和纹理的支持。SGI 于 1995 年 4 月 3 日展示了 WebSpace——首个公开可用的 VRML 浏览器；到 1995 年末，浏览器插件已广泛可用，尽管支持完整功能集的寥寥无几。<sup>[5](https://tecfa.unige.ch/guides/vrml/sig-graph-tutorial/notes/preface.htm)</sup><sup> • </sup><sup>[9](https://tecfa.unige.ch/guides/vrml/vrmlman/node5.html)</sup>

## 版本历史

**VRML 1.0 与 1.0c。** 随着各厂商推出浏览器，1.0 规范中的歧义逐渐显现；1996 年 1 月发布了仅作澄清、不含新功能的 VRML 1.0c。曾有一项 VRML 1.1 提案，意在解决使浏览器实现困难的特性，但最终被放弃，转而推进 VRML 2.0，因此不存在 VRML 1.1 浏览器。<sup>[10](https://diglib.eg.org/bitstream/handle/10.2312/egt19981029/vrml97.pdf?isAllowed=y&sequence=1)</sup>

**VRML 2.0。** VRML 1.0 只能构建静态、不变的世界，适用于建筑漫游和某些科学可视化。为增加动画与交互，1995 年 8 月成立的 VRML 架构组（由马克·佩斯等长期贡献者领导）于 1996 年 1 月发出征集提案的号召。由硅图公司联合网景（Netscape）等公司（并有索尼研究所和 Mitra 的贡献）创建的“Moving Worlds”提案赢得绝对多数票，成为 VRML 2.0 的工作文档。最终规范于 1996 年 8 月 4 日在新奥尔良的 SIGGRAPH 96 上发布，重新设计了语法，并增加了形状构建、动画、交互、声音、雾、背景和语言扩展。<sup>[5](https://tecfa.unige.ch/guides/vrml/sig-graph-tutorial/notes/preface.htm)</sup><sup> • </sup><sup>[6](https://www.loc.gov/preservation/digital/formats/fdd/fdd000602.shtml)</sup><sup> • </sup><sup>[11](https://www.infomall.org/sites/dsc/aspenroot/resources/VRML/spec/2.0/)</sup>

**VRML 97。** 1997 年初，VRML 2.0 规范被提交给国际标准化组织。ISO 版本为清晰起见作了大幅改写，语言上仅有少量细微改动，被称为 VRML 97。其功能于 1997 年 3 月定稿，说明性文字于 1997 年 9 月定稿，ISO 于 1997 年 12 月批准其为 ISO/IEC 14772-1:1997。大多数主流 VRML 2.0 浏览器都成为 VRML 97 浏览器。<sup>[5](https://tecfa.unige.ch/guides/vrml/sig-graph-tutorial/notes/preface.htm)</sup> 此后该标准定期接受复审与确认，最近一次是在 2021 年 12 月。<sup>[4](https://www.iso.org/standard/25508.html)</sup>

## 技术结构

一个 VRML 文件包含零个或多个根节点；每个节点有类型名、零个或多个字段、一组可接收和发送的事件、一个实现以及一个名称。<sup>[6](https://www.loc.gov/preservation/digital/formats/fdd/fdd000602.shtml)</sup> 每个文件都隐式地为其定义或包含的所有对象建立一个世界坐标空间，通过 Inline 节点实现的层次化文件包含可构建任意大的动态世界。<sup>[1](https://www.bitmanagement.de/developer/spec/vrml97specification.pdf)</sup> 场景图由节点的变换层次结构和事件连接的路由图组成。<sup>[1](https://www.bitmanagement.de/developer/spec/vrml97specification.pdf)</sup>

该语言涵盖标准图元（立方体、球体、圆锥、圆柱、文本）以及诸如曲面、线集和点集等任意对象；材质属性描述光如何从表面反射，光源节点包括 DirectionalLight、PointLight 和 SpotLight。<sup>[6](https://www.loc.gov/preservation/digital/formats/fdd/fdd000602.shtml)</sup> VRML 2.0 的交互性依赖于传感器节点（Anchor、Collision、CylinderSensor、PlaneSensor、ProximitySensor、SphereSensor、TimeSensor、TouchSensor 和 VisibilitySensor）、用于线性关键帧动画的插值器节点，以及使用 Java 或 [JavaScript](https://www.edgepedia.org/zh/javascript) 接收、处理和发送事件的 Script 节点。事件通过 ROUTE 语句在节点间流动，这些语句独立于场景图结构。<sup>[6](https://www.loc.gov/preservation/digital/formats/fdd/fdd000602.shtml)</sup><sup> • </sup><sup>[12](https://www.rigacci.org/docs/biblio/online/vrml/ch19.htm)</sup> 规范所述的设计标准为：可创作性、可组合性、可扩展性、可实现性、性能和可伸缩性。<sup>[1](https://www.bitmanagement.de/developer/spec/vrml97specification.pdf)</sup>

## 采用与衰落

VRML 吸引了一个庞大的生态系统：众多公司参与其中，开发了大量浏览器，出版了相关书籍，www-vrml 邮件列表和 USENET 新闻组维持着讨论。规范中列举的应用领域包括工程与科学可视化、多媒体演示、娱乐与教育作品、网页以及共享虚拟世界。<sup>[6](https://www.loc.gov/preservation/digital/formats/fdd/fdd000602.shtml)</sup> 1996 年 12 月，共同创造者马克·佩斯从 VRML 联盟辞职，并发表公开信警告说，强大的企业正在威胁内容制作者和用户的利益；该联盟后来更名为 Web3D 联盟。<sup>[6](https://www.loc.gov/preservation/digital/formats/fdd/fdd000602.shtml)</sup>

查看 VRML 需要浏览器插件，最常见的是 Cosmo Player，它随 Netscape Communicator 捆绑发行。SGI 于 1998 年重组时出售了 Cosmo Software，该插件遂被弃置；Cortona 和 Contact 等其他插件存续更久，但随着插件架构的变化而变得不兼容。当浏览器在 2015 年至 2021 年间彻底放弃对 NPAPI 插件的支持时，基于插件的 VRML 查看方式便告终结。<sup>[2](https://extinction.zkm.de/events/vrml-plugin-obsolescence)</sup> 一项对网络 VR 标准的回顾分析还指出，浏览器支持有限、文件庞大复杂且加载缓慢、创作工具受限，以及来自 Flash 和 Java 3D 等技术的竞争，都是 VRML 未能获得持久采用的原因。<sup>[13](https://www.frontiersin.org/journals/virtual-reality/articles/10.3389/frvir.2024.1471579/full)</sup>

## 遗产与后继者

VRML 被基于 XML 的 X3D 格式（ISO/IEC 19775-1，修订为 ISO/IEC 19775-1:2023）取代，后者始于 2001 年，最初是 VRML 的 XML 编码，并增加了着色器、地理位置等功能。<sup>[6](https://www.loc.gov/preservation/digital/formats/fdd/fdd000602.shtml)</sup><sup> • </sup><sup>[14](https://www.web3d.org/x3d-vrml-most-widely-used-3d-formats)</sup> VRML97 的功能集是 X3D 的子集，文件可在相同版本与配置下于 ClassicVRML 与 XML 编码之间无损转换。<sup>[3](https://www.web3d.org/x3d/export-import)</sup> 得益于这种向后兼容性，基于 JavaScript 的 X_ITE 浏览器无需插件，即可在现代浏览器中使用 WebGL 渲染 VRML 内容。<sup>[7](https://www.web3d.org/xite-browser)</sup>

该格式在实践中作为 CAD 交换目标而存续：包括 CATIA V5、NX、Creo、SolidWorks 和 Inventor 在内的主要 CAD 系统原生支持导出为 VRML，Autodesk VRED 等工具也支持 VRML 导出。<sup>[15](https://www.cadinterop.eu/en/formats/mesh/vrml.html)</sup><sup> • </sup><sup>[16](https://help.autodesk.com/cloudhelp/2026/ENU/VRED-Basics/files/Getting-Started/VRED_Supported_File_Formats.html)</sup> 美国国会图书馆将 VRML 归类为遗留格式，其采用者大多已转向 X3D、WebGL 或其他格式；截至 2024 年 5 月，其馆藏中存有少量 VRML 文件。<sup>[6](https://www.loc.gov/preservation/digital/formats/fdd/fdd000602.shtml)</sup>

## References

1. [The Virtual Reality Modeling Language, International Standard ISO/IEC 14772-1:1997 (VRML Consortium specification PDF)](https://www.bitmanagement.de/developer/spec/vrml97specification.pdf)
2. [VRML browser plugins become inaccessible, Net Art Extinction Timeline, ZKM](https://extinction.zkm.de/events/vrml-plugin-obsolescence)
3. [X3D Export and Import, Web3D Consortium](https://www.web3d.org/x3d/export-import)
4. [ISO/IEC 14772-1:1997, International Organization for Standardization](https://www.iso.org/standard/25508.html)
5. [VRML tutorial preface: version history, TECFA, University of Geneva](https://tecfa.unige.ch/guides/vrml/sig-graph-tutorial/notes/preface.htm)
6. [Virtual Reality Modeling Language Family, Library of Congress Sustainability of Digital Formats](https://www.loc.gov/preservation/digital/formats/fdd/fdd000602.shtml)
7. [X_ITE Browser, Web3D Consortium](https://www.web3d.org/xite-browser)
8. [Platform Independent Virtual Reality, Dave Raggett, W3C](https://www.w3.org/People/Raggett/vrml/vrml.html)
9. [Introduction to the VRML standard and 3D graphics, TECFA](https://tecfa.unige.ch/guides/vrml/vrmlman/node5.html)
10. [Introduction to VRML 97, Ames, Nadeau, and Moreland, Eurographics](https://diglib.eg.org/bitstream/handle/10.2312/egt19981029/vrml97.pdf?isAllowed=y&sequence=1)
11. [The VRML 2.0 Specification cover page (Moving Worlds)](https://www.infomall.org/sites/dsc/aspenroot/resources/VRML/spec/2.0/)
12. [Chapter 19: Using Built-in Animation Techniques, VRML tutorial](https://www.rigacci.org/docs/biblio/online/vrml/ch19.htm)
13. [Model-based approach for specifying requirements of virtual reality software products, Frontiers in Virtual Reality (2024)](https://www.frontiersin.org/journals/virtual-reality/articles/10.3389/frvir.2024.1471579/full)
14. [X3D & VRML, The Most Widely Used 3D Formats, Web3D Consortium](https://www.web3d.org/x3d-vrml-most-widely-used-3d-formats)
15. [VRML: Conversion, Compatibility & Visualization, CAD Interop](https://www.cadinterop.eu/en/formats/mesh/vrml.html)
16. [VRED Supported File Formats, Autodesk](https://help.autodesk.com/cloudhelp/2026/ENU/VRED-Basics/files/Getting-Started/VRED_Supported_File_Formats.html)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Data formats and serialization

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/vrml

English original: https://www.edgepedia.org/vrml
