X3D

XML-based file format for 3D computer graphics

For the language's predecessor, see VRML.

X3D should not be confused with 3DXML, which is a proprietary 3D file format.

X3D — Extensible 3D Graphics

Filename extension|

* `.x3d` (XML)`, .x3dv` (plain text; v = VRML),`.x3db, .x3dz, .x3dbz, .x3dvz` (compressed; b = binary, z = gzip)

Internet media type|

* `model/x3d+xml`
* `model/x3d+vrml`
* `model/x3d+binary`

Initial release| 1997; 28 years ago (1997)
Latest release|

4.0
2023; 2 years ago (2023)

Type of format| 3D computer graphics
Extended from| VRML, XML, Gzip
Standard| ISO/IEC 19775/19776/19777
Website| www.web3d.org/x3d/what-x3d/

X3D (Extensible 3D) is a set of royalty-free ISO/IEC standards for declaratively representing 3D computer graphics. X3D includes multiple graphics file formats, programming-language API definitions, and run-time specifications for both delivery and integration of interactive network-capable 3D data. X3D version 4.0 has been approved by Web3D Consortium, and is under final review by ISO/IEC as a revised International Standard (IS).

X3D is specifically designed to work across diverse devices by using the Web Architecture. X3D provides a range of 3D functionality through Profiles, from basic asset Interchange and CADInterchange to Interactive, MPEG-4 Interactive, Medical, Immersive, and Full Profiles. Anatomically thorough support is also available for Humanoid Animation (HAnim) body structure and motion. The ‘X’ in X3D means Extensible: custom vendor and research component extensions can be added to standard functionality.

X3D file format support includes XML, ClassicVRML, Compressed Binary Encoding (CBE) and a draft JSON encoding. Semantic Web support has also been demonstrated by a Turtle encoding. X3D became the successor to the Virtual Reality Modeling Language (VRML) in 2001.[1] X3D provides multiple extensions to VRML (e.g. CAD, geospatial, humanoid animation, NURBS, etc.), the ability to encode the scene using an XML syntax as well as the Open Inventor-like syntax of VRML97, or binary compression, with strongly typed APIs including ECMAScript, Java, Python and other programming languages.

X3D rendering includes both classic (e.g. Blinn-Phong) and modern  physically based rendering (PBR) methods matching glTF 2.0 capabilities. Use of custom shaders using three platform-specific shader languages is also defined. Authors can employ rich multimedia capabilities including various image and movie formats. Fully spatialized aural rendering applies W3C Web Audio API capabilities, plus audio inputs digitized using MIDI 2.0 or other sound formats.

All X3D file encodings and programming-language APIs have equivalent expressive power, matching functional definitions in the X3D Architecture standard. Thus X3D can work with open standards including XML, Document Object Model (DOM), XPath and others.

## Example

[edit]

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.0//EN" "http://www.web3d.org/specifications/x3d-4.0.dtd">

<X3D profile="Interchange" version="4.0"
xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance"
xsd:noNamespaceSchemaLocation="http://www.web3d.org/specifications/x3d-4.0.xsd">
<Scene>
<Shape DEF="MyTriangle">
<IndexedFaceSet coordIndex="0 1 2">
<Coordinate point="0 0 0 1 0 0 0.5 1 0"/>
</IndexedFaceSet>
</Shape>
</Scene>
</X3D>

The VRML representation is the same as VRML § Example, except that the version numbers are changed to reflect the latest X3D standard (`#X3D V4.0 utf8`). An identifying DEF name is also applied as a node identifier (id).

For JSON and binary formats, see Web3D for a list of tools.[2]

## Applications

[edit]

There are several applications, most of which are open-source software,[3] which natively parse and interpret X3D files, including the 3D graphics and animation editor Blender[4] and the Sun Microsystems virtual world client Project Wonderland.[5] An X3D applet is a software program that runs within a web browser and displays content in 3D, using OpenGL 3D graphics technology to display X3D content in several different browsers (IE, Safari, Firefox) across several different operating systems[6] (Windows, Mac OS X, Linux). However, X3D has not received as wide acceptance as that of other, more notable software applications.

