X3D file structure: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{stub}}
{{stub}}
{{under construction}}
{{X3D tutorial|none|beginner|}}
{{X3D tutorial|none|beginner|}}
== Introduction ==


X3D scene files have a common file structure:
X3D scene files have a common file structure:
Line 11: Line 14:
* X3D root node
* X3D root node
* X3D scene graph child nodes
* X3D scene graph child nodes
We shall shortly describe these elements below.
=== File and X3D header ===
X3D X3D has a modular architecture that includes four baseline profiles which are are predefined collections of components. In addition, authors can specify more precisely what components are needed. Components are predefined collections of nodes and match chapters in the specification.
This tells the X3D browser what level of support is needed for run-time operation
Each profile can be augmented by adding other components
* '''Interchange''' is the basic profile for communicating between applications. It support geometry, texturing, basic lighting, and animation
* '''Interactive''' enables basic interaction with a 3D environment by adding various sensor nodes for user navigation and interaction (e.g., PlanseSensor, TouchSensor, etc.), enhanced timing, and additional lighting (Spotlight, PointLight).
* '''Immersive''' enables full 3D graphics and interaction, including audio support, collision, fog, and scripting.
* '''Full''' includes all defined nodes including [http://en.wikipedia.org/wiki/Nonuniform_rational_B-spline NURBS], H-Anim (animated interactive [[Avatar]]s) and GeoSpatial components.
[[image:x3dprofiles.gif|frame|none|X3D Baseline Profiles: Source: [http://www.web3d.org/about/overview/ What is X3D?], retrieved 11:53, 26 August 2010 (UTC)]]
=== Profiles, components and Meta statements
=== The X3D scene graph ===





Revision as of 17:23, 4 October 2010

Draft

This article or section is currently under construction

In principle, someone is working on it and there should be a better version in a not so distant future.
If you want to modify this page, please discuss it with the person working on it (see the "history")

Introduction

X3D scene files have a common file structure:

  • File header (XML, ClassicVRML, Compressed Binary)
  • X3D header statement
  • Profile statement
  • Component statements (optional)
  • Meta statements (optional)
  • X3D root node
  • X3D scene graph child nodes

We shall shortly describe these elements below.

File and X3D header

X3D X3D has a modular architecture that includes four baseline profiles which are are predefined collections of components. In addition, authors can specify more precisely what components are needed. Components are predefined collections of nodes and match chapters in the specification.

This tells the X3D browser what level of support is needed for run-time operation

Each profile can be augmented by adding other components

  • Interchange is the basic profile for communicating between applications. It support geometry, texturing, basic lighting, and animation
  • Interactive enables basic interaction with a 3D environment by adding various sensor nodes for user navigation and interaction (e.g., PlanseSensor, TouchSensor, etc.), enhanced timing, and additional lighting (Spotlight, PointLight).
  • Immersive enables full 3D graphics and interaction, including audio support, collision, fog, and scripting.
  • Full includes all defined nodes including NURBS, H-Anim (animated interactive Avatars) and GeoSpatial components.
X3D Baseline Profiles: Source: What is X3D?, retrieved 11:53, 26 August 2010 (UTC)

=== Profiles, components and Meta statements

The X3D scene graph

Links

Credits and Copyright modificiation