X3D

From Wikipedia, the free encyclopedia

Jump to: navigation, search
Extensible 3D (X3D) Graphics
Filename extension .x3dv, .x3d, .x3db
z finalizes extension when gzipped
Internet media type model/x3d+vrml
model/x3d+xml
model/x3d+binary
Latest release 3.2, 3.1, 3.0
Type of format 3D computer graphics
Extended from VRML, XML
Standard(s) ISO/IEC 19775
Website www.web3d.org/x3d

X3D is the ISO standard XML-based file format for representing 3D computer graphics, the successor to the Virtual Reality Modeling Language (VRML).[1] X3D features extensions to VRML (e.g. Humanoid Animation, NURBS, GeoVRML etc.), the ability to encode the scene using an XML syntax as well as the Open Inventor-like syntax of VRML97, and enhanced application programming interfaces (APIs).

Contents

[edit] Example X3D document

<?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='Immersive' version='3.0'   xmlns:xsd='[http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance]'
                     xsd:noNamespaceSchemaLocation='[http://www.web3d.org/specifications/x3d-3.2.xsd http://www.web3d.org/specifications/x3d-3.2.xsd]'>
 <head>
   <meta content='[http://www.web3d.org/x3d/content/examples/HelloWorld.x3d HelloWorld.x3d]' name='title'/>
   <meta content='Simple X3D example' name='description'/>
   <meta content='30 October 2000' name='created'/>
   <meta content='11 October 2008' name='modified'/>
   <meta content='Don Brutzman' name='creator'/>
   <meta content='[http://www.web3d.org/x3d/content/examples/HelloWorld.x3d http://www.web3d.org/x3d/content/examples/HelloWorld.x3d]' name='identifier'/>
   <meta content='[http://www.web3d.org/x3d/content/examples/HelloWorldTall.png http://www.web3d.org/x3d/content/examples/HelloWorldTall.png]' name='image'/>
   <meta content='[http://www.web3d.org/x3d/content/examples/license.html http://www.web3d.org/x3d/content/examples/license.html]' name='license'/>
   <meta content='X3D-Edit 3.2, [https://savage.nps.edu/X3D-Edit https://savage.nps.edu/X3D-Edit]' name='generator'/>
 </head>
 <Scene>
   <!-- Example scene to illustrate X3D nodes and fields (XML elements and attributes) -->
   <Group>
     <Viewpoint centerOfRotation='0 -1 0' description='Hello world!' position='0 -1 7'/>
     <Transform rotation='0 1 0 3'>
       <Shape>
         <Sphere/>
         <Appearance>
           <Material diffuseColor='0 0.5 1'/>
           <ImageTexture url='"[http://www.web3d.org/x3d/content/examples/Basic/earth-topo.png earth-topo.png]" "[http://www.web3d.org/x3d/content/examples/Basic/earth-topo.jpg earth-topo.jpg]" "[http://www.web3d.org/x3d/content/examples/Basic/earth-topo-small.gif earth-topo-small.gif]" 
             "http://www.web3d.org/x3d/content/examples/Basic/earth-topo.png" 
             "http://www.web3d.org/x3d/content/examples/Basic/earth-topo.jpg" 
             "http://www.web3d.org/x3d/content/examples/Basic/earth-topo-small.gif"'/>
         </Appearance>
       </Shape>
     </Transform>
     <Transform translation='0 -2 0'>
       <Shape>
         <Text solid='false' string='"Hello" "world!"'>
           <FontStyle justify='"MIDDLE" "MIDDLE"'/>
         </Text>
         <Appearance>
           <Material diffuseColor='0.1 0.5 1'/>
         </Appearance>
       </Shape>
     </Transform>
   </Group>
 </Scene>
</X3D>

[edit] Standardization

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.

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).

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.[2]

[edit] Applications

There are several applications, most of them being open source software, which natively parse and interpret X3D files, including the 3D graphics and animation editor Blender3D and the Sun Microsystems virtual world client Project Wonderland. However, it has not received a wider ground of acceptance in other, more notable and proprietary software applications[citation needed].

[edit] Alternatives

[edit] See also

[edit] References

[edit] External links

[edit] General

[edit] Documentation

Personal tools