3D viewing file format
Author: Graeme Gill

## 3D Viewing Format

Gamut and other 3D output visualisations can be created in one of 3 formats:
VRML
A legacy web 3D file format, using the .wrl file extension.
Either a standalone viewer of a web browser plugin is needed to view the file.
X3D
A current web 3D file format modeled after VRML, using the .x3d file extension.
Either a standalone viewer of a web browser plugin is needed to view the file.
X3DOM
An HTML file using a javascript viewer and an X3D scene, using the .x3d.html file extension.
Any web browser supporting javascript and WebGL can be used to display this.
By default ArgyllCMS tools will output X3DOM format, but the defaul can be overridden by setting the environment variable
"ARGYLL_3D_DISP_FORMAT" to "VRML", "X3D" or "X3DOM"
Note that the X3DOM file has references to the x3dom.css and x3dom.js support files in the same directory as the created .x3d.html file, and the tools will create a copy of these files in that directory if they don't exist. These two files must be copied with the .x3d.html if it is moved somewhere else.
To check if your browser supports X3DOM, try this test page.
X3DOM navigation in Web browser:

"Examine" - default viewing mode, which can be
re-activate this mode by pressing the "e" key.

Function | Mouse Button
--- | ---
Rotate | Left / Left + Shift
Pan | Mid / Left + Ctrl
Zoom | Right / Wheel / Left + Alt
Set center of rotation | Double-click left

Function | Key
--- | ---
Reset view | r
Show all | a
Upright | u