| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>3D viewing file format</title> |
| 5 | <meta http-equiv="content-type" content="text/html; |
| 6 | charset=windows-1252"> |
| 7 | <meta name="author" content="Graeme Gill"> |
| 8 | </head> |
| 9 | <body> |
| 10 | <h2><b>3D Viewing Format<br> |
| 11 | </b></h2> |
| 12 | Gamut and other 3D output visualisations can be created in one of 3 |
| 13 | formats:<br> |
| 14 | <br> |
| 15 | <b>VRML</b><br> |
| 16 | A legacy web 3D file format, using the <b>.wrl</b> |
| 17 | file extension.<br> |
| 18 | Either a standalone viewer of a web browser |
| 19 | plugin is needed to view the file.<br> |
| 20 | <br> |
| 21 | <b>X3D</b><br> |
| 22 | A current web 3D file format modeled after VRML, |
| 23 | using the <b>.x3d</b> file extension.<br> |
| 24 | Either a standalone viewer of a web browser |
| 25 | plugin is needed to view the file.<br> |
| 26 | <br> |
| 27 | <b>X3DOM</b><br> |
| 28 | An HTML file using a javascript viewer and an X3D |
| 29 | scene, using the <b>.x3d.html</b> file extension.<br> |
| 30 | Any web browser supporting javascript and WebGL |
| 31 | can be used to display this.<br> |
| 32 | <br> |
| 33 | By default ArgyllCMS tools will output X3DOM format, but the defaul |
| 34 | can be overridden by setting the environment variable<br> |
| 35 | <b>"ARGYLL_3D_DISP_FORMAT"</b> to <b>"VRML"</b>, <b>"X3D"</b> or <b>"X3DOM"</b><br> |
| 36 | <br> |
| 37 | Note that the X3DOM file has references to the x3dom.css and |
| 38 | x3dom.js support files in the same directory as the created |
| 39 | .x3d.html file, and the tools will create a copy of these files in |
| 40 | that directory if they don't exist. These two files must be copied |
| 41 | with the .x3d.html if it is moved somewhere else.<br> |
| 42 | <br> |
| 43 | To check if your browser supports X3DOM, try <a |
| 44 | href="http://www.x3dom.org/check/">this test page</a>.<br> |
| 45 | <br> |
| 46 | X3DOM navigation in Web browser:<br> |
| 47 | <p>"Examine" - default viewing mode, which can be<br> |
| 48 | re-activate this mode by pressing the "e" key.</p> |
| 49 | <table style="border-collapse:collapse" border="1" width="350px"> |
| 50 | <tbody> |
| 51 | <tr> |
| 52 | <th>Function</th> |
| 53 | <th>Mouse Button</th> |
| 54 | </tr> |
| 55 | </tbody><tbody> |
| 56 | <tr> |
| 57 | <td>Rotate</td> |
| 58 | <td>Left / Left + Shift</td> |
| 59 | </tr> |
| 60 | <tr> |
| 61 | <td>Pan</td> |
| 62 | <td>Mid / Left + Ctrl</td> |
| 63 | </tr> |
| 64 | <tr> |
| 65 | <td>Zoom</td> |
| 66 | <td>Right / Wheel / Left + Alt</td> |
| 67 | </tr> |
| 68 | <tr> |
| 69 | <td>Set center of rotation</td> |
| 70 | <td>Double-click left</td> |
| 71 | </tr> |
| 72 | </tbody> |
| 73 | </table> |
| 74 | <br> |
| 75 | <br> |
| 76 | <table style="border-collapse:collapse" border="1" width="350px"> |
| 77 | <thead><tr> |
| 78 | <th>Function</th> |
| 79 | <th>Key</th> |
| 80 | </tr> |
| 81 | </thead> <tbody> |
| 82 | <tr> |
| 83 | <td>Reset view</td> |
| 84 | <td>r</td> |
| 85 | </tr> |
| 86 | <tr> |
| 87 | <td>Show all</td> |
| 88 | <td>a</td> |
| 89 | </tr> |
| 90 | <tr> |
| 91 | <td>Upright</td> |
| 92 | <td>u</td> |
| 93 | </tr> |
| 94 | </tbody> |
| 95 | </table> |
| 96 | <br> |
| 97 | <br> |
| 98 | <br> |
| 99 | <br> |
| 100 | <br> |
| 101 | <br> |
| 102 | <br> |
| 103 | <br> |
| 104 | <br> |
| 105 | <br> |
| 106 | <br> |
| 107 | </body> |
| 108 | </html> |