to X3D Resources
   

X3D Scene Authoring Hints

   
to Web3D home page

Don Brutzman (brutzman at nps.edu)

A collection of style guidelines, authoring tips and best practices to improve the quality, consistency and maintainability of X3D scenes.

Authoring | Coordinate Systems | Credits | Dates | HTML | Images and Movies | Inlines and Prototypes | License | Meshes | meta Tags | Naming Conventions | Resources | Scripts | URL Links | Validation | Viewpoints/Navigation | X3D-Edit | X3D for Web Authors | X3D Resources | Contact


Authoring practices

Coordinate systems for 3D

Credits

Dates

HTML

HTML is the publishing language of the World Wide Web. HTML web pages can embedd or launch X3D scenes.

Images and Movies

Inline Scenes and Prototype Templates

License

Meshes

meta tags

Naming Conventions

Naming of multiple similar autogenerated files: Concatenate the following name components as appropriate. Separate components by period characters, since underscores disappear as part of a url and since hyphens will break across a line.

General notes on naming conventions:

Scripts

URL Links

Validation using DTD and XML Schema

One of the biggest benefits of the .x3d file encoding is XML validation. XML checks for well-formed documents, DTD validation and schema validation greatly improve quality assurance (QA) for X3D scenes. This approach exposes many possible errors and helps authors eliminate Garbage In Garbage Out (GIGO) problems.

X3D Specifications: DTD and Schema Validation provides links to the latest approved DTDs, schemas and documentation.

The following sections provides detailed information on the proper file syntax for X3D DTD and XML Schema headers in an .x3d scene. Each version matches the corresponding X3D version (3.0 3.1 3.2 and 3.3). Thanks to X3D stability, each version is backwards compatible. For example, the X3D v3.2 DTD and schema will validate X3D v3.1 or v3.0 content, etc.

Viewpoints and Navigation


Contact

Updated: 26 February 2012
Maintained by Don Brutzman (brutzman at nps.edu). Comments & suggestions are welcome.
These hints were collected while teaching X3D Graphics and writing X3D for Web Authors.
Online at http://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html