| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
|
| 3 | <X3D profile='Immersive' version='3.3' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.3.xsd'> |
| 4 | <head> |
| 5 | <meta name='title' content=' GridXZPrototype.x3d '/> |
| 6 | <meta name='creator' content='Don Brutzman'/> |
| 7 | <meta name='created' content='2 February 2003'/> |
| 8 | <meta name='modified' content='28 November 2019'/> |
| 9 | <meta name='description' content='Line grid authoring tool to enable precise measurement of objects in 3D space - fixed position. Oriented along XZ plane, size 20m by 20m, default block size 1m by 1m.'/> |
| 10 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/GridXZPrototype.x3d '/> |
| 11 | <meta name='generator' content='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 12 | <meta name='license' content='../../license.html'/> |
| 13 | </head> |
| 14 | <Scene> |
| 15 | <WorldInfo title='GridXZPrototype.x3d'/> |
| 16 | <ProtoDeclare name='GridXZ' appinfo='Line grid authoring tool to enable precise measurement of objects in 3D space - fixed position. Oriented along XZ plane size 20m by 20m.'> |
| 17 | <ProtoInterface> |
| 18 |
<field name='description' type='SFString' value='GridXZ' accessType='initializeOnly'
appinfo='Purpose of this grid displayed for overall Viewpoint'/> |
| 19 |
<field name='labelColor' type='SFColor' value='1 1 1' accessType='inputOutput'
appinfo='color for descriptive labels at grid edges and corners'/> |
| 20 |
<field name='scale' type='SFVec3f' value='1 1 1' accessType='inputOutput'
appinfo='default unscaled size: 10m by 10m'/> |
| 21 |
<field name='labelsOffset' type='SFVec3f' value='0 -0.5 0' accessType='inputOutput'
appinfo='label location offset (in meters) to improve readability'/> |
| 22 | <field name='originLabel' type='MFString' value='"origin" "0 0 0"' accessType='inputOutput'/> |
| 23 |
<field name='NorthLabel' type='MFString' value='"North" "-Z"' accessType='inputOutput'
appinfo='-Z axis'/> |
| 24 | <field name='NorthEastLabel' type='MFString' value='"10 0 -10"' accessType='inputOutput'/> |
| 25 |
<field name='EastLabel' type='MFString' value='"East" "+X"' accessType='inputOutput'
appinfo='+X axis'/> |
| 26 | <field name='SouthEastLabel' type='MFString' value='"10 0 10"' accessType='inputOutput'/> |
| 27 |
<field name='SouthLabel' type='MFString' value='"South" "+Z"' accessType='inputOutput'
appinfo='+Z axis'/> |
| 28 | <field name='SouthWestLabel' type='MFString' value='"-10 0 10"' accessType='inputOutput'/> |
| 29 |
<field name='WestLabel' type='MFString' value='"West" "-X"' accessType='inputOutput'
appinfo='-X axis'/> |
| 30 | <field name='NorthWestLabel' type='MFString' value='"-10 0 -10"' accessType='inputOutput'/> |
| 31 | </ProtoInterface> |
| 32 | <ProtoBody> |
| 33 | <Transform DEF='GridLocation'> |
| 34 | <IS> |
| 35 | <connect nodeField='scale' protoField='scale'/> |
| 36 | </IS> |
| 37 | <Viewpoint orientation='1 0 0 -0.4' position='0 10 25'> |
| 38 | <IS> |
| 39 | <connect nodeField='description' protoField='description'/> |
| 40 | </IS> |
| 41 | </Viewpoint> |
| 42 | <Group DEF='Liines'> |
| 43 |
<!-- Shape
LinesAlignedAlongZ is a DEF node that has 1 USE node: USE_1 -->
<Shape DEF='LinesAlignedAlongZ'> |
| 44 | <IndexedLineSet colorPerVertex='false' colorIndex='1 0 0 0 0 2 0 0 0 0 1 0 0 0 0 2 0 0 0 0 1' coordIndex='1 22 -1 2 23 -1 3 24 -1 4 25 -1 5 26 -1 6 27 -1 7 28 -1 8 29 -1 9 30 -1 10 31 -1 11 32 -1 12 33 -1 13 34 -1 14 35 -1 15 36 -1 16 37 -1 17 38 -1 18 39 -1 19 40 -1 20 41 -1 21 42 -1'> |
| 45 | <Coordinate DEF='EndPoints' point='0 0 0 -10 0 10 -9 0 10 -8 0 10 -7 0 10 -6 0 10 -5 0 10 -4 0 10 -3 0 10 -2 0 10 -1 0 10 0 0 10 1 0 10 2 0 10 3 0 10 4 0 10 5 0 10 6 0 10 7 0 10 8 0 10 9 0 10 10 0 10 -10 0 -10 -9 0 -10 -8 0 -10 -7 0 -10 -6 0 -10 -5 0 -10 -4 0 -10 -3 0 -10 -2 0 -10 -1 0 -10 0 0 -10 1 0 -10 2 0 -10 3 0 -10 4 0 -10 5 0 -10 6 0 -10 7 0 -10 8 0 -10 9 0 -10 10 0 -10'/> |
| 46 | <Color color='0.4 0.4 0.4 0.8 0.2 0 0.4 0.1 0.05'/> |
| 47 | </IndexedLineSet> |
| 48 | </Shape> |
| 49 | <Transform DEF='LinesAlignedAlongX' rotation='0 1 0 1.57079'> |
| 50 | <Shape USE='LinesAlignedAlongZ'/> |
| 51 | </Transform> |
| 52 | </Group> |
| 53 | <Transform DEF='LabelsOffset'> |
| 54 | <IS> |
| 55 | <connect nodeField='translation' protoField='labelsOffset'/> |
| 56 | </IS> |
| 57 | <Transform DEF='Origin' translation='0 -0.5 0'> |
| 58 | <Billboard> |
| 59 | <Shape> |
| 60 | |
| 61 | <Material> |
| 62 | <IS> |
| 63 | <connect nodeField='diffuseColor' protoField='labelColor'/> |
| 64 | </IS> |
| 65 | </Material> |
| 66 | </Appearance> |
| 67 | <Text DEF='OriginText'> |
| 68 | <IS> |
| 69 | <connect nodeField='string' protoField='originLabel'/> |
| 70 | </IS> |
| 71 | |
| 72 | </Text> |
| 73 | </Shape> |
| 74 | </Billboard> |
| 75 | </Transform> |
| 76 | <Transform DEF='North' translation='0 -0.5 -10'> |
| 77 | <Billboard> |
| 78 | <Shape> |
| 79 | <Appearance USE='LabelAppearance'/> |
| 80 | <Text DEF='NorthText'> |
| 81 | <IS> |
| 82 | <connect nodeField='string' protoField='NorthLabel'/> |
| 83 | </IS> |
| 84 | <FontStyle USE='LabelFont'/> |
| 85 | </Text> |
| 86 | </Shape> |
| 87 | </Billboard> |
| 88 | </Transform> |
| 89 | <Transform DEF='NorthEast' translation='10 -0.5 -10'> |
| 90 | <Billboard> |
| 91 | <Shape> |
| 92 | <Appearance USE='LabelAppearance'/> |
| 93 | <Text DEF='NorthEastText'> |
| 94 | <IS> |
| 95 | <connect nodeField='string' protoField='NorthEastLabel'/> |
| 96 | </IS> |
| 97 | <FontStyle USE='LabelFont'/> |
| 98 | </Text> |
| 99 | </Shape> |
| 100 | </Billboard> |
| 101 | </Transform> |
| 102 | <Transform DEF='East' translation='10 -0.5 0'> |
| 103 | <Billboard> |
| 104 | <Shape> |
| 105 | <Appearance USE='LabelAppearance'/> |
| 106 | <Text DEF='EastText'> |
| 107 | <IS> |
| 108 | <connect nodeField='string' protoField='EastLabel'/> |
| 109 | </IS> |
| 110 | <FontStyle USE='LabelFont'/> |
| 111 | </Text> |
| 112 | </Shape> |
| 113 | </Billboard> |
| 114 | </Transform> |
| 115 | <Transform DEF='SouthEast' translation='10 -0.5 10'> |
| 116 | <Billboard> |
| 117 | <Shape> |
| 118 | <Appearance USE='LabelAppearance'/> |
| 119 | <Text DEF='SouthEastText'> |
| 120 | <IS> |
| 121 | <connect nodeField='string' protoField='SouthEastLabel'/> |
| 122 | </IS> |
| 123 | <FontStyle USE='LabelFont'/> |
| 124 | </Text> |
| 125 | </Shape> |
| 126 | </Billboard> |
| 127 | </Transform> |
| 128 | <Transform DEF='South' translation='0 -0.5 10'> |
| 129 | <Billboard> |
| 130 | <Shape> |
| 131 | <Appearance USE='LabelAppearance'/> |
| 132 | <Text DEF='SouthText'> |
| 133 | <IS> |
| 134 | <connect nodeField='string' protoField='SouthLabel'/> |
| 135 | </IS> |
| 136 | <FontStyle USE='LabelFont'/> |
| 137 | </Text> |
| 138 | </Shape> |
| 139 | </Billboard> |
| 140 | </Transform> |
| 141 | <Transform DEF='SouthWest' translation='-10 -0.5 10'> |
| 142 | <Billboard> |
| 143 | <Shape> |
| 144 | <Appearance USE='LabelAppearance'/> |
| 145 | <Text DEF='SouthWestText'> |
| 146 | <IS> |
| 147 | <connect nodeField='string' protoField='SouthWestLabel'/> |
| 148 | </IS> |
| 149 | <FontStyle USE='LabelFont'/> |
| 150 | </Text> |
| 151 | </Shape> |
| 152 | </Billboard> |
| 153 | </Transform> |
| 154 | <Transform DEF='West' translation='-10 -0.5 0'> |
| 155 | <Billboard> |
| 156 | <Shape> |
| 157 | <Appearance USE='LabelAppearance'/> |
| 158 | <Text DEF='WestText'> |
| 159 | <IS> |
| 160 | <connect nodeField='string' protoField='WestLabel'/> |
| 161 | </IS> |
| 162 | <FontStyle USE='LabelFont'/> |
| 163 | </Text> |
| 164 | </Shape> |
| 165 | </Billboard> |
| 166 | </Transform> |
| 167 | <Transform DEF='NorthWest' translation='-10 -0.5 -10'> |
| 168 | <Billboard> |
| 169 | <Shape> |
| 170 | <Appearance USE='LabelAppearance'/> |
| 171 | <Text DEF='NorthWestText'> |
| 172 | <IS> |
| 173 | <connect nodeField='string' protoField='NorthWestLabel'/> |
| 174 | </IS> |
| 175 | <FontStyle USE='LabelFont'/> |
| 176 | </Text> |
| 177 | </Shape> |
| 178 | </Billboard> |
| 179 | </Transform> |
| 180 | </Transform> |
| 181 | </Transform> |
| 182 | </ProtoBody> |
| 183 | </ProtoDeclare> |
| 184 | <Anchor description='GridXZ Example' url=' "GridXZExample.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/GridXZExample.x3d" "GridXZExample.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/GridXZExample.wrl" '> |
| 185 | <Shape> |
| 186 | <Appearance> |
| 187 | <Material diffuseColor='0 1 1' emissiveColor='0 1 1'/> |
| 188 | </Appearance> |
| 189 | <Text string='"GridXZPrototype" "is a Prototype definition file." "" "To see an example scene" "click this text and view" "GridXZExample."'> |
| 190 | <FontStyle justify='"MIDDLE" "MIDDLE"'/> |
| 191 | </Text> |
| 192 | </Shape> |
| 193 | </Anchor> |
| 194 | </Scene> |
| 195 | </X3D> |
Event Graph ROUTE Table with 0 ROUTE connections total, showing X3D event-model relationships for this scene.
Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.
| line 184
Anchor |
description='GridXZ Example' User-interaction hint for this node. |
<!--
Color-coding legend: X3D terminology
<X3dNode
DEF='idName' field='value'/>
matches XML terminology
<XmlElement
DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement)
(Grey background inside box: inserted documentation)
(Magenta background: X3D Extensibility)
<ProtoDeclare name='ProtoName'>
<field
name='fieldName'/> </ProtoDeclare>
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->