3d_scene.tscn 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. [gd_scene load_steps=19 format=3 uid="uid://cbdt8lmycl8pc"]
  2. [ext_resource type="PackedScene" uid="uid://sxx5ow26t0c3" path="res://polyhaven/dutch_ship_medium_1k.gltf" id="1_1kw2t"]
  3. [sub_resource type="BoxMesh" id="BoxMesh_vm88u"]
  4. [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_we7ye"]
  5. albedo_color = Color(0.0392157, 0.172549, 0.0196078, 1)
  6. metallic = 0.5
  7. roughness = 0.5
  8. emission_enabled = true
  9. emission = Color(0, 1, 0, 1)
  10. [sub_resource type="BoxMesh" id="BoxMesh_07f2q"]
  11. material = SubResource("StandardMaterial3D_we7ye")
  12. [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6mjsl"]
  13. albedo_color = Color(0.282353, 0.282353, 0.282353, 1)
  14. [sub_resource type="QuadMesh" id="QuadMesh_2uocv"]
  15. material = SubResource("StandardMaterial3D_6mjsl")
  16. size = Vector2(200, 200)
  17. [sub_resource type="BoxMesh" id="BoxMesh_twdwb"]
  18. [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_brk07"]
  19. albedo_color = Color(0.47451, 0.25098, 1, 1)
  20. [sub_resource type="BoxMesh" id="BoxMesh_3im6l"]
  21. size = Vector3(16, 16, 1)
  22. [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_q4uaa"]
  23. metallic = 0.9
  24. roughness = 0.1
  25. [sub_resource type="SphereMesh" id="SphereMesh_38g8l"]
  26. [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_aho7u"]
  27. metallic = 1.0
  28. roughness = 0.0
  29. [sub_resource type="FogMaterial" id="FogMaterial_tldur"]
  30. emission = Color(0.627451, 0, 1, 1)
  31. [sub_resource type="Animation" id="Animation_ykvo5"]
  32. length = 0.001
  33. tracks/0/type = "value"
  34. tracks/0/imported = false
  35. tracks/0/enabled = true
  36. tracks/0/path = NodePath("WhiteBoxMoving:position")
  37. tracks/0/interp = 1
  38. tracks/0/loop_wrap = true
  39. tracks/0/keys = {
  40. "times": PackedFloat32Array(0),
  41. "transitions": PackedFloat32Array(1),
  42. "update": 0,
  43. "values": [Vector3(-0.849952, -0.1, 3.0726)]
  44. }
  45. [sub_resource type="Animation" id="Animation_pn3c5"]
  46. resource_name = "move"
  47. length = 5.0
  48. loop_mode = 1
  49. tracks/0/type = "value"
  50. tracks/0/imported = false
  51. tracks/0/enabled = true
  52. tracks/0/path = NodePath("WhiteBoxMoving:position")
  53. tracks/0/interp = 1
  54. tracks/0/loop_wrap = true
  55. tracks/0/keys = {
  56. "times": PackedFloat32Array(0, 2.5),
  57. "transitions": PackedFloat32Array(-2, -2),
  58. "update": 0,
  59. "values": [Vector3(-0.849952, -0.1, 3.0726), Vector3(-0.849952, 0.9, 3.0726)]
  60. }
  61. [sub_resource type="AnimationLibrary" id="AnimationLibrary_m14lt"]
  62. _data = {
  63. "RESET": SubResource("Animation_ykvo5"),
  64. "move": SubResource("Animation_pn3c5")
  65. }
  66. [sub_resource type="CylinderMesh" id="CylinderMesh_7m76j"]
  67. top_radius = 0.1
  68. bottom_radius = 0.0
  69. height = 0.2
  70. radial_segments = 4
  71. rings = 1
  72. [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_n7odx"]
  73. albedo_color = Color(0.254902, 0.254902, 0.254902, 1)
  74. emission_enabled = true
  75. emission = Color(1, 0.815686, 0, 1)
  76. [node name="Node3D" type="Node3D"]
  77. [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
  78. transform = Transform3D(-0.248173, 0.823973, -0.509391, 0.0500525, 0.536046, 0.842704, 0.967422, 0.18364, -0.174274, 0, 0, 0)
  79. shadow_enabled = true
  80. shadow_bias = 0.05
  81. directional_shadow_mode = 0
  82. directional_shadow_fade_start = 1.0
  83. directional_shadow_max_distance = 17.0
  84. [node name="Camera3D" type="Camera3D" parent="."]
  85. transform = Transform3D(0.863149, -0.214154, 0.457287, 0, 0.905611, 0.42411, -0.504949, -0.36607, 0.781677, 2.50865, 3.97686, 8.84854)
  86. fov = 50.0
  87. [node name="OmniLight3D" type="OmniLight3D" parent="."]
  88. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.02753, -1.19209e-07, 0.710748)
  89. shadow_enabled = true
  90. shadow_bias = 0.04
  91. [node name="WhiteBox" type="MeshInstance3D" parent="."]
  92. mesh = SubResource("BoxMesh_vm88u")
  93. [node name="WhiteBoxMoving" type="MeshInstance3D" parent="."]
  94. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.849952, -0.1, 3.0726)
  95. gi_mode = 0
  96. mesh = SubResource("BoxMesh_vm88u")
  97. [node name="GreenEmissiveBox" type="MeshInstance3D" parent="."]
  98. transform = Transform3D(1.1804, 0, -0.190789, 0, 1.64407, 0, 0.339276, 0, 0.663786, 1.43118, 0, 0.586329)
  99. mesh = SubResource("BoxMesh_07f2q")
  100. [node name="Floor" type="MeshInstance3D" parent="."]
  101. transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, -0.60722, 0)
  102. mesh = SubResource("QuadMesh_2uocv")
  103. [node name="PurpleBox" type="MeshInstance3D" parent="."]
  104. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.365823, -0.778727, 0.564842)
  105. mesh = SubResource("BoxMesh_twdwb")
  106. surface_material_override/0 = SubResource("StandardMaterial3D_brk07")
  107. [node name="Mirror" type="MeshInstance3D" parent="."]
  108. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1)
  109. mesh = SubResource("BoxMesh_3im6l")
  110. surface_material_override/0 = SubResource("StandardMaterial3D_q4uaa")
  111. [node name="ReflectiveSphere" type="MeshInstance3D" parent="."]
  112. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.4368, 0, 0)
  113. mesh = SubResource("SphereMesh_38g8l")
  114. surface_material_override/0 = SubResource("StandardMaterial3D_aho7u")
  115. [node name="FogVolume" type="FogVolume" parent="."]
  116. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.342018, -1.18089, 0.661332)
  117. material = SubResource("FogMaterial_tldur")
  118. [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
  119. autoplay = "move"
  120. libraries = {
  121. "": SubResource("AnimationLibrary_m14lt")
  122. }
  123. [node name="SpotLight3D" type="SpotLight3D" parent="."]
  124. transform = Transform3D(0.0245702, 0.999698, -0.000796034, 0, 0.000796274, 1, 0.999698, -0.0245702, 1.95646e-05, -0.864742, 2.11809, 3.11561)
  125. light_color = Color(1, 0.815686, 0, 1)
  126. light_energy = 5.0
  127. shadow_enabled = true
  128. [node name="MeshInstance3D" type="MeshInstance3D" parent="SpotLight3D"]
  129. transform = Transform3D(1, -1.81899e-12, 0, 0, -4.37685e-08, -1, 1.81899e-12, 1, -4.3744e-08, 0, 0, 0)
  130. cast_shadow = 0
  131. mesh = SubResource("CylinderMesh_7m76j")
  132. skeleton = NodePath("../..")
  133. surface_material_override/0 = SubResource("StandardMaterial3D_n7odx")
  134. [node name="Ships" type="Node3D" parent="."]
  135. [node name="dutch_ship_medium_1k" parent="Ships" instance=ExtResource("1_1kw2t")]
  136. transform = Transform3D(-0.173205, 0, -0.1, 0, 0.2, 0, 0.1, 0, -0.173205, 2.28974, 0, 4.55752)