root/3d/planets.tscn

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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
[gd_scene load_steps=14 format=2]

[ext_resource path="res://3d/planet-camera.gd" type="Script" id=1]
[ext_resource path="res://3d/orbiter.tscn" type="PackedScene" id=2]
[ext_resource path="res://3d/3d_label.tscn" type="PackedScene" id=3]

[sub_resource type="Animation" id=10]
resource_name = "camera-down"
tracks/0/type = "value"
tracks/0/path = NodePath(".:translation")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector3( 0, 8, 0 ), Vector3( 0, 2, 8 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath(".:rotation_degrees")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector3( -90, 0, 0 ), Vector3( -20, 0, 0 ) ]
}

[sub_resource type="SphereMesh" id=1]
radius = 0.047
height = 0.093

[sub_resource type="SphereMesh" id=2]
radius = 0.1
height = 0.2

[sub_resource type="SpatialMaterial" id=3]
albedo_color = Color( 0.101961, 1, 0, 1 )

[sub_resource type="SpatialMaterial" id=4]
albedo_color = Color( 0.823529, 0.823529, 0.823529, 1 )

[sub_resource type="SpatialMaterial" id=9]
albedo_color = Color( 0, 0.439216, 1, 1 )

[sub_resource type="SpatialMaterial" id=8]
albedo_color = Color( 1, 0.937255, 0, 1 )

[sub_resource type="SpatialMaterial" id=5]
albedo_color = Color( 1, 0, 0, 1 )

[sub_resource type="SpatialMaterial" id=6]
albedo_color = Color( 0.415686, 0, 0.360784, 1 )

[sub_resource type="SpatialMaterial" id=7]
albedo_color = Color( 1, 0.470588, 0, 1 )

[node name="planets" type="Spatial"]

[node name="Camera" type="Camera" parent="."]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 8, 0 )
script = ExtResource( 1 )

[node name="AnimationPlayer" type="AnimationPlayer" parent="Camera"]
anims/camera-down = SubResource( 10 )

[node name="sol" type="MeshInstance" parent="."]
mesh = SubResource( 1 )
material/0 = null

[node name="3_juno" parent="sol" instance=ExtResource( 2 )]
transform = Transform( 1.00002, 0, 0, 0, 1, 0, 0, 0, 1.00002, 3.82461, 0, 0 )
eccentricity = 0.256
apoapsis = 3.354
periapsis = 1.988
orbit_period = 4.365
rotation_period = 7.21
inclination = 12.982

[node name="MeshInstance" type="MeshInstance" parent="sol/3_juno"]
mesh = SubResource( 2 )
material/0 = SubResource( 3 )

[node name="Sprite3D" type="Sprite3D" parent="sol/3_juno"]

[node name="3d_label" parent="sol/3_juno" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.906109, 0, 0 )
text = "w3 Juno"

[node name="venus" parent="sol" instance=ExtResource( 2 )]
transform = Transform( 1.00002, 0, 0, 0, 1, 0, 0, 0, 1.00002, 2.11102, 0, 0 )
orbit_period = 0.615
inclination = 3.395
semi_major = 0.723

[node name="MeshInstance" type="MeshInstance" parent="sol/venus"]
mesh = SubResource( 2 )
material/0 = SubResource( 3 )

[node name="3d_label" parent="sol/venus" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.906109, 0, 0 )
text = "Venus"

[node name="mercury" parent="sol" instance=ExtResource( 2 )]
editor/display_folded = true
transform = Transform( 1.00002, 0, 0, 0, 1, 0, 0, 0, 1.00002, 1.03101, 0, 0 )
orbit_period = 0.24
inclination = 7.005
semi_major = 0.387

[node name="MeshInstance" type="MeshInstance" parent="sol/mercury"]
mesh = SubResource( 2 )
material/0 = SubResource( 4 )

[node name="3d_label" parent="sol/mercury" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.906109, 0, 0 )
text = "Venus"

[node name="gaia" parent="sol" instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2.64985, 0, 0 )
orbit_period = 1.0
inclination = 7.155
semi_major = 1.0

[node name="MeshInstance" type="MeshInstance" parent="sol/gaia"]
mesh = SubResource( 2 )
material/0 = SubResource( 9 )

[node name="3d_label" parent="sol/gaia" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.906109, 0, 0 )
text = "Venus"

[node name="luna" parent="sol/gaia" instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.33308, 0, 0.28378 )
orbit_period = 0.075
inclination = 5.145
semi_major = 0.003

[node name="MeshInstance" type="MeshInstance" parent="sol/gaia/luna"]
transform = Transform( 0.05, 0, 0, 0, 0.05, 0, 0, 0, 0.05, 0, 0, 0 )
mesh = SubResource( 2 )
material/0 = SubResource( 8 )

[node name="3d_label" parent="sol/gaia/luna" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.906109, 0, 0 )
text = "Luna"

[node name="mars" parent="sol" instance=ExtResource( 2 )]
transform = Transform( 1.00002, 0, 0, 0, 1, 0, 0, 0, 1.00002, 3.07312, 0, 0 )
orbit_period = 1.881
inclination = 5.65
semi_major = 1.524

[node name="MeshInstance" type="MeshInstance" parent="sol/mars"]
mesh = SubResource( 2 )
material/0 = SubResource( 5 )

[node name="3d_label" parent="sol/mars" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.906109, 0, 0 )
text = "Venus"

[node name="jupiter" parent="sol" instance=ExtResource( 2 )]
transform = Transform( 1.00002, 0, 0, 0, 1, 0, 0, 0, 1.00002, 3.07312, 0, 0 )
orbit_period = 11.862
inclination = 6.09
semi_major = 5.204

[node name="MeshInstance" type="MeshInstance" parent="sol/jupiter"]
mesh = SubResource( 2 )
material/0 = SubResource( 6 )

[node name="3d_label" parent="sol/jupiter" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.906109, 0, 0 )
text = "Venus"

[node name="saturn" parent="sol" instance=ExtResource( 2 )]
transform = Transform( 1.00002, 0, 0, 0, 1, 0, 0, 0, 1.00002, 3.07312, 0, 0 )
orbit_period = 29.457
inclination = 5.51
semi_major = 9.583

[node name="MeshInstance" type="MeshInstance" parent="sol/saturn"]
mesh = SubResource( 2 )
material/0 = SubResource( 7 )

[node name="3d_label" parent="sol/saturn" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.906109, 0, 0 )
text = "Venus"

[node name="sol_label" parent="sol" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.53749, 0, 0 )
text = "Sol"