In the 2000s, many companies such as Bitmanagement improved the quality level of virtual effects in X3D to the quality level of DirectX 9.0c, but at the expense of using proprietary solutions. All main features including game modeling are already complete. They include multi-pass render with low level setting for Z-buffer, BlendOp, AlphaOp, Stencil,[7] Multi-texture,[8] Shader with HLSL and GLSL support,[9] real-time Render To Texture, Multi Render Target (MRT) and post-processing.[10] Many demos shows that X3D already supports lightmap, normal mapping, SSAO, CSM and real-time environment reflection along with other virtual effects.[11]

### X3DOM

[edit]

Striving to become the 3D standard for the Web, X3D is designed to be as integrated into HTML5 pages as other XML standards such as MathML and SVG. X3DOM is a proposed syntax model and its implementation as a script library[12] that demonstrates how this integration can be achieved without a browser plugin, using only WebGL and JavaScript.[13]

## Standardization

[edit]

X3D defines several profiles (sets of components) for various levels of capability including X3D Core, X3D Interchange, X3D Interactive, X3D CADInterchange, X3D Immersive, and X3D Full. Browser makers can define their own component extensions prior to submitting them for standardisation by the Web3D Consortium. Formal review and approval is then performed by ISO/IEC.

Liaison and cooperation agreements are also in place between the Web3D Consortium and the World Wide Web Consortium (W3C), Open Geospatial Consortium (OGC), Digital Imaging and Communications in Medicine (DICOM) and the Khronos Group.

A subset of X3D is XMT-A, a variant of XMT, defined in MPEG-4 Part 11. It was designed to provide a link between X3D and 3D content in MPEG-4 (BIFS).[14]

The abstract specification for X3D (ISO/IEC 19775) was first approved by the ISO in 2004. The XML and ClassicVRML encodings for X3D (ISO/IEC 19776) were first approved in 2005.[15]

## Alternatives

[edit]

* WebGL: JavaScript API for rendering interactive 3D graphics and 2D graphics within any compatible web browser, managed by the Khronos Group
* glTF: a standard file format for three-dimensional scenes and models managed by the Khronos Group
* COLLADA: interchange file format for interactive 3D applications, managed by the Khronos Group
* O3D: developed by Google
* U3D: Ecma International standard ECMA-363
* VRML: precursor of X3D
* 3MF: An XML-based format that includes 3D additive manufacturing data such as material properties.
* A-Frame: An HTML-based declarative 3D scene-graph language and interaction framework commonly used for WebVR

## See also

[edit]

* Active Worlds virtual reality, a multi-user 3D chat platform
* Additive Manufacturing File Format
* Blaxxun, a virtual reality multi-user 3D chat platform
* Flux, freely downloadable VRML/X3D editor/browser, now discontinued
* List of vector graphics markup languages
* MeshLab open source mesh processing system that can export VRML/X3D
* Open XML Paper Specification
* OZ Virtual
* Seamless3d, free Open Source 3D modeling software for Microsoft Windows
* Unity, a game engine which can be used online via a browser plugin
* Virtual tour
* Virtual Environment Software
* Web3D and Web3D Consortium

## References

[edit]

