Added new model

This commit is contained in:
jonathan
2026-01-29 22:34:10 +01:00
parent ea3f1588c3
commit 19bdd80baf
50 changed files with 899 additions and 1 deletions
+61
View File
@@ -0,0 +1,61 @@
[gd_scene load_steps=8 format=3 uid="uid://dcy7hdm1y5dwb"]
[ext_resource type="Script" uid="uid://o17v5m75ew03" path="res://scenes/custom_render.gd" id="1_xa3mo"]
[ext_resource type="PackedScene" uid="uid://157h04x0krfu" path="res://scenes/room.tscn" id="2_w1ssw"]
[ext_resource type="Shader" uid="uid://bf2nxtrto5u5r" path="res://scenes/main_render.gdshader" id="3_1qky5"]
[sub_resource type="Curve" id="Curve_km3hj"]
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.26234567, 0.14241672), 0.0, 0.0, 0, 0, Vector2(0.5092592, 0.3427866), 0.0, 0.0, 0, 0, Vector2(0.7561728, 0.6233045), 0.0, 0.0, 0, 0, Vector2(0.8641975, 0.97595555), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.063336894, 0.0, 0, 0]
point_count = 6
[sub_resource type="CurveTexture" id="CurveTexture_5747v"]
curve = SubResource("Curve_km3hj")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_nxp0e"]
shader = ExtResource("3_1qky5")
shader_parameter/target_tex_size = Vector2(427, 240)
shader_parameter/sample_count = 1
shader_parameter/color_steps = 16.0
shader_parameter/color_curve = SubResource("CurveTexture_5747v")
[sub_resource type="ViewportTexture" id="ViewportTexture_2d5yc"]
viewport_path = NodePath("SubViewportContainer/SubViewport")
[node name="Rendering" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="SubViewportContainer" type="SubViewportContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
stretch = true
script = ExtResource("1_xa3mo")
[node name="SubViewport" type="SubViewport" parent="SubViewportContainer"]
handle_input_locally = false
gui_snap_controls_to_pixels = false
size = Vector2i(1152, 648)
render_target_update_mode = 4
[node name="BlockoutRoom" parent="SubViewportContainer/SubViewport" instance=ExtResource("2_w1ssw")]
[node name="TextureRect" type="TextureRect" parent="."]
material = SubResource("ShaderMaterial_nxp0e")
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
texture = SubResource("ViewportTexture_2d5yc")
Binary file not shown.
+169
View File
@@ -0,0 +1,169 @@
[gd_scene load_steps=22 format=3 uid="uid://157h04x0krfu"]
[ext_resource type="PackedScene" uid="uid://bjufextny1icg" path="res://models/UndertakerAssets.glb" id="1_7dqbv"]
[ext_resource type="ArrayMesh" uid="uid://iitrxdpdaq0i" path="res://models/ceiling.res" id="1_jn645"]
[ext_resource type="ArrayMesh" uid="uid://17chuhi8kh01" path="res://models/door.res" id="2_qvc4m"]
[ext_resource type="ArrayMesh" uid="uid://duokqbm5xp6mc" path="res://models/duct.res" id="3_7dqbv"]
[ext_resource type="ArrayMesh" uid="uid://bjt6sta5lnhjr" path="res://models/floor.res" id="4_ybpoa"]
[ext_resource type="PackedScene" uid="uid://bxuveo0hlwy33" path="res://prefabs/character.tscn" id="5_3j2fx"]
[ext_resource type="ArrayMesh" uid="uid://dj1dpmph88iyx" path="res://models/wall_lower.res" id="5_qtoah"]
[ext_resource type="ArrayMesh" uid="uid://cfwr5bvmj0ocy" path="res://models/wall_upper.res" id="6_eom3m"]
[ext_resource type="ArrayMesh" uid="uid://dooebv7iy46yb" path="res://models/coffin_chute.res" id="8_ybpoa"]
[ext_resource type="ArrayMesh" uid="uid://m1tiq7rwgpnf" path="res://models/table.res" id="9_dynfe"]
[ext_resource type="ArrayMesh" uid="uid://dd0u0u7m1n8hy" path="res://models/rails.res" id="10_jxwrd"]
[ext_resource type="ArrayMesh" uid="uid://doilhy26qpcp1" path="res://models/wall_cabinet.res" id="11_katsu"]
[ext_resource type="ArrayMesh" uid="uid://bt1g7igq1jvfl" path="res://models/cabinet.res" id="12_jxwrd"]
[ext_resource type="ArrayMesh" uid="uid://cn2oc7g2wr35s" path="res://models/cupboard.res" id="13_spkk5"]
[ext_resource type="ArrayMesh" uid="uid://djcvnf2sgohaf" path="res://models/trolly.res" id="14_yggoe"]
[ext_resource type="ArrayMesh" uid="uid://d1echoo5nispa" path="res://models/pipe.res" id="15_2ulci"]
[ext_resource type="PackedScene" uid="uid://bwf1m3q64007x" path="res://prefabs/lamp_ceiling.tscn" id="16_vfrn5"]
[ext_resource type="ArrayMesh" uid="uid://d0uvr0bshllbo" path="res://models/lamp_wall.res" id="17_vfrn5"]
[ext_resource type="VoxelGIData" uid="uid://rfxeiyxkedo6" path="res://scenes/room.VoxelGI_data.res" id="19_jxwrd"]
[sub_resource type="BoxShape3D" id="BoxShape3D_vfrn5"]
size = Vector3(50, 1, 50)
[sub_resource type="Environment" id="Environment_katsu"]
tonemap_mode = 3
[node name="BlockoutRoom" type="Node3D"]
[node name="UndertakerAssets" parent="." instance=ExtResource("1_7dqbv")]
visible = false
[node name="StaticRoom" type="Node3D" parent="."]
[node name="WallLower" type="MeshInstance3D" parent="StaticRoom"]
mesh = ExtResource("5_qtoah")
[node name="WallUpper" type="MeshInstance3D" parent="StaticRoom"]
mesh = ExtResource("6_eom3m")
[node name="Ceiling" type="MeshInstance3D" parent="StaticRoom"]
transform = Transform3D(1, 0, 7.1054274e-15, 0, 1, 0, -7.1054274e-15, 0, 1, 0, 3, 0)
mesh = ExtResource("1_jn645")
skeleton = NodePath("../..")
[node name="Door" type="MeshInstance3D" parent="StaticRoom"]
transform = Transform3D(1, 0, 7.1054274e-15, 0, 1, 0, -7.1054274e-15, 0, 1, 1.303, 0.331, -3.162)
mesh = ExtResource("2_qvc4m")
[node name="Floor" type="MeshInstance3D" parent="StaticRoom"]
mesh = ExtResource("4_ybpoa")
[node name="Duct" type="MeshInstance3D" parent="StaticRoom"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.2623181, 0.86544347, 2.4103496)
mesh = ExtResource("3_7dqbv")
[node name="CoffinChute" type="MeshInstance3D" parent="StaticRoom"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.7959484e-07, 1.0996855, 3.1981943)
mesh = ExtResource("8_ybpoa")
skeleton = NodePath("../..")
[node name="StaticProps" type="Node3D" parent="."]
[node name="Table" type="MeshInstance3D" parent="StaticProps"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2.48)
mesh = ExtResource("9_dynfe")
skeleton = NodePath("")
[node name="Rails" type="MeshInstance3D" parent="StaticProps"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.7418846, 1.0510474, 3.1985033)
mesh = ExtResource("10_jxwrd")
skeleton = NodePath("")
[node name="Wall_Cabinet_02" type="MeshInstance3D" parent="StaticProps"]
transform = Transform3D(0, 0, 1, 0, 1, 0, -1, 0, 0, 3, 1.2343458, -2.4211638)
mesh = ExtResource("11_katsu")
skeleton = NodePath("")
[node name="Wall_Cabinet_03" type="MeshInstance3D" parent="StaticProps"]
transform = Transform3D(0, 0, 1, 0, 1, 0, -1, 0, 0, 3, 1.916855, -2.4211638)
mesh = ExtResource("11_katsu")
skeleton = NodePath("")
[node name="Cabinet_02" type="MeshInstance3D" parent="StaticProps"]
transform = Transform3D(0, 0, 1, 0, 1, 0, -1, 0, 0, 2.8999999, 0.0009051192, -1.0386746)
mesh = ExtResource("12_jxwrd")
skeleton = NodePath("")
[node name="Cabinet_03" type="MeshInstance3D" parent="StaticProps"]
transform = Transform3D(0, 0, 1, 0, 1, 0, -1, 0, 0, 2.8999999, 0.0009051192, 0.3541056)
mesh = ExtResource("12_jxwrd")
skeleton = NodePath("")
[node name="Cupboard" type="MeshInstance3D" parent="StaticProps"]
transform = Transform3D(-1, 0, -3.2584137e-07, 0, 1, 0, 3.2584137e-07, 0, -1, -0.79999995, 0, -3)
mesh = ExtResource("13_spkk5")
skeleton = NodePath("")
[node name="Trolly_02" type="MeshInstance3D" parent="StaticProps"]
transform = Transform3D(-0.85850716, 0, -0.5128015, 0, 1, 0, 0.5128015, 0, -0.85850716, -2.3601918, 0, -2.252787)
mesh = ExtResource("14_yggoe")
skeleton = NodePath("")
[node name="Pipe_01" type="MeshInstance3D" parent="StaticProps"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.7166333, 2.5083172, 1)
mesh = ExtResource("15_2ulci")
skeleton = NodePath("")
[node name="Pipe_02" type="MeshInstance3D" parent="StaticProps"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.7166333, 2.5083172, 0.00089609623)
mesh = ExtResource("15_2ulci")
skeleton = NodePath("")
[node name="Pipe_03" type="MeshInstance3D" parent="StaticProps"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.7166333, 2.5083172, -1.0024906)
mesh = ExtResource("15_2ulci")
skeleton = NodePath("")
[node name="StaticLights" type="Node3D" parent="."]
[node name="Lamp_Ceiling_03" parent="StaticLights" instance=ExtResource("16_vfrn5")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.020000033, 3.0120342, -2.4300666)
[node name="Lamp_Ceiling_04" parent="StaticLights" instance=ExtResource("16_vfrn5")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.020000033, 3.0120342, 0.8081144)
[node name="Lamp_Ceiling_05" parent="StaticLights" instance=ExtResource("16_vfrn5")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.020000033, 3.0120342, -0.8094332)
[node name="Lamp_Wall" type="MeshInstance3D" parent="StaticLights"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5416596, 1.839902, 3.1698236)
mesh = ExtResource("17_vfrn5")
skeleton = NodePath("")
[node name="SpotLight3D" type="SpotLight3D" parent="StaticLights/Lamp_Wall"]
transform = Transform3D(-0.34056017, -0.696838, 0.6312177, -0.0052199676, 0.6727399, 0.7398605, -0.9402082, 0.2486721, -0.23274593, -0.9047221, 0.5877496, -1.1865652)
light_energy = 5.024
shadow_enabled = true
spot_range = 14.624
spot_attenuation = 2.83
spot_angle = 83.22
[node name="Collider" type="Node3D" parent="."]
[node name="StaticBody3D" type="StaticBody3D" parent="Collider"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Collider/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0)
shape = SubResource("BoxShape3D_vfrn5")
debug_fill = false
[node name="Character" parent="." instance=ExtResource("5_3j2fx")]
transform = Transform3D(-1.0392305, 0, -0.5999999, 0, 1.1999999, 0, 0.5999999, 0, -1.0392305, 0, 0.02320534, 0)
[node name="Misc" type="Node" parent="."]
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="Misc"]
light_energy = 0.0
[node name="WorldEnvironment" type="WorldEnvironment" parent="Misc"]
environment = SubResource("Environment_katsu")
[node name="VoxelGI" type="VoxelGI" parent="Misc"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.4750366, 2.2176208, 0.5115967)
size = Vector3(10.249878, 4.5215454, 7.8151855)
data = ExtResource("19_jxwrd")
[editable path="UndertakerAssets"]