X3D version 4.0 Development

From Web3D.org
Revision as of 18:53, 14 November 2017 by Walroy (Talk | contribs) (Candidate Capabilities)

Jump to: navigation, search

Genesis and Strategic Overview

Web3D Consortium working groups currently define specification goals and requirements. Working group efforts are often the focus for defining and testing new X3D components.

We publicly review these goals annually during Web3D Conference and SIGGRAPH Birds of a Feather (BOF) meetings (SIGGRAPH 2016, upcoming SIGGRAPH 2017).

Suggestions, development and discussion via the x3d-public mailing list is ongoing.

X3D version 3.4 Development efforts were evolutionary improvements to the widely proven X3D Graphics architecture. Consortium members decided to skip version 3.4 and go straight to version 4.0, prior goals and requirements have all been merged here.

The Candidate Capabilities list shows that a lot of interesting capabilities have been proposed and are under way for X3D version 4. However, topics on this list are not guaranteed to be completed! Rather these are all works in progress.

Activity and approval proceeds based on technical contributions and Web3D Consortium Member priorities. Please consider joining Web3D Consortium to help advance 3D graphics on the Web.These X3D version 4.0 Development efforts are considering potentially major additions to the baseline X3D architecture.

Please contact us if you think additional technologies need to be considered. X3D Futures planning is primarily a Web3D Consortium member-only activity, with community input.

Legacy Issues

We plan to confirm the existence of complete capabilities for X3D v3.3 prior to final approval of X3D version 4.

  • Full support for all existing X3D v3.3 components:
    • At least two compatible implementations (including at least one in open source) plus repeatable example scenes
    • Layer, ParticleSystems, RigidBodyPhysics, Shaders, TODO others
    • TransformSensor node: IGD and old Cortona
    • Note that it is not a requirement that all features and capabilities in X3D V3.3 are included in V4.0
  • Is it necessary for Layout component to be deprecated or improved?
  • Are there other features or capabilities that should not or are not able to move into V4.0?

Candidate Capabilities

Each of the following possibilities for X3D version 4 have been discussed by the various X3D working groups during meetings and on mailing lists. Each potential capability is considered to be a feasible (and in most cases, straightforward) addition to the existing X3D version 3.3 architecture.

  • Appearance
    • Images: recommended formats for imagery and video (.gif .bmp .flv .exr .hdr etc.) - details below:
      • GIF: "Graphics Interchange Format, Version 89a", W3C. 31 July 1990.
      • BMP: BMP. Note: Originally developed by Microsoft for OS/2 and Windows.
      • FLV: FLV and F4V usage has been deprecated by browser manufacturers.
      • EXR: EXR file layout, developed as OpenEXR by Industrial light and magic (ILM). This requires HDR (see below).
      • QR codes: QR codes, while useful in Mixed Augmented Reality (MAR) applications, are a content representation and not a file format.
    • SVG: Possible use of SVG for image generation on the fly. Images could be static or dynamic. See W3C Graphics on the web.
    • Materials: advanced parameters
    • HDR: Improvements in both materials and rendering for high definition rendering (HDR) technological advances.
    • Multitexture: review for correctness, completeness and conformance of rendering example scenes
    • Rendering: bump maps, shadows, edge smoothing, gamma correction, Non-Photorealistic Rendering (NPR)
    • Shaders: improved support and better interoperability, library of examples; CommonSurfaceShader?
    • Texturing: Texture atlas, projective texture mapping (PTM), RenderedTexture node for multipass rendering - 2D texture version of GeneratedCubeMapTexture, first proposed by Xj3D and also implemented in X3DOM and InstantReality, useful for all kinds of NPR, shadows, mirrors, etc. Also review 8-bit vs 24-bit texture application differences - see https://castle-engine.sourceforge.io/x3d_multi_texturing.php#section_default_texture_mode.
    • Chroma key for TextureProperties node to support special transparent background.
  • Audio and video: alignment with W3C Audio Working Group, especially for Web Audio API and Web Midi API. Adding royalty-free formats, streamability, disabling attenuation, 3D aural spatialization using reflection from simple geometry (such as RESOUND).
  • Computer Aided Design (CAD) Interactive Profile, to include:
  • ECMAScript (Javascript) specification revision compatibility with ECMAScript encoding; possibly add C# or Python support. Note that minor changes in the current X3D Script node might be needed to enable full integration into HTML/DOM.
  • Events
    • Review X3D event interoperability with other event models, such as Document Object Model (DOM) Recommendations
    • Add capability for Event logging and playback so that deterministic replay is possible for demonstrations and debugging
  • Generalized input/output interface support
  • Geometry: point size (or perspective rendering), progressive meshes (suitable for both compression and streaming), 3D ExtrudedText, support for Web typography using Web Open Fonts Format (WOFF)
  • Geospatial X3D component
  • Humanoid Animation (H-Anim) anatomical correctness for skeleton and skinning, motion capture (mocap) and playback, interchangeable avatars, animation for hands feet and faces
  • Interoperability: include class attribute for all nodes to all encodings
  • JSON: JavaScript Object Notation as an X3D encoding (assessment thread), relation to GlTF, streaming considerations
  • Medical working group capabilities
  • Mobile Profile. TODO - needed? Calling out a reduced palette for mobile devices remains interesting, but might instead remain a browser-optional optimization.
  • Metadata: support for embedding information useful for applications utilizing X3D
    • Enumerated types: better access, typing, naming, and validation than using MetadataSet/MetadataString combinations
  • Mixed and Augmented Reality (MAR): follow ISO MAR Reference Model, integrate multiple capabilities with devices situated in real world
  • Networking: consider NetworkSensor and event-passing issues, streaming using JSON, server-side 3D topics
  • Security and privacy:
    • Include X3D Networking Component Level 4 support for https in Immersive, Interactive and other commonly used profiles
    • Review X3D specifications to ensure that Security Considerations are fully documented throughout in every component
    • XML Security provides best-available encryption, digital signature (authentication)
    • Web Privacy: examine X3D compatibility with Do Not Track, P3P, POWDER
  • Viewing and navigation: cinematic camera control, alternative navigation types (such as PAN, TURNTABLE etc.), Recommended navigation behaviours review, and old MatrixTransform node (esp. useful for CAD, VR/AR etc., implemented in X3DOM and InstantReality)
  • Virtual Reality (VR): requirements definition needed includes viewing with stereo devices, interocular distance, frame-rate requirements, comparison (and potential profile) for WebVR capabilities, physiological considerations, health and safety, relation with Mixed Augmented Reality (MAR), etc.