1. ^ Paul Festa and John Borland (19 May 2005). "Is a 3D web more than just empty promises?". CNET News.com. Archived from the original on 12 November 2009.
2. ^ "X3D to JSON Stylesheet Converter". www.web3d.org.
3. ^ "X3D Open Source Projects". Web3d.org. Retrieved 2010-02-23. Archived February 6, 2014, at the Wayback Machine.
4. ^ Blender Model Export to X3D
5. ^ "Project Wonderland". Research.sun.com. 2008-10-07. Retrieved 2010-02-23. Archived July 17, 2009, at the Wayback Machine.
6. ^ "X3D applet". Members.shaw.ca. Retrieved 2010-02-23. Archived September 16, 2012, at the Wayback Machine.
7. ^ "BS Contact DrawGroup". www.bitmanagement.com. Retrieved 10 September 2023.
8. ^ "Multitexturing". Archived from the original on 12 July 2010.
9. ^ "Programmable shaders component". Archived from the original on 12 July 2010.
10. ^ "BS Contact - Version 7.2 Release Notes". www.bitmanagement.com. Retrieved 10 September 2023.
11. ^ "m17design - YouTube". www.youtube.com. Retrieved 10 September 2023.
12. ^ "- x3dom.org". Retrieved 10 September 2023.
13. ^ X3D and HTML5: X3DOM proposal, Web3D wiki. Archived October 26, 2016, at the Wayback Machine.
14. ^ "X3D Interactive, X3D MPEG4 Interactive Profile Comparison" (PDF). web3d.org. Retrieved 10 September 2023.
15. ^ X3D FAQ – "What is the status of the X3D specification?" Archived July 16, 2007, at the Wayback Machine. Retrieved on November 30, 2007.

## External links

[edit]

* Web3D Consortium official website
* X3D official website
* X3D Specifications: Schema and DOCTYPE Validation
* X3DOM

* v
* t
* e

Vector graphics markup languages and file formats

By type|

| 2D|

* Asymptote
* CGM
* DrawingML
* Graphics Layout Engine
* GeoGebra
* HVIF
* Lottie
* MetaPost
* PGF/TikZ
* PGML
* PSTricks
* Remote Imaging Protocol
* SVG
* SWF
* VML
* WMF
* EMF
* XAML
* Xar

|

3D|

* 3DMLW
* 3DXML
* Asymptote
* COLLADA
* DWF
* GeoGebra
* glTF
* IGES
* JT
* OpenGEX
* PRC
* STEP
* STL
* U3D
* VRML
* X3D
* XAML
* XVL
* xVRML

See also|

* Web3D
* Web3D Consortium
* Linden Scripting Language

* v
* t
* e

International Organization for Standardization (ISO) standards

List of ISO standards – ISO romanizations – IEC standards

1–9999|

* 1
* 2
* 3
* 4
* 6
* 7
* 9
* 16
* 17
* 31
* -0
* -1
* -3
* -4
* -5
* -6
* -7
* -8
* -9
* -10
* -11
* -12
* -13
* 68-1
* 128
* 216
* 217
* 226
* 228
* 233
* 259
* 261
* 262
* 302
* 306
* 361
* 500
* 518
* 519
* 639
* -1
* -2
* -3
* -5
* -6
* 646
* 657
* 668
* 690
* 704
* 732
* 764
* 838
* 843
* 860
* 898
* 965
* 999
* 1000
* 1004
* 1007
* 1073-1
* 1073-2
* 1155
* 1413
* 1538
* 1629
* 1745
* 1989
* 2014
* 2015
* 2022
* 2033
* 2047
* 2108
* 2145
* 2146
* 2240
* 2281
* 2533
* 2709
* 2711
* 2720
* 2788
* 2848
* 2852
* 2921
* 3029
* 3103
* 3166
* -1
* -2
* -3
* 3297
* 3307
* 3601
* 3602
* 3864
* 3901
* 3950
* 3977
* 4031
* 4157
* 4165
* 4217
* 4909
* 5218
* 5426
* 5427
* 5428
* 5725
* 5775
* 5776
* 5800
* 5807
* 5964
* 6166
* 6344
* 6346
* 6373
* 6385
* 6425
* 6429
* 6438
* 6523
* 6709
* 6943
* 7001
* 7002
* 7010
* 7027
* 7064
* 7098
* 7185
* 7200
* 7498
* -1
* 7637
* 7736
* 7810
* 7811
* 7812
* 7813
* 7816
* 7942
* 8000
* 8093
* 8178
* 8217
* 8373
* 8501-1
* 8571
* 8583
* 8601
* 8613
* 8632
* 8651
* 8652
* 8691
* 8805/8806
* 8807
* 8820-5
* 8859
* -1
* -2
* -3
* -4
* -5
* -6
* -7
* -8
* -8-I
* -9
* -10
* -11
* -12
* -13
* -14
* -15
* -16
* 8879
* 9000/9001
* 9036
* 9075
* 9126
* 9141
* 9227
* 9241
* 9293
* 9314
* 9362
* 9407
* 9496
* 9506
* 9529
* 9564
* 9592/9593
* 9594
* 9660
* 9797-1
* 9897
* 9899
* 9945
* 9984
* 9985
* 9995

