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=' LaserTargetTrack.x3d '/> |
6 | <meta name='description' content='A metal track that the laser target is mounted on.'/> |
7 | <meta name='creator' content='Brian Kibel'/> |
8 | <meta name='created' content='4 September 2006'/> |
9 | <meta name='modified' content='28 November 2019'/> |
10 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/Space/SatelliteLab/LaserTargetTrack.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='LaserTargetTrack.x3d'/> |
16 | <NavigationInfo/> |
17 | <Group DEF='TrackRails'> |
18 | <Transform translation='0 2.2 0'> |
19 | |
20 | <Box size='8.5 .15 .3'/> |
21 | <Appearance> |
22 | <Material diffuseColor='.8 .6 0'/> |
23 | </Appearance> |
24 | </Shape> |
25 | </Transform> |
26 | <Transform translation='0 2.325 0'> |
27 | <Shape DEF='RailShape2'> |
28 | <Box size='8.2 .1 .3'/> |
29 | <Appearance> |
30 | <Material diffuseColor='.8 .8 .8'/> |
31 | </Appearance> |
32 | </Shape> |
33 | </Transform> |
34 | <Transform scale='.8 2.5 .8' translation='0 2 0'> |
35 | <Shape USE='RailShape'/> |
36 | </Transform> |
37 | </Group> |
38 | <Group DEF='TrackSupport'> |
39 | <Transform scale='.45 .45 .45' translation='-3.25 0 0'> |
40 |
<!-- Inline
TargetTrackSupport is a DEF node that has 6 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5, USE_6 --> <Inline DEF='TargetTrackSupport' url=' "LaserTargetTrackSupport.x3d" "LaserTargetTrackSupport.wrl" '/> |
41 | </Transform> |
42 | <Transform scale='.45 .45 .45' translation='-2.1625 0 0'> |
43 | <Inline USE='TargetTrackSupport'/> |
44 | </Transform> |
45 | <Transform scale='.45 .45 .45' translation='-1.085 0 0'> |
46 | <Inline USE='TargetTrackSupport'/> |
47 | </Transform> |
48 | <Transform scale='.45 .45 .45'> |
49 | <Inline USE='TargetTrackSupport'/> |
50 | </Transform> |
51 | <Transform scale='.45 .45 .45' translation='1.085 0 0'> |
52 | <Inline USE='TargetTrackSupport'/> |
53 | </Transform> |
54 | <Transform scale='.45 .45 .45' translation='2.1625 0 0'> |
55 | <Inline USE='TargetTrackSupport'/> |
56 | </Transform> |
57 | <Transform scale='.45 .45 .45' translation='3.25 0 0'> |
58 | <Inline USE='TargetTrackSupport'/> |
59 | </Transform> |
60 | </Group> |
61 | <Group DEF='MovingTarget'> |
62 |
<!-- ROUTE information for TargetPosition node:
[from TargetPlaneSensor.translation_changed to set_translation
]
-->
<Transform DEF='TargetPosition'> |
63 | <Transform DEF='TargetStartPosition' translation='0 3.3 .16'> |
64 | <Shape> |
65 | <IndexedFaceSet solid='false' coordIndex='0 1 2 3 4'> |
66 | <Coordinate point='-.5 .5 0 .5 .5 0 .5 -.5 0 -.5 -.5 0 -.5 .5 0'/> |
67 | </IndexedFaceSet> |
68 | </Shape> |
69 | <Transform scale='.1 .1 .1' translation='0 0 .005'> |
70 | <Shape> |
71 | <IndexedFaceSet solid='false' coordIndex='0 1 2 3 4'> |
72 | <Coordinate point='-.5 .5 0 .5 .5 0 .5 -.5 0 -.5 -.5 0 -.5 .5 0'/> |
73 | </IndexedFaceSet> |
74 | <Appearance> |
75 | <Material diffuseColor='0 0 0'/> |
76 | </Appearance> |
77 | </Shape> |
78 | </Transform> |
79 | <Transform translation='0 -.3 -.2'> |
80 | <Shape> |
81 | <Box size='.2 1.3 .3'/> |
82 | <Appearance> |
83 | <Material diffuseColor='.8 .8 .8'/> |
84 | </Appearance> |
85 | </Shape> |
86 | </Transform> |
87 | </Transform> |
88 | </Transform> |
89 |
<!-- ROUTE information for TargetPlaneSensor node:
[from translation_changed to TargetPosition.set_translation
]
-->
<PlaneSensor DEF='TargetPlaneSensor' description='Drag Target stays in X plane' maxPosition='4 0' minPosition='-4 0'/> |
90 | < ROUTE fromNode='TargetPlaneSensor' fromField='translation_changed' toNode='TargetPosition' toField='set_translation'/> |
91 | </Group> |
92 | </Scene> |
93 | </X3D> |
Event Graph ROUTE Table with 1 ROUTE connection 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.
TargetPlaneSensor
PlaneSensor translation_changed SFVec3f |
TargetPosition
Transform set_translation SFVec3f |
<!--
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)
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->