12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- [gd_scene load_steps=12 format=2]
- [ext_resource path="res://assets/planet/planet.tres" type="Material" id=1]
- [ext_resource path="res://camera.gd" type="Script" id=2]
- [ext_resource path="res://assets/planet/newplanet.obj" type="ArrayMesh" id=3]
- [ext_resource path="res://assets/panorama_image.png" type="Texture" id=4]
- [ext_resource path="res://assets/sun.png" type="Texture" id=5]
- [ext_resource path="res://resources/planets/planet_2/planet.obj" type="ArrayMesh" id=6]
- [ext_resource path="res://resources/planets/planet_2/planet.tres" type="Material" id=7]
- [ext_resource path="res://planet_switcher.gd" type="Script" id=8]
- [ext_resource path="res://planet.gd" type="Script" id=9]
- [sub_resource type="PanoramaSky" id=1]
- radiance_size = 3
- panorama = ExtResource( 4 )
- [sub_resource type="Environment" id=2]
- background_mode = 2
- background_sky = SubResource( 1 )
- ambient_light_color = Color( 1, 1, 1, 1 )
- ambient_light_energy = 16.0
- [node name="main" type="Spatial"]
- script = ExtResource( 8 )
- [node name="sun" type="Sprite3D" parent="."]
- transform = Transform( 1400, 0, 0, 0, 1400, 0, 0, 0, 1400, 0, 0, 0 )
- billboard = 1
- texture = ExtResource( 5 )
- [node name="OmniLight" type="OmniLight" parent="sun"]
- transform = Transform( 100, 0, 0, 0, 100, 0, 0, 0, 100, 0, 0, 0 )
- light_energy = 2.0
- omni_range = 1.5e+12
- [node name="WorldEnvironment" type="WorldEnvironment" parent="."]
- environment = SubResource( 2 )
- [node name="the_real_camera" type="InterpolatedCamera" parent="."]
- near = 0.1
- far = 1e+08
- target = NodePath("../planet/planet/camera_mover/helper/camera")
- speed = 8.0
- enabled = true
- [node name="planet2" type="Spatial" parent="."]
- transform = Transform( 6, 0, 0, 0, 6, 0, 0, 0, 6, 15000, 0, 0 )
- [node name="planet2" type="MeshInstance" parent="planet2"]
- transform = Transform( 2, 0, 0, 0, 2, 0, 0, 0, 2, 14166.7, 0, 0 )
- mesh = ExtResource( 6 )
- material/0 = ExtResource( 7 )
- [node name="planet" type="Spatial" parent="."]
- script = ExtResource( 9 )
- [node name="planet" type="MeshInstance" parent="planet"]
- transform = Transform( 6, 0, 0, 0, 6, 0, 0, 0, 6, 15000, 0, 0 )
- mesh = ExtResource( 3 )
- material/0 = ExtResource( 1 )
- [node name="camera_mover" type="Spatial" parent="planet/planet"]
- script = ExtResource( 2 )
- [node name="helper" type="Spatial" parent="planet/planet/camera_mover"]
- [node name="camera" type="Spatial" parent="planet/planet/camera_mover/helper"]
- [node name="Control" type="Control" parent="."]
- margin_right = 40.0
- margin_bottom = 40.0
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="ItemList" type="ItemList" parent="Control"]
- margin_top = 0.663422
- margin_right = 102.0
- margin_bottom = 135.663
- items = [ "Sun", null, false, "Planet", null, false, "Planet 2", null, false ]
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [connection signal="item_selected" from="Control/ItemList" to="." method="_on_ItemList_item_selected"]
|