10000–19999|

* 10006
* 10007
* 10116
* 10118-3
* 10160
* 10161
* 10165
* 10179
* 10206
* 10218
* 10279
* 10303
* -11
* -21
* -22
* -28
* -238
* 10383
* 10585
* 10589
* 10628
* 10646
* 10664
* 10746
* 10861
* 10957
* 10962
* 10967
* 11073
* 11170
* 11172
* 11179
* 11404
* 11544
* 11783
* 11784
* 11785
* 11801
* 11889
* 11898
* 11940 (-2)
* 11941
* 11941 (TR)
* 11992
* 12006
* 12052
* 12182
* 12207
* 12234-2
* 12620
* 13211
* -1
* -2
* 13216
* 13250
* 13399
* 13406-2
* 13450
* 13485
* 13490
* 13567
* 13568
* 13584
* 13616
* 13816
* 13818
* 14000
* 14031
* 14224
* 14289
* 14396
* 14443
* 14496
* -2
* -3
* -6
* -10
* -11
* -12
* -14
* -17
* -20
* 14617
* 14644
* 14649
* 14651
* 14698
* 14764
* 14882
* 14971
* 15022
* 15189
* 15288
* 15291
* 15398
* 15408
* 15444
* -3
* -9
* 15445
* 15438
* 15504
* 15511
* 15686
* 15693
* 15706
* -2
* 15707
* 15897
* 15919
* 15924
* 15926
* 15926 WIP
* 15930
* 15938
* 16023
* 16262
* 16355-1
* 16485
* 16612-2
* 16750
* 16949 (TS)
* 17024
* 17025
* 17100
* 17203
* 17369
* 17442
* 17506
* 17799
* 18004
* 18014
* 18181
* 18245
* 18629
* 18760
* 18916
* 19005
* 19011
* 19092
* -1
* -2
* 19114
* 19115
* 19125
* 19136
* 19407
* 19439
* 19500
* 19501
* 19502
* 19503
* 19505
* 19506
* 19507
* 19508
* 19509
* 19510
* 19600
* 19752
* 19757
* 19770
* 19775-1
* 19794-5
* 19831

20000–29999|

* 20000
* 20022
* 20121
* 20400
* 20802
* 20830
* 21000
* 21001
* 21047
* 21122
* 21500
* 21778
* 21827
* 22000
* 22275
* 22300
* 22301
* 22395
* 22537
* 23000
* 23003
* 23008
* 23009
* 23090-3
* 23092
* 23094-1
* 23094-2
* 23270
* 23271
* 23360
* 23941
* 24517
* 24613
* 24617
* 24707
* 24728
* 25178
* 25964
* 26000
* 26262
* 26300
* 26324
* 27000 series
* 27000
* 27001
* 27002
* 27005
* 27006
* 27729
* 28000
* 29110
* 29148
* 29199-2
* 29500

30000+|

* 30170
* 31000
* 32000
* 37001
* 38500
* 39075
* 40314
* 40500
* 42010
* 45001
* 50001
* 55000
* 56000
* 80000

* Category

Authority control databases

National|

* United States
* Israel

Other|

* Yale LUX

*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template