gui_in_3d.tscn 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. [gd_scene load_steps=10 format=3 uid="uid://0iek6ri88gkb"]
  2. [ext_resource type="PackedScene" uid="uid://dvl383ispakmn" path="res://gui_panel_3d.tscn" id="1"]
  3. [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_1lgdv"]
  4. sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
  5. ground_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
  6. [sub_resource type="Sky" id="Sky_pq42j"]
  7. sky_material = SubResource("ProceduralSkyMaterial_1lgdv")
  8. [sub_resource type="Environment" id="Environment_niyks"]
  9. background_mode = 2
  10. sky = SubResource("Sky_pq42j")
  11. tonemap_mode = 2
  12. glow_enabled = true
  13. [sub_resource type="Animation" id="1"]
  14. length = 6.0
  15. loop_mode = 1
  16. tracks/0/type = "value"
  17. tracks/0/imported = false
  18. tracks/0/enabled = true
  19. tracks/0/path = NodePath("Camera3D:transform")
  20. tracks/0/interp = 1
  21. tracks/0/loop_wrap = true
  22. tracks/0/keys = {
  23. "times": PackedFloat32Array(0, 2, 4, 6),
  24. "transitions": PackedFloat32Array(-2, -2, -2, -2),
  25. "update": 0,
  26. "values": [Transform3D(0.994592, 0, 0.103856, 0, 1, 0, -0.103856, 0, 0.994592, 0.465682, 0, 1.78523), Transform3D(0.962984, 0, -0.269557, 0, 1, 0, 0.269557, 0, 0.962984, -0.462237, 0, 2.41934), Transform3D(0.806599, 0, -0.591098, 0, 1, 0, 0.591098, 0, 0.806599, -1.59502, 0, 2.05358), Transform3D(0.994592, 0, 0.103856, 0, 1, 0, -0.103856, 0, 0.994592, 0.465682, 0, 1.78523)]
  27. }
  28. [sub_resource type="AnimationLibrary" id="AnimationLibrary_uw4n0"]
  29. _data = {
  30. "Move_camera": SubResource("1")
  31. }
  32. [sub_resource type="PlaneMesh" id="2"]
  33. [sub_resource type="BoxMesh" id="3"]
  34. [sub_resource type="StandardMaterial3D" id="4"]
  35. albedo_color = Color(0.722656, 0.791992, 1, 1)
  36. roughness = 0.0
  37. [node name="GUIin3D" type="Node3D"]
  38. [node name="WorldEnvironment" type="WorldEnvironment" parent="."]
  39. environment = SubResource("Environment_niyks")
  40. [node name="GUIPanel3D" parent="." instance=ExtResource("1")]
  41. [node name="Camera3D" type="Camera3D" parent="."]
  42. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 0.999999, 0, 0, 3)
  43. fov = 74.0
  44. near = 0.1
  45. [node name="OmniLight3D" type="OmniLight3D" parent="."]
  46. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.38866, 1.2413, 2.72141)
  47. shadow_enabled = true
  48. shadow_blur = 3.0
  49. omni_range = 10.0
  50. [node name="Camera_Move" type="AnimationPlayer" parent="."]
  51. autoplay = "Move_camera"
  52. libraries = {
  53. "": SubResource("AnimationLibrary_uw4n0")
  54. }
  55. [node name="Background" type="Node3D" parent="."]
  56. [node name="Wall" type="MeshInstance3D" parent="Background"]
  57. transform = Transform3D(4, 0, 0, 0, -1.74846e-07, -4, 0, 4, -1.74846e-07, -2.60819, 0.589247, -2.08943)
  58. mesh = SubResource("2")
  59. [node name="Wall2" type="MeshInstance3D" parent="Background"]
  60. transform = Transform3D(4, 0, 0, 0, -1.74846e-07, -4, 0, 4, -1.74846e-07, 5.08055, 0.589247, -2.08943)
  61. mesh = SubResource("2")
  62. [node name="Wall3" type="MeshInstance3D" parent="Background"]
  63. transform = Transform3D(-1.74846e-07, -4, 0, -1.74846e-07, 7.64274e-15, -4, 4, -1.74846e-07, -1.74846e-07, 9.04446, 0.589247, 1.62058)
  64. mesh = SubResource("2")
  65. [node name="Floor" type="MeshInstance3D" parent="Background"]
  66. transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, -2.60819, -2.68765, 1.46502)
  67. mesh = SubResource("2")
  68. [node name="Floor2" type="MeshInstance3D" parent="Background"]
  69. transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, 5.08055, -2.68765, 1.46502)
  70. mesh = SubResource("2")
  71. [node name="Cube" type="MeshInstance3D" parent="Background"]
  72. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.25901, -0.598608, 0.374871)
  73. mesh = SubResource("3")
  74. surface_material_override/0 = SubResource("4")
  75. [node name="Cube2" type="MeshInstance3D" parent="Background"]
  76. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.88761, 2.01326, 0.374871)
  77. mesh = SubResource("3")
  78. surface_material_override/0 = SubResource("4")