|"Internet media type||
3.3, 3.2, 3.1, 3.0["when?]
|Type of format||"3D computer graphics|
|Extended from||"VRML, "XML|
X3D is a "royalty-free "ISO standard for declaratively representing "3D computer graphics. "File format support includes "XML, ClassicVRML, Compressed Binary Encoding (CBE) and a draft "JSON encoding. It became the successor to the "Virtual Reality Modeling Language (VRML) in 2001. X3D features "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 formatting, and enhanced application programming interfaces ("APIs).
The X3D extension supports multi-stage and multi-texture rendering; it also supports shading with lightmap and normalmap. Starting in 2010, X3D has supported deferred rendering architecture. Now X3D can import SSAO, CSM and Realtime Environment Reflection/Lighting. The user can also use optimizations including BSP/QuadTree/OctTree or culling in the X3D scene.
X3D can work with other open source standards including XML, DOM and XPath.
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 the International Organization for Standardization ("ISO).
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.
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.
There are several applications, most of which are open-source software, which natively parse and interpret X3D files, including the 3D graphics and animation editor "Blender and the Sun Microsystems virtual world client "Project Wonderland. 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 (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, Multi-texture, Shader with HLSL and GLSL support, real-time Render To Texture, Multi Render Target (MRT) and post-processing. Many demos shows that X3D already supports lightmap, normalmap, SSAO, CSM and real-time environment reflection along with other virtual effects.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.2//EN" "http://www.web3d.org/specifications/x3d-3.2.dtd"> <X3D profile="Interchange" version="3.2" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation="http://www.web3d.org/specifications/x3d-3.2.xsd"> <Scene> <Shape> <IndexedFaceSet coordIndex="0 1 2"> <Coordinate point="0 0 0 1 0 0 0.5 1 0"/> </IndexedFaceSet> </Shape> </Scene> </X3D>
Also see Wikibooks: Computer_Programming/Hello_world/X3D