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=' RunningLightsExample.x3d '/> |
6 | <meta name='creator' content='Andrew Wiest'/> |
7 | <meta name='created' content='6 May 2001'/> |
8 | <meta name='modified' content='20 October 2019'/> |
9 | <meta name='description' content='Example for using the ship RunningLights prototype.'/> |
10 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/RunningLights/RunningLightsExample.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 | <!-- This node provides standard running lights for vessels > 50 meters in length --> |
16 | <ExternProtoDeclare name='RunningLights' url=' "../../ShipsMilitary/RunningLights/RunningLightsPrototype.x3d#RunningLights" "https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/RunningLights/RunningLightsPrototype.x3d#RunningLights" "../../ShipsMilitary/RunningLights/RunningLightsPrototype.wrl#RunningLights" "https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/RunningLights/RunningLightsPrototype.wrl#RunningLights" '> |
17 | <field name='StbdRunningLightPosition' type='SFVec3f' accessType='initializeOnly'/> |
18 | <field name='StbdRunningLightScale' type='SFVec3f' accessType='initializeOnly'/> |
19 | <field name='StbdRunningLightOnOffSwitch' type='SFColor' accessType='initializeOnly'/> |
20 | <field name='SternLightPosition' type='SFVec3f' accessType='initializeOnly'/> |
21 | <field name='SternLightScale' type='SFVec3f' accessType='initializeOnly'/> |
22 | <field name='WhiteRunningLightOnOffSwitch' type='SFColor' accessType='initializeOnly'/> |
23 | <field name='PortRunningLightPosition' type='SFVec3f' accessType='initializeOnly'/> |
24 | <field name='PortRunningLightScale' type='SFVec3f' accessType='initializeOnly'/> |
25 | <field name='PortRunningLightOnOffSwitch' type='SFColor' accessType='initializeOnly'/> |
26 | <field name='LowerMastHeadLightPosition' type='SFVec3f' accessType='initializeOnly'/> |
27 | <field name='LowerMastHeadLightScale' type='SFVec3f' accessType='initializeOnly'/> |
28 | <field name='UpperMastHeadLightPosition' type='SFVec3f' accessType='initializeOnly'/> |
29 | <field name='UpperMastHeadLightScale' type='SFVec3f' accessType='initializeOnly'/> |
30 | <field name='FwdAnchorLightPosition' type='SFVec3f' accessType='initializeOnly'/> |
31 | <field name='FwdAnchorLightScale' type='SFVec3f' accessType='initializeOnly'/> |
32 | <field name='AnchorLightsOnOffSwitch' type='SFColor' accessType='initializeOnly'/> |
33 | <field name='AftAnchorLightPosition' type='SFVec3f' accessType='initializeOnly'/> |
34 | <field name='AftAnchorLightScale' type='SFVec3f' accessType='initializeOnly'/> |
35 | </ExternProtoDeclare> |
36 | <!-- Example scene using the ProtoDeclaration follows --> |
37 | <Background skyColor='.2 .2 .2'/> |
38 | <NavigationInfo headlight='false' speed='1000' type='"WALK" "EXAMINE" "ANY"'/> |
39 | <Viewpoint description='100m Running Lights' orientation='0 1 0 1.571' position='100 2 0'/> |
40 | <LOD range='10000'> |
41 | <Group> |
42 | <Viewpoint description='1000m Running Lights' orientation='0 1 0 1.571' position='1000 2 0'/> |
43 | <Viewpoint description='2000m Running Lights' orientation='0 1 0 1.571' position='2000 2 0'/> |
44 | <Viewpoint description='3000m Running Lights' orientation='0 1 0 1.571' position='3000 2 0'/> |
45 | <Viewpoint description='4000m Running Lights' orientation='0 1 0 1.571' position='4000 2 0'/> |
46 | <Viewpoint description='5000m Running Lights' orientation='0 1 0 1.571' position='5000 2 0'/> |
47 | </Group> |
48 | <WorldInfo info='"null node - hide all viewpoints outside 10,000m"'/> |
49 | </LOD> |
50 | <Viewpoint description='6000m Running Lights' orientation='0 1 0 1.571' position='6000 2 0'/> |
51 | <LOD DEF='CopyThisNode' range='1000 2000 3000 4000 5000 6000'> |
52 | <Transform DEF='UpTo1000yds'> |
53 | <ProtoInstance name='RunningLights'> |
54 | <fieldValue name='StbdRunningLightPosition' value='0 0 10'/> |
55 | <fieldValue name='StbdRunningLightScale' value='6 6 6'/> |
56 | <fieldValue name='StbdRunningLightOnOffSwitch' value='0 1 0'/> |
57 | <fieldValue name='SternLightPosition' value='-10 0 0'/> |
58 | <fieldValue name='SternLightScale' value='6 6 6'/> |
59 | <fieldValue name='WhiteRunningLightOnOffSwitch' value='1 1 1'/> |
60 | <fieldValue name='PortRunningLightPosition' value='0 0 -10'/> |
61 | <fieldValue name='PortRunningLightScale' value='6 6 6'/> |
62 | <fieldValue name='PortRunningLightOnOffSwitch' value='1 0 0'/> |
63 | <fieldValue name='LowerMastHeadLightPosition' value='10 10 0'/> |
64 | <fieldValue name='LowerMastHeadLightScale' value='6 6 6'/> |
65 | <fieldValue name='UpperMastHeadLightPosition' value='0 20 0'/> |
66 | <fieldValue name='UpperMastHeadLightScale' value='1 1 1'/> |
67 | <fieldValue name='FwdAnchorLightPosition' value='30 0 0'/> |
68 | <fieldValue name='FwdAnchorLightScale' value='6 6 6'/> |
69 | <fieldValue name='AnchorLightsOnOffSwitch' value='0 0 0'/> |
70 | <fieldValue name='AftAnchorLightPosition' value='-10 10 0'/> |
71 | <fieldValue name='AftAnchorLightScale' value='1 1 1'/> |
72 | </ProtoInstance> |
73 | </Transform> |
74 | <Transform DEF='UpTo2000yds'> |
75 | <ProtoInstance name='RunningLights'> |
76 | <fieldValue name='StbdRunningLightPosition' value='0 0 10'/> |
77 | <fieldValue name='StbdRunningLightScale' value='13 13 13'/> |
78 | <fieldValue name='StbdRunningLightOnOffSwitch' value='0 1 0'/> |
79 | <fieldValue name='SternLightPosition' value='-10 0 0'/> |
80 | <fieldValue name='SternLightScale' value='12 12 12'/> |
81 | <fieldValue name='WhiteRunningLightOnOffSwitch' value='1 1 1'/> |
82 | <fieldValue name='PortRunningLightPosition' value='0 0 -10'/> |
83 | <fieldValue name='PortRunningLightScale' value='13 13 13'/> |
84 | <fieldValue name='PortRunningLightOnOffSwitch' value='1 0 0'/> |
85 | <fieldValue name='LowerMastHeadLightPosition' value='10 10 0'/> |
86 | <fieldValue name='LowerMastHeadLightScale' value='13 13 13'/> |
87 | <fieldValue name='UpperMastHeadLightPosition' value='0 20 0'/> |
88 | <fieldValue name='UpperMastHeadLightScale' value='1 1 1'/> |
89 | <fieldValue name='FwdAnchorLightPosition' value='30 0 0'/> |
90 | <fieldValue name='FwdAnchorLightScale' value='13 13 13'/> |
91 | <fieldValue name='AnchorLightsOnOffSwitch' value='0 0 0'/> |
92 | <fieldValue name='AftAnchorLightPosition' value='-10 10 0'/> |
93 | <fieldValue name='AftAnchorLightScale' value='1 1 1'/> |
94 | </ProtoInstance> |
95 | </Transform> |
96 | <Transform DEF='UpTo3000Yds'> |
97 | <ProtoInstance name='RunningLights'> |
98 | <fieldValue name='StbdRunningLightPosition' value='0 0 10'/> |
99 | <fieldValue name='StbdRunningLightScale' value='20 20 20'/> |
100 | <fieldValue name='StbdRunningLightOnOffSwitch' value='0 1 0'/> |
101 | <fieldValue name='SternLightPosition' value='-10 0 0'/> |
102 | <fieldValue name='SternLightScale' value='20 20 20'/> |
103 | <fieldValue name='WhiteRunningLightOnOffSwitch' value='1 1 1'/> |
104 | <fieldValue name='PortRunningLightPosition' value='0 0 -10'/> |
105 | <fieldValue name='PortRunningLightScale' value='20 20 20'/> |
106 | <fieldValue name='PortRunningLightOnOffSwitch' value='1 0 0'/> |
107 | <fieldValue name='LowerMastHeadLightPosition' value='10 10 0'/> |
108 | <fieldValue name='LowerMastHeadLightScale' value='20 20 20'/> |
109 | <fieldValue name='UpperMastHeadLightPosition' value='0 20 0'/> |
110 | <fieldValue name='UpperMastHeadLightScale' value='1 1 1'/> |
111 | <fieldValue name='FwdAnchorLightPosition' value='30 0 0'/> |
112 | <fieldValue name='FwdAnchorLightScale' value='20 20 20'/> |
113 | <fieldValue name='AnchorLightsOnOffSwitch' value='0 0 0'/> |
114 | <fieldValue name='AftAnchorLightPosition' value='-10 10 0'/> |
115 | <fieldValue name='AftAnchorLightScale' value='1 1 1'/> |
116 | </ProtoInstance> |
117 | </Transform> |
118 | <Transform DEF='UpTo4000Yds'> |
119 | <ProtoInstance name='RunningLights'> |
120 | <fieldValue name='StbdRunningLightPosition' value='0 0 10'/> |
121 | <fieldValue name='StbdRunningLightScale' value='26 26 26'/> |
122 | <fieldValue name='StbdRunningLightOnOffSwitch' value='0 1 0'/> |
123 | <fieldValue name='SternLightPosition' value='-10 0 0'/> |
124 | <fieldValue name='SternLightScale' value='26 26 26'/> |
125 | <fieldValue name='WhiteRunningLightOnOffSwitch' value='1 1 1'/> |
126 | <fieldValue name='PortRunningLightPosition' value='0 0 -10'/> |
127 | <fieldValue name='PortRunningLightScale' value='26 26 26'/> |
128 | <fieldValue name='PortRunningLightOnOffSwitch' value='1 0 0'/> |
129 | <fieldValue name='LowerMastHeadLightPosition' value='10 10 0'/> |
130 | <fieldValue name='LowerMastHeadLightScale' value='26 26 26'/> |
131 | <fieldValue name='UpperMastHeadLightPosition' value='0 20 0'/> |
132 | <fieldValue name='UpperMastHeadLightScale' value='1 1 1'/> |
133 | <fieldValue name='FwdAnchorLightPosition' value='30 0 0'/> |
134 | <fieldValue name='FwdAnchorLightScale' value='26 26 26'/> |
135 | <fieldValue name='AnchorLightsOnOffSwitch' value='0 0 0'/> |
136 | <fieldValue name='AftAnchorLightPosition' value='-10 10 0'/> |
137 | <fieldValue name='AftAnchorLightScale' value='1 1 1'/> |
138 | </ProtoInstance> |
139 | </Transform> |
140 | <Transform DEF='UpTo5000Yds'> |
141 | <ProtoInstance name='RunningLights'> |
142 | <fieldValue name='StbdRunningLightPosition' value='0 0 10'/> |
143 | <fieldValue name='StbdRunningLightScale' value='34 34 34'/> |
144 | <fieldValue name='StbdRunningLightOnOffSwitch' value='0 1 0'/> |
145 | <fieldValue name='SternLightPosition' value='-10 0 0'/> |
146 | <fieldValue name='SternLightScale' value='34 34 34'/> |
147 | <fieldValue name='WhiteRunningLightOnOffSwitch' value='1 1 1'/> |
148 | <fieldValue name='PortRunningLightPosition' value='0 0 -10'/> |
149 | <fieldValue name='PortRunningLightScale' value='34 34 34'/> |
150 | <fieldValue name='PortRunningLightOnOffSwitch' value='1 0 0'/> |
151 | <fieldValue name='LowerMastHeadLightPosition' value='10 10 0'/> |
152 | <fieldValue name='LowerMastHeadLightScale' value='34 34 34'/> |
153 | <fieldValue name='UpperMastHeadLightPosition' value='0 20 0'/> |
154 | <fieldValue name='UpperMastHeadLightScale' value='1 1 1'/> |
155 | <fieldValue name='FwdAnchorLightPosition' value='30 0 0'/> |
156 | <fieldValue name='FwdAnchorLightScale' value='34 34 34'/> |
157 | <fieldValue name='AnchorLightsOnOffSwitch' value='0 0 0'/> |
158 | <fieldValue name='AftAnchorLightPosition' value='-10 10 0'/> |
159 | <fieldValue name='AftAnchorLightScale' value='1 1 1'/> |
160 | </ProtoInstance> |
161 | </Transform> |
162 | <Transform DEF='UpTo6000Yds'> |
163 | <ProtoInstance name='RunningLights'> |
164 | <fieldValue name='StbdRunningLightPosition' value='0 0 10'/> |
165 | <fieldValue name='StbdRunningLightScale' value='40 40 40'/> |
166 | <fieldValue name='StbdRunningLightOnOffSwitch' value='0 1 0'/> |
167 | <fieldValue name='SternLightPosition' value='-10 0 0'/> |
168 | <fieldValue name='SternLightScale' value='40 40 40'/> |
169 | <fieldValue name='WhiteRunningLightOnOffSwitch' value='1 1 1'/> |
170 | <fieldValue name='PortRunningLightPosition' value='0 0 -10'/> |
171 | <fieldValue name='PortRunningLightScale' value='40 40 40'/> |
172 | <fieldValue name='PortRunningLightOnOffSwitch' value='1 0 0'/> |
173 | <fieldValue name='LowerMastHeadLightPosition' value='10 10 0'/> |
174 | <fieldValue name='LowerMastHeadLightScale' value='40 40 40'/> |
175 | <fieldValue name='UpperMastHeadLightPosition' value='0 20 0'/> |
176 | <fieldValue name='UpperMastHeadLightScale' value='1 1 1'/> |
177 | <fieldValue name='FwdAnchorLightPosition' value='30 0 0'/> |
178 | <fieldValue name='FwdAnchorLightScale' value='40 40 40'/> |
179 | <fieldValue name='AnchorLightsOnOffSwitch' value='0 0 0'/> |
180 | <fieldValue name='AftAnchorLightPosition' value='-10 10 0'/> |
181 | <fieldValue name='AftAnchorLightScale' value='1 1 1'/> |
182 | </ProtoInstance> |
183 | </Transform> |
184 | <Transform DEF='GreaterThan6000yds'> |
185 | <ProtoInstance name='RunningLights'> |
186 | <fieldValue name='StbdRunningLightPosition' value='0 0 10'/> |
187 | <fieldValue name='StbdRunningLightScale' value='42 42 42'/> |
188 | <fieldValue name='StbdRunningLightOnOffSwitch' value='0 1 0'/> |
189 | <fieldValue name='SternLightPosition' value='-10 0 0'/> |
190 | <fieldValue name='SternLightScale' value='42 42 42'/> |
191 | <fieldValue name='WhiteRunningLightOnOffSwitch' value='1 1 1'/> |
192 | <fieldValue name='PortRunningLightPosition' value='0 0 -10'/> |
193 | <fieldValue name='PortRunningLightScale' value='42 42 42'/> |
194 | <fieldValue name='PortRunningLightOnOffSwitch' value='1 0 0'/> |
195 | <fieldValue name='LowerMastHeadLightPosition' value='10 10 0'/> |
196 | <fieldValue name='LowerMastHeadLightScale' value='42 42 42'/> |
197 | <fieldValue name='UpperMastHeadLightPosition' value='0 20 0'/> |
198 | <fieldValue name='UpperMastHeadLightScale' value='1 1 1'/> |
199 | <fieldValue name='FwdAnchorLightPosition' value='30 0 0'/> |
200 | <fieldValue name='FwdAnchorLightScale' value='42 42 42'/> |
201 | <fieldValue name='AnchorLightsOnOffSwitch' value='0 0 0'/> |
202 | <fieldValue name='AftAnchorLightPosition' value='-10 10 0'/> |
203 | <fieldValue name='AftAnchorLightScale' value='1 1 1'/> |
204 | </ProtoInstance> |
205 | </Transform> |
206 | </LOD> |
207 | </Scene> |
208 | </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 53
ProtoInstance RunningLights |
No direct ROUTE connection found for events to/from this node. This ProtoInstance contains SFNode/MFNode fieldValue declarations with direct access to other nodes, and thus has potential to produce run-time animation. |
line 75
ProtoInstance RunningLights |
No direct ROUTE connection found for events to/from this node. This ProtoInstance contains SFNode/MFNode fieldValue declarations with direct access to other nodes, and thus has potential to produce run-time animation. |
line 97
ProtoInstance RunningLights |
No direct ROUTE connection found for events to/from this node. This ProtoInstance contains SFNode/MFNode fieldValue declarations with direct access to other nodes, and thus has potential to produce run-time animation. |
line 119
ProtoInstance RunningLights |
No direct ROUTE connection found for events to/from this node. This ProtoInstance contains SFNode/MFNode fieldValue declarations with direct access to other nodes, and thus has potential to produce run-time animation. |
line 141
ProtoInstance RunningLights |
No direct ROUTE connection found for events to/from this node. This ProtoInstance contains SFNode/MFNode fieldValue declarations with direct access to other nodes, and thus has potential to produce run-time animation. |
line 163
ProtoInstance RunningLights |
No direct ROUTE connection found for events to/from this node. This ProtoInstance contains SFNode/MFNode fieldValue declarations with direct access to other nodes, and thus has potential to produce run-time animation. |
line 185
ProtoInstance RunningLights |
No direct ROUTE connection found for events to/from this node. This ProtoInstance contains SFNode/MFNode fieldValue declarations with direct access to other nodes, and thus has potential to produce run-time animation. |
<!--
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)
<ProtoInstance name='ProtoName'>
<field
name='fieldName'/> </ProtoInstance>
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->