new kitchen model

This commit is contained in:
Nikolai Fesenko
2025-08-13 16:09:34 +02:00
parent 69d384345a
commit 67182b4ccd
14 changed files with 3236 additions and 7 deletions

Binary file not shown.

View File

@@ -0,0 +1,53 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://ctfkf7fqw1su5"
path="res://.godot/imported/Kitchen.blend-1091f66d9917192dffb71f8ddaa10a3f.scn"
[deps]
source_file="res://Blends/Mobel/Kitchen/Kitchen.blend"
dest_files=["res://.godot/imported/Kitchen.blend-1091f66d9917192dffb71f8ddaa10a3f.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
blender/nodes/visible=0
blender/nodes/active_collection_only=false
blender/nodes/punctual_lights=true
blender/nodes/cameras=true
blender/nodes/custom_properties=true
blender/nodes/modifiers=1
blender/meshes/colors=false
blender/meshes/uvs=true
blender/meshes/normals=true
blender/meshes/export_geometry_nodes_instances=false
blender/meshes/tangents=true
blender/meshes/skins=2
blender/meshes/export_bones_deforming_mesh_only=false
blender/materials/unpack_enabled=true
blender/materials/export_materials=1
blender/animation/limit_playback=true
blender/animation/always_sample=true
blender/animation/group_tracks=true

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,37 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://fcsovxgw8xib"
path="res://.godot/imported/Kitchen.glb-d2096d5e04d062a743b9566d26cddffa.scn"
[deps]
source_file="res://Blends/Mobel/Kitchen/Kitchen.glb"
dest_files=["res://.godot/imported/Kitchen.glb-d2096d5e04d062a743b9566d26cddffa.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
gltf/naming_version=1
gltf/embedded_image_handling=1

View File

@@ -0,0 +1,62 @@
# Blender 4.5.1 LTS MTL File: 'Kitchen.blend'
# www.blender.org
newmtl Material.001
Kd 0.126973 0.048300 0.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.500000
d 1.000000
illum 2
Pr 0.500000
Pm 0.000000
Ps 0.000000
Pc 0.000000
Pcr 0.030000
aniso 0.000000
anisor 0.000000
newmtl Material.002
Kd 0.800505 0.775132 0.701850
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 3
Pr 0.440909
Pm 1.000000
Ps 0.000000
Pc 0.000000
Pcr 0.030000
aniso 0.000000
anisor 0.000000
newmtl Material.003
Kd 0.417278 0.183142 0.018734
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.500000
d 1.000000
illum 2
Pr 0.500000
Pm 0.000000
Ps 0.000000
Pc 0.000000
Pcr 0.030000
aniso 0.000000
anisor 0.000000
newmtl Material.004
Kd 0.800000 0.800000 0.800000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.500000
d 1.000000
illum 2
Pr 0.500000
Pm 0.000000
Ps 0.000000
Pc 0.000000
Pcr 0.030000
aniso 0.000000
anisor 0.000000

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,25 @@
[remap]
importer="wavefront_obj"
importer_version=1
type="Mesh"
uid="uid://b7owvfjfxla3b"
path="res://.godot/imported/Kitchen.obj-38cff61db01e9b38fb8500690eec02f4.mesh"
[deps]
files=["res://.godot/imported/Kitchen.obj-38cff61db01e9b38fb8500690eec02f4.mesh"]
source_file="res://Blends/Mobel/Kitchen/Kitchen.obj"
dest_files=["res://.godot/imported/Kitchen.obj-38cff61db01e9b38fb8500690eec02f4.mesh", "res://.godot/imported/Kitchen.obj-38cff61db01e9b38fb8500690eec02f4.mesh"]
[params]
generate_tangents=true
generate_lods=true
generate_shadow_mesh=true
generate_lightmap_uv2=false
generate_lightmap_uv2_texel_size=0.2
scale_mesh=Vector3(1, 1, 1)
offset_mesh=Vector3(0, 0, 0)
force_disable_mesh_compression=false

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://u60dmuyim1kt"
path="res://.godot/imported/knife.png-ae2e2aca74119e230023269fa7c97159.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Blends/Mobel/Kitchen/textures/knife.png"
dest_files=["res://.godot/imported/knife.png-ae2e2aca74119e230023269fa7c97159.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c2q78y54htn1t"
path="res://.godot/imported/table.png-eb338d83bf0bd86cc7fabd091e535f9b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Blends/Mobel/Kitchen/textures/table.png"
dest_files=["res://.godot/imported/table.png-eb338d83bf0bd86cc7fabd091e535f9b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -0,0 +1,7 @@
[gd_scene load_steps=2 format=3 uid="uid://c80ax0s6jq11a"]
[ext_resource type="PackedScene" uid="uid://ctfkf7fqw1su5" path="res://Blends/Mobel/Kitchen/Kitchen.blend" id="1_g1ggt"]
[node name="Kitchen" type="Node3D"]
[node name="Kitchen" parent="." instance=ExtResource("1_g1ggt")]

View File

@@ -19,7 +19,9 @@ func _input(event: InputEvent) -> void:
func _process(_delta: float) -> void: func _process(_delta: float) -> void:
if build_mode: if build_mode:
targetPos = mainCamera.getGlobalRayTargetObject() targetPos = mainCamera.getGlobalRayTargetObject()
mainCamera.debugLabel.text = targetPos.collider.name #mainCamera.debugLabel.text = targetPos.collider.name
if is_instance_valid(targetPos):
if targetPos.collider.has_meta("is_building_area"): if targetPos.collider.has_meta("is_building_area"):
#if targetPos.collider.is_building_area == true: #if targetPos.collider.is_building_area == true:
previewObject.visible = true previewObject.visible = true