1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
|
3 | <X3D profile='Immersive' version='3.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.xsd'> |
4 | <head> |
5 | <meta name='title' content=' GridsExample.x3d '/> |
6 | <meta name='creator' content='Don Brutzman'/> |
7 | <meta name='created' content='11 October 2001'/> |
8 | <meta name='modified' content='28 November 2019'/> |
9 | <meta name='description' content='Example showing all three line grid authoring tools to enable precise measurement of objects in 3D space. Select axis labels to drag any plane and move along axis, click numbers to hide individual grids.'/> |
10 |
<meta name='Image' content='GridsExample.png'![]() |
11 |
<meta name='Image' content='GridsExampleMeasurement.png'![]() |
12 |
<meta name='Image' content='GridsExampleWithGridsMoved.png'![]() |
13 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/GridsExample.x3d '/> |
14 | <meta name='generator' content='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
15 | <meta name='license' content='../../license.html'/> |
16 | </head> |
17 | <Scene> |
18 | <!-- Entry viewpoints --> |
19 | <WorldInfo title='GridsExample.x3d'/> |
20 | <Transform rotation='0 1 0 0.78' translation='15 12 15'> |
21 | <Viewpoint centerOfRotation='-15 -12 -15' description='Drag grids along center axes to measure shapes' orientation='1 0 0 -0.4'/> |
22 | </Transform> |
23 | <Transform rotation='0 1 0 -0.78' translation='-15 12 15'> |
24 | <Viewpoint centerOfRotation='15 -12 -15' description='Click numbers to hide a grid' orientation='1 0 0 -0.4'/> |
25 | </Transform> |
26 | <!-- Inline movable grid examples to use them in any scene --> |
27 | <Inline url=' "GridXY_20x20Movable.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/GridXY_20x20Movable.x3d" "GridXY_20x20Movable.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/GridXY_20x20Movable.wrl" '/> |
28 | <Inline url=' "GridXZ_20x20Movable.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/GridXZ_20x20Movable.x3d" "GridXZ_20x20Movable.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/GridXZ_20x20Movable.wrl" '/> |
29 | <Inline url=' "GridYZ_20x20Movable.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/GridYZ_20x20Movable.x3d" "GridYZ_20x20Movable.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/GridYZ_20x20Movable.wrl" '/> |
30 | <!-- Simple example scene --> |
31 | <Transform translation='0 -4 0'> |
32 | <Shape> |
33 | <Box size='4 12 8'/> |
34 | <Appearance> |
35 | <Material diffuseColor='0 1 0.5'/> |
36 | </Appearance> |
37 | </Shape> |
38 | </Transform> |
39 | <Transform translation='0 6 0'> |
40 | <Shape> |
41 | <Sphere radius='3'/> |
42 | <Appearance> |
43 | <Material diffuseColor='0 0.5 1'/> |
44 | </Appearance> |
45 | </Shape> |
46 | </Transform> |
47 | </Scene> |
48 | </X3D> |
<!--
Color-coding legend: X3D terminology
<X3dNode field='value'/>
matches XML terminology
<XmlElement attribute='value'/>
(Light-blue background: event-based behavior node or statement)
(Grey background inside box: inserted documentation)
(Magenta background: X3D Extensibility)
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->