All suggestions and recommendations are welcome. Component improvements and additions are approved by Web3D Consortium members.

  • TODO: Which experimental nodes are ready? Candidates include Fraunhofer, X3DOM, Cobweb, other members and working groups?
  • TODO: articulate Big Data and Cloud, server-side visualization, related issues.

Please contact us if you think additional technologies need to be considered.

Backwards and Forwards Compatibility

A major benefit of using the X3D standard is full backwards compatibility with prior VRML97 and X3D content. Thanks to careful design and insistence on implementation/evaluation, the X3D International Standard has maintained both steady growth and interoperability ever since Virtual Reality Modeling Language (VRML) in 1997. This track record of stability and innovation is among the best in the 3D graphics industry.

Our goal is to maximize, but not necessarily require, backwards compatibility in version 4.0 with the version 3.x specifications

  • A great majority of X3D nodes and features are likely achievable without change
  • Some X3D features may require import/export conversion for compatibility (event model reconciliation, ROUTEs and sensors perhaps)
  • A few features might be refactored, deprecated or obsoleted (none yet identified)
  • Name deconfliction: HTML Script versus embedded X3D Script

The comprehensive forward compatibility of VRML97 and X3D with later-developed X3D versions shows that careful anticipatory design is achievable.

X3D version 4.0 Development efforts are currently focused on HTML5, Declarative 3D, X3DOM, and Cobweb with many more issues under consideration.

X3D Version 4.1 is focused on Mixed and Augmented Reality (MAR) capabilities, which may also require architectural changes. Some new technologies may get pushed from 4.0 to 4.1 (or back again) after careful consideration by the respective working groups.

Related specification support and changes

Architectural Considerations

This section will synopsize significant differences between X3D version 4 and X3D version 3 that may require structural changes in tools and scenes. Special attention is needed to minimize incompatibilities with legacy software and content.

Much depends on the target environment. X3D V3.x presumes a controlled environment that interacts with the rest of the (computing) world through a well defined API (called SAI). When X3D is running in the browser (as in fully integrated with the DOM), the DOM defines a portion of the environment in which X3D must operate. For that environment it will be necessary to make changes to X3D so that it is compatible with the DOM.

Open Questions

  • Are MAR abstract design and X3D AR proposals sufficiently mature to enable integration with HTML5/Declarative 3D/X3DOM/Cobweb issues?
  • Are the previously X3D Layer/Layering components compatible with HTML5 overlay model? Are they still needed, perhaps for multiscreen or CAVE support?
  • Mashup and interoperability support: is anything else needed for broader use with the Web? YouTube etc.

Related Work

Much careful planning is involved, we are working to ensure that X3D version 4 can be coherently advanced in combination with a coordinated set of steadily evolving ISO/IEC standards.

  • X3D Efficient Binary Encoding (EBE). This work is proceeding in parallel. X3D version 4 must maintain compatibility with all encodings. See also SRC format (Web3D 2014)and ExternalGeometry node in InstantPlayer and X3DOM
  • X3D JavaScript Object Notation (JSON) Encoding. This work is proceeding in parallel. X3D version 4 must maintain compatibility with all encodings.
  • X3D version 4.0 (HTML5/X3D DOM). This work is proceeding in parallel. X3D version 4 support is expected.
  • X3D version 4.1 (Mixed and Augmented Reality). Nodes and capabilities in this arena will build on v4.0 and HTML5. Experimentation, evolution and evaluation occurs throughout.

Technologies and activities that relate to X3D version 4 are:

  • WebVR "bringing virtual reality to the web" - standardize the interface to VR displays and controllers
  • W3C's Declarative WebVR Community Group formed to developed a declarative 3D standard for WebVR
  • three.js, a JavaScript library
  • A-Frame "a web framework for building virtual reality experiences"
  • XML3D " seamless integration of 3D content into HTML pages"

Schedule

ISO Considerations

  • Deciding readiness for ISO New Work Item Proposal (NWIP): we need Committee Draft (CD) specification prose for each planned capability.
  • Web3D Consortium is not locked into an annual schedule, ISO handling is flexible.
  • Once the NWIP is approved, ISO rules for schedule and review are established.

Execution goals

  • Review progress during monthly calls, Web3D Conference, and SIGGRAPH Conference.
  • We are continuing a monthly review schedule for submissions so that we can build out X3D version 4 one component at a time.
  • We are planning to have a 1-year deadline for completion of CD specification prose, rather than wait until all possible version 4 work is ready.
  • Web3D Consortium members and public review when a final draft specification is ready to proceed to ISO.
  • Any new components not meeting Web3D deadlines might be a candidate for deferral to V4.1. Or considered not ready.

Progress

  • Active development of X3D, X3DOM and Cobweb content is tracking HTML 5 capabilities now
  • We participate and contribute to the W3C Community Group for Declarative 3D