/
Bubbles.x3d
135 lines (135 loc) · 7.68 KB
/
Bubbles.x3d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
<X3D profile='Interchange' version='3.3' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.3.xsd'>
<head>
<meta content='Bubbles.x3d' name='title'/>
<meta content='Bubble animation used by Nancy Diving example.' name='description'/>
<meta content='Etsuko Lippi' name='creator'/>
<meta content='24 January 2001' name='created'/>
<meta content='23 May 2020' name='modified'/>
<meta content='https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Legacy/Bubbles.x3d' name='identifier'/>
<meta content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit' name='generator'/>
<meta content='../license.html' name='license'/>
</head>
<Scene>
<WorldInfo title='Bubbles.x3d'/>
<Transform DEF='Bubbles'>
<Group DEF='Bubble'>
<TimeSensor DEF='BubbleClock' cycleInterval='6.0' loop='true'/>
<PositionInterpolator DEF='BubblePath1' key='0 0.5 0.8 0.9 1.0' keyValue='0.0 0.0 0.0 0.75 0.75 0.75 0.86 0.86 0.86 0.99 0.998 0.9876 1.272 1.90440 0.9509'/>
<PositionInterpolator DEF='BubblePath2' key='0 0.3 0.64 0.85 1.0' keyValue='0.1 0.1 0.1 0.2 0.4 0.25 0.3 0.5 0.46 0.75 0.5 .575 .038483478 1.9890 1.0983730'/>
<PositionInterpolator DEF='BubblePath3' key='0 0.1 0.45 0.7 1.0' keyValue='0.01 0.01 0.01 0.25 0.35 0.0045 0.55 0.6 0.0055 0.66 0.665 0.00655 1.5550 1.090430 0.0057340'/>
<PositionInterpolator DEF='BubblePath4' key='0 0.5 0.6 0.8 1.0' keyValue='0.0 0.0 0.0 0.5 0.5 0.005 0.6 0.6 0.006 0.75 0.75 0.0075 1.9485940 1.39830 .009009349'/>
<PositionInterpolator DEF='BubblePath5' key='0 0.25 0.35 0.65 1.0' keyValue='0.0 0.0 0.0 0.5 0.5 0.005 0.6 0.6 0.006 0.75 0.75 0.0075 1.844440 1.222220 0.1'/>
<PositionInterpolator DEF='BubblePath6' key='0 0.15 0.22235 0.55565 1.0' keyValue='0.0 0.0 0.0 0.235 0.3455 0.0055 0.356 0.676 0.00456 0.5675 0.75 0.0074565 1.098 1.0343 0.140'/>
<PositionInterpolator DEF='BubblePath7' key='0 0.2425 0.4535 0.6775 1.0' keyValue='0.0 0.0 0.0 0.12345 0.2225 0.00335 0.786 0.456 0.00666 0.74555 0.7335 0.00234575 .08787 1.022 0.12'/>
<PositionInterpolator DEF='BubblePath8' key='0 0.1125 0.5535 0.97865 1.0' keyValue='0.0 0.0 0.0 0.1235 0.05 0.00125 0.5666 0.4346 0.005556 0.8975 0.34575 0.0098775 1.87870 1.6860 0.860'/>
<PositionInterpolator DEF='BubblePath9' key='0 0.0025 0.035 0.65 1.0' keyValue='0.0 0.0 0.0 0.522 0.5445 0.0057 0.6543 0.226 0.0055 0.45575 0.4375 0.0067 1.87870 2.0 0.1545'/>
<PositionInterpolator DEF='BubblePath10' key='0 0.00025 0.035 0.6895 1.0' keyValue='0.0 0.0 0.0 0.8765 0.445 0.00335 0.3336 0.4446 0.005556 0.765 0.75 0.0075 1.0 1.0 0.1'/>
<Transform>
<Transform DEF='bubble1'>
<Shape>
<Appearance>
<Material diffuseColor='1 1 1' transparency='0.8'/>
</Appearance>
<Sphere radius='0.025'/>
</Shape>
</Transform>
<Transform DEF='bubble2'>
<Shape>
<Appearance>
<Material diffuseColor='1 1 1' transparency='0.8'/>
</Appearance>
<Sphere radius='0.055'/>
</Shape>
</Transform>
<Transform DEF='bubble3'>
<Shape>
<Appearance>
<Material diffuseColor='1 1 1' transparency='0.8'/>
</Appearance>
<Sphere radius='0.065'/>
</Shape>
</Transform>
<Transform DEF='bubble4'>
<Shape>
<Appearance>
<Material diffuseColor='1 1 1' transparency='0.8'/>
</Appearance>
<Sphere radius='0.015'/>
</Shape>
</Transform>
<Transform DEF='bubble5'>
<Shape>
<Appearance>
<Material diffuseColor='1 1 1' transparency='0.8'/>
</Appearance>
<Sphere radius='0.075'/>
</Shape>
</Transform>
<Transform DEF='bubble6'>
<Shape>
<Appearance>
<Material diffuseColor='1 1 1' transparency='0.8'/>
</Appearance>
<Sphere radius='0.005'/>
</Shape>
</Transform>
<Transform DEF='bubble7'>
<Shape>
<Appearance>
<Material diffuseColor='1 1 1' transparency='0.8'/>
</Appearance>
<Sphere radius='0.035'/>
</Shape>
</Transform>
<Transform DEF='bubble8'>
<Shape>
<Appearance>
<Material diffuseColor='1 1 1' transparency='0.8'/>
</Appearance>
<Sphere radius='0.05'/>
</Shape>
</Transform>
<Transform DEF='bubble9'>
<Shape>
<Appearance>
<Material diffuseColor='1 1 1' transparency='0.8'/>
</Appearance>
<Sphere radius='0.045'/>
</Shape>
</Transform>
<Transform DEF='bubble10'>
<Shape>
<Appearance>
<Material diffuseColor='1 1 1' transparency='0.8'/>
</Appearance>
<Sphere radius='0.035'/>
</Shape>
</Transform>
<ROUTE fromField='fraction_changed' fromNode='BubbleClock' toField='set_fraction' toNode='BubblePath1'/>
<ROUTE fromField='fraction_changed' fromNode='BubbleClock' toField='set_fraction' toNode='BubblePath2'/>
<ROUTE fromField='fraction_changed' fromNode='BubbleClock' toField='set_fraction' toNode='BubblePath3'/>
<ROUTE fromField='fraction_changed' fromNode='BubbleClock' toField='set_fraction' toNode='BubblePath4'/>
<ROUTE fromField='fraction_changed' fromNode='BubbleClock' toField='set_fraction' toNode='BubblePath5'/>
<ROUTE fromField='fraction_changed' fromNode='BubbleClock' toField='set_fraction' toNode='BubblePath6'/>
<ROUTE fromField='fraction_changed' fromNode='BubbleClock' toField='set_fraction' toNode='BubblePath7'/>
<ROUTE fromField='fraction_changed' fromNode='BubbleClock' toField='set_fraction' toNode='BubblePath8'/>
<ROUTE fromField='fraction_changed' fromNode='BubbleClock' toField='set_fraction' toNode='BubblePath9'/>
<ROUTE fromField='fraction_changed' fromNode='BubbleClock' toField='set_fraction' toNode='BubblePath10'/>
<ROUTE fromField='value_changed' fromNode='BubblePath1' toField='set_translation' toNode='bubble1'/>
<ROUTE fromField='value_changed' fromNode='BubblePath2' toField='set_translation' toNode='bubble2'/>
<ROUTE fromField='value_changed' fromNode='BubblePath3' toField='set_translation' toNode='bubble3'/>
<ROUTE fromField='value_changed' fromNode='BubblePath4' toField='set_translation' toNode='bubble4'/>
<ROUTE fromField='value_changed' fromNode='BubblePath5' toField='set_translation' toNode='bubble5'/>
<ROUTE fromField='value_changed' fromNode='BubblePath6' toField='set_translation' toNode='bubble6'/>
<ROUTE fromField='value_changed' fromNode='BubblePath7' toField='set_translation' toNode='bubble7'/>
<ROUTE fromField='value_changed' fromNode='BubblePath8' toField='set_translation' toNode='bubble8'/>
<ROUTE fromField='value_changed' fromNode='BubblePath9' toField='set_translation' toNode='bubble9'/>
<ROUTE fromField='value_changed' fromNode='BubblePath10' toField='set_translation' toNode='bubble10'/>
</Transform>
</Group>
</Transform>
<Background skyColor='0 0 0.6'/>
</Scene>
</X3D>