Compare commits

..

2 Commits

Author SHA1 Message Date
Nikolai Fesenko
eb24d1d7de pot model with textures 2025-08-15 17:57:37 +02:00
Nikolai Fesenko
7da59523a7 person added start position 2025-08-15 15:26:47 +02:00
45 changed files with 112276 additions and 7 deletions

BIN
Blends/.DS_Store vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Blends/Pot/Image-1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 645 B

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cuco82r8ssy64"
path="res://.godot/imported/Image-1.jpg-87683192a4af65f7a71a7c3c2eba3883.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Blends/Pot/Image-1.jpg"
dest_files=["res://.godot/imported/Image-1.jpg-87683192a4af65f7a71a7c3c2eba3883.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

BIN
Blends/Pot/Image.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 645 B

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://xrbey75rfd2i"
path="res://.godot/imported/Image.jpg-e6dd0da321f5913bf80a76b6b91f5e92.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Blends/Pot/Image.jpg"
dest_files=["res://.godot/imported/Image.jpg-e6dd0da321f5913bf80a76b6b91f5e92.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

BIN
Blends/Pot/brick.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://boomg3nx6bcqy"
path="res://.godot/imported/brick.jpg-7607d78125be038893033b483e357a65.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Blends/Pot/brick.jpg"
dest_files=["res://.godot/imported/brick.jpg-7607d78125be038893033b483e357a65.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

BIN
Blends/Pot/brick_t.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 621 KiB

View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://run700pxmcyc"
path.s3tc="res://.godot/imported/brick_t.png-90e2f3141bb5eabadf10dc24fb5dd436.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Blends/Pot/brick_t.png"
dest_files=["res://.godot/imported/brick_t.png-90e2f3141bb5eabadf10dc24fb5dd436.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
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=0

BIN
Blends/Pot/pot.bin Normal file

Binary file not shown.

BIN
Blends/Pot/pot.blend Normal file

Binary file not shown.

View File

@@ -0,0 +1,53 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://mgf57kuah6ax"
path="res://.godot/imported/pot.blend-8ca30535f05099c484c6e584bd6921d7.scn"
[deps]
source_file="res://Blends/Pot/pot.blend"
dest_files=["res://.godot/imported/pot.blend-8ca30535f05099c484c6e584bd6921d7.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

BIN
Blends/Pot/pot.blend1 Normal file

Binary file not shown.

BIN
Blends/Pot/pot.fbx Normal file

Binary file not shown.

38
Blends/Pot/pot.fbx.import Normal file
View File

@@ -0,0 +1,38 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://ilpckpmy3b4a"
path="res://.godot/imported/pot.fbx-e0f581e1ec4102561b4ff91dfffa950a.scn"
[deps]
source_file="res://Blends/Pot/pot.fbx"
dest_files=["res://.godot/imported/pot.fbx-e0f581e1ec4102561b4ff91dfffa950a.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=true
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
fbx/importer=0
fbx/allow_geometry_helper_nodes=false
fbx/embedded_image_handling=1

BIN
Blends/Pot/pot.glb Normal file

Binary file not shown.

37
Blends/Pot/pot.glb.import Normal file
View File

@@ -0,0 +1,37 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://dnpsyt5iifgjt"
path="res://.godot/imported/pot.glb-90f293887d1ea46d8f2dbef02e562ad8.scn"
[deps]
source_file="res://Blends/Pot/pot.glb"
dest_files=["res://.godot/imported/pot.glb-90f293887d1ea46d8f2dbef02e562ad8.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

459
Blends/Pot/pot.gltf Normal file
View File

@@ -0,0 +1,459 @@
{
"asset":{
"generator":"Khronos glTF Blender I/O v4.5.47",
"version":"2.0"
},
"scene":0,
"scenes":[
{
"name":"Scene",
"nodes":[
0,
1,
2,
3
]
}
],
"nodes":[
{
"mesh":0,
"name":"Cylinder",
"scale":[
1,
0.05833327770233154,
1
],
"translation":[
0,
0.702717125415802,
-0.1414068341255188
]
},
{
"mesh":1,
"name":"Cylinder.001",
"rotation":[
0.04531620442867279,
-0.03841237723827362,
0.005588572472333908,
0.998218297958374
],
"scale":[
0.05992012470960617,
0.059920117259025574,
0.05992012470960617
],
"translation":[
1.8026195764541626,
0,
-0.9996663331985474
]
},
{
"mesh":2,
"name":"Cylinder.006",
"scale":[
0.0505528450012207,
0.0505528450012207,
0.05421614274382591
],
"translation":[
0,
1.730764389038086,
0.9574714303016663
]
},
{
"mesh":3,
"name":"Cube.005",
"rotation":[
0,
0.8513330221176147,
0,
0.5246256589889526
],
"scale":[
0.15160506963729858,
0.12913478910923004,
0.34067603945732117
],
"translation":[
0.911956787109375,
0,
0.8493203520774841
]
}
],
"materials":[
{
"doubleSided":true,
"name":"METAL",
"pbrMetallicRoughness":{
"baseColorFactor":[
0.03803402930498123,
0.0362187922000885,
0.0362187922000885,
1
],
"roughnessFactor":0.5
}
},
{
"doubleSided":true,
"name":"wood",
"pbrMetallicRoughness":{
"baseColorFactor":[
0.8002356290817261,
0.3069921135902405,
0.07449415326118469,
1
],
"metallicFactor":0
}
},
{
"doubleSided":true,
"name":"brick",
"pbrMetallicRoughness":{
"baseColorFactor":[
0.8003553152084351,
0.16634932160377502,
0.002611207775771618,
1
],
"metallicFactor":0,
"roughnessFactor":0.5
}
}
],
"meshes":[
{
"name":"Cylinder",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2
},
"indices":3,
"material":0
}
]
},
{
"name":"Cylinder.001",
"primitives":[
{
"attributes":{
"POSITION":4,
"NORMAL":5,
"TEXCOORD_0":6
},
"indices":7,
"material":1
}
]
},
{
"name":"Cylinder.006",
"primitives":[
{
"attributes":{
"POSITION":8,
"NORMAL":9,
"TEXCOORD_0":10
},
"indices":11,
"material":0
}
]
},
{
"name":"Cube.006",
"primitives":[
{
"attributes":{
"POSITION":12,
"NORMAL":13,
"TEXCOORD_0":14
},
"indices":15,
"material":2
}
]
}
],
"textures":[
{
"sampler":0,
"source":0
}
],
"images":[
{
"mimeType":"image/jpeg",
"name":"brick",
"uri":"brick.jpg"
},
{
"mimeType":"image/jpeg",
"name":"Image",
"uri":"Image.jpg"
},
{
"mimeType":"image/jpeg",
"name":"Image",
"uri":"Image-1.jpg"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":592,
"max":[
1.4747072458267212,
23.4283447265625,
1.4747072458267212
],
"min":[
-1.4747072458267212,
-1.249991536140442,
-1.4747072458267212
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":592,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":592,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5123,
"count":3060,
"type":"SCALAR"
},
{
"bufferView":4,
"componentType":5126,
"count":960,
"max":[
6.7511701583862305,
50.913761138916016,
28.817848205566406
],
"min":[
-61.67582321166992,
-1,
-1
],
"type":"VEC3"
},
{
"bufferView":5,
"componentType":5126,
"count":960,
"type":"VEC3"
},
{
"bufferView":6,
"componentType":5126,
"count":960,
"type":"VEC2"
},
{
"bufferView":7,
"componentType":5123,
"count":1860,
"type":"SCALAR"
},
{
"bufferView":8,
"componentType":5126,
"count":112276,
"max":[
1,
21.73442840576172,
0.9747595191001892
],
"min":[
-1,
-1.0477650165557861,
-42.49409866333008
],
"type":"VEC3"
},
{
"bufferView":9,
"componentType":5126,
"count":112276,
"type":"VEC3"
},
{
"bufferView":10,
"componentType":5126,
"count":112276,
"type":"VEC2"
},
{
"bufferView":11,
"componentType":5125,
"count":202740,
"type":"SCALAR"
},
{
"bufferView":12,
"componentType":5126,
"count":240,
"max":[
17.087989807128906,
1,
3.244313955307007
],
"min":[
-1.0856759548187256,
-1,
-4.23491907119751
],
"type":"VEC3"
},
{
"bufferView":13,
"componentType":5126,
"count":240,
"type":"VEC3"
},
{
"bufferView":14,
"componentType":5126,
"count":240,
"type":"VEC2"
},
{
"bufferView":15,
"componentType":5123,
"count":360,
"type":"SCALAR"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":7104,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":7104,
"byteOffset":7104,
"target":34962
},
{
"buffer":0,
"byteLength":4736,
"byteOffset":14208,
"target":34962
},
{
"buffer":0,
"byteLength":6120,
"byteOffset":18944,
"target":34963
},
{
"buffer":0,
"byteLength":11520,
"byteOffset":25064,
"target":34962
},
{
"buffer":0,
"byteLength":11520,
"byteOffset":36584,
"target":34962
},
{
"buffer":0,
"byteLength":7680,
"byteOffset":48104,
"target":34962
},
{
"buffer":0,
"byteLength":3720,
"byteOffset":55784,
"target":34963
},
{
"buffer":0,
"byteLength":1347312,
"byteOffset":59504,
"target":34962
},
{
"buffer":0,
"byteLength":1347312,
"byteOffset":1406816,
"target":34962
},
{
"buffer":0,
"byteLength":898208,
"byteOffset":2754128,
"target":34962
},
{
"buffer":0,
"byteLength":810960,
"byteOffset":3652336,
"target":34963
},
{
"buffer":0,
"byteLength":2880,
"byteOffset":4463296,
"target":34962
},
{
"buffer":0,
"byteLength":2880,
"byteOffset":4466176,
"target":34962
},
{
"buffer":0,
"byteLength":1920,
"byteOffset":4469056,
"target":34962
},
{
"buffer":0,
"byteLength":720,
"byteOffset":4470976,
"target":34963
}
],
"samplers":[
{
"magFilter":9729,
"minFilter":9987
}
],
"buffers":[
{
"byteLength":4471696,
"uri":"pot.bin"
}
]
}

View File

@@ -0,0 +1,37 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://bxvnsw5naeho2"
path="res://.godot/imported/pot.gltf-1eb68c9241ca96660760056085868b70.scn"
[deps]
source_file="res://Blends/Pot/pot.gltf"
dest_files=["res://.godot/imported/pot.gltf-1eb68c9241ca96660760056085868b70.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

42
Blends/Pot/pot.mtl Normal file
View File

@@ -0,0 +1,42 @@
# Blender 4.5.1 LTS MTL File: 'pot.blend'
# www.blender.org
newmtl METAL
Kd 0.038034 0.036219 0.036219
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.500000
d 1.000000
illum 3
Pr 0.500000
Pm 1.000000
Ps 0.000000
Pc 0.000000
Pcr 0.030000
aniso 0.000000
anisor 0.000000
newmtl brick
Kd 0.800000 0.800000 0.800000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
Pr 0.400000
Pm 0.000000
newmtl wood
Kd 0.800236 0.306992 0.074494
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.500000
d 1.000000
illum 2
Pr 1.000000
Pm 0.000000
Ps 0.000000
Pc 0.000000
Pcr 0.030000
aniso 0.000000
anisor 0.000000

111104
Blends/Pot/pot.obj Normal file

File diff suppressed because one or more lines are too long

25
Blends/Pot/pot.obj.import Normal file
View File

@@ -0,0 +1,25 @@
[remap]
importer="wavefront_obj"
importer_version=1
type="Mesh"
uid="uid://dqs5joeucls8u"
path="res://.godot/imported/pot.obj-7e0f67509badd1a285ba086fcfdacd1f.mesh"
[deps]
files=["res://.godot/imported/pot.obj-7e0f67509badd1a285ba086fcfdacd1f.mesh"]
source_file="res://Blends/Pot/pot.obj"
dest_files=["res://.godot/imported/pot.obj-7e0f67509badd1a285ba086fcfdacd1f.mesh", "res://.godot/imported/pot.obj-7e0f67509badd1a285ba086fcfdacd1f.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

BIN
Blends/Pot/pot_brick.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 KiB

View File

@@ -0,0 +1,38 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://fom8shxpn476"
path.s3tc="res://.godot/imported/pot_brick.jpg-33394c7a34dee156e2011daf5b10c1b8.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
generator_parameters={
"md5": "d1dd210d6b1312cb342b56d02bd5e651"
}
[deps]
source_file="res://Blends/Pot/pot_brick.jpg"
dest_files=["res://.godot/imported/pot_brick.jpg-33394c7a34dee156e2011daf5b10c1b8.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=1
compress/channel_pack=0
mipmaps/generate=true
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=0

BIN
Blends/Pot/pot_brick.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 621 KiB

View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bonxmo581dchn"
path.s3tc="res://.godot/imported/pot_brick.png-fd9ae52af5baff110ce1928665a74efa.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Blends/Pot/pot_brick.png"
dest_files=["res://.godot/imported/pot_brick.png-fd9ae52af5baff110ce1928665a74efa.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
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=0

BIN
Blends/Pot/pot_metal.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -0,0 +1,38 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c4cvsuxeqt068"
path.s3tc="res://.godot/imported/pot_metal.jpg-e2f018a6a20e13d9366b4b5afadf3193.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
generator_parameters={
"md5": "d1dd210d6b1312cb342b56d02bd5e651"
}
[deps]
source_file="res://Blends/Pot/pot_metal.jpg"
dest_files=["res://.godot/imported/pot_metal.jpg-e2f018a6a20e13d9366b4b5afadf3193.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
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=0

BIN
Blends/Pot/pot_wood.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View File

@@ -0,0 +1,38 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cdb7b2ef31ixv"
path.s3tc="res://.godot/imported/pot_wood.jpg-23d407d550c2b0fd635f5d234b0fb053.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
generator_parameters={
"md5": "11ecef8a42730953c15b90c3b102991d"
}
[deps]
source_file="res://Blends/Pot/pot_wood.jpg"
dest_files=["res://.godot/imported/pot_wood.jpg-23d407d550c2b0fd635f5d234b0fb053.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
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=0

BIN
Blends/Pot/rougness_m.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d2s2x3iufxnmd"
path.s3tc="res://.godot/imported/rougness_m.jpg-754b9c444df7123dc274014911fd02e1.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Blends/Pot/rougness_m.jpg"
dest_files=["res://.godot/imported/rougness_m.jpg-754b9c444df7123dc274014911fd02e1.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=1
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=1
roughness/src_normal="res://Blends/Pot/rougness_m.jpg"
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=0

BIN
Blends/Pot/rougness_m.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bw8k6hmfrwj60"
path.s3tc="res://.godot/imported/rougness_m.png-af06b7afc8e4a469c611ec5473869d2c.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Blends/Pot/rougness_m.png"
dest_files=["res://.godot/imported/rougness_m.png-af06b7afc8e4a469c611ec5473869d2c.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
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=0

BIN
Blends/Pot/wood_n.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 703 KiB

View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bxgm6oovlxdjq"
path.s3tc="res://.godot/imported/wood_n.png-0b476f2d77774fc83de6dcb3fb6467f4.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Blends/Pot/wood_n.png"
dest_files=["res://.godot/imported/wood_n.png-0b476f2d77774fc83de6dcb3fb6467f4.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=1
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=1
roughness/src_normal="res://Blends/Pot/wood_n.png"
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=0

View File

@@ -1,22 +1,31 @@
[gd_scene load_steps=4 format=3 uid="uid://dqrqq5vg8hek3"]
[gd_scene load_steps=6 format=3 uid="uid://dqrqq5vg8hek3"]
[ext_resource type="ArrayMesh" uid="uid://dwd6ylq5xn6kj" path="res://Blends/Person/Person.obj" id="1_11yxf"]
[ext_resource type="Script" uid="uid://d308e5vxshc06" path="res://Scripts/person.gd" id="1_dh77o"]
[ext_resource type="Shader" uid="uid://bm15rdsdxldwl" path="res://Shaders/shirt.gdshader" id="3_dbviw"]
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_dh77o"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_kmh38"]
render_priority = 0
shader = ExtResource("3_dbviw")
shader_parameter/shirt_color = Vector3(0, 0, 0)
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_dbviw"]
points = PackedVector3Array(0.465296, 4.41226, 2.90193, 0.333481, 5.90986, 1.44973, -0.46535, 4.41226, 2.90193, 0.465296, 2.1221, 2.90193, 0.88668, -1.00046, 1.81769, 0.465296, 4.41226, -1.76192, 0.333481, 5.90986, -0.25128, -0.333667, 5.90986, 1.44973, -0.46535, 4.41226, -1.76192, -0.46535, 2.1221, 2.90193, 0.88668, -1.35832, 1.81769, 0.88668, -1.00046, -0.616956, 0.465296, 2.1221, -1.76192, -0.333667, 5.90986, -0.25128, -0.46535, 2.1221, -1.76192, -0.46535, 1.86882, 1.75606, -0.424191, -1.35832, 1.81769, 0.88668, -1.35832, -0.616956, -0.424191, -1.35832, -0.616956, -0.46535, 1.86882, -0.6165)
[node name="Person" type="CharacterBody3D"]
script = ExtResource("1_dh77o")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 0, 0, 0)
transform = Transform3D(-1.31134e-08, 0, 0.3, 0, 0.3, 0, -0.3, 0, -1.31134e-08, 0, 0, 0.368102)
mesh = ExtResource("1_11yxf")
surface_material_override/1 = SubResource("ShaderMaterial_kmh38")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 0, 0, 0)
shape = SubResource("ConvexPolygonShape3D_dh77o")
transform = Transform3D(-1.31134e-08, 0, 0.3, 0, 0.3, 0, -0.3, 0, -1.31134e-08, 0, 0, 0.368102)
shape = SubResource("ConvexPolygonShape3D_dbviw")
[node name="NavigationAgent3D" type="NavigationAgent3D" parent="."]
avoidance_enabled = true
debug_enabled = true
[connection signal="navigation_finished" from="NavigationAgent3D" to="." method="_on_navigation_agent_3d_navigation_finished"]

34
Scenes/Prefabs/Pot.tscn Normal file
View File

@@ -0,0 +1,34 @@
[gd_scene load_steps=11 format=3 uid="uid://bcme5mx8nf5kf"]
[ext_resource type="ArrayMesh" uid="uid://dqs5joeucls8u" path="res://Blends/Pot/pot.obj" id="1_ps8qt"]
[ext_resource type="Texture2D" uid="uid://c4cvsuxeqt068" path="res://Blends/Pot/pot_metal.jpg" id="2_c5d30"]
[ext_resource type="Texture2D" uid="uid://fom8shxpn476" path="res://Blends/Pot/pot_brick.jpg" id="3_ocdig"]
[ext_resource type="Texture2D" uid="uid://bw8k6hmfrwj60" path="res://Blends/Pot/rougness_m.png" id="4_vv7mx"]
[ext_resource type="Texture2D" uid="uid://cdb7b2ef31ixv" path="res://Blends/Pot/pot_wood.jpg" id="5_gtq0i"]
[ext_resource type="Texture2D" uid="uid://bxgm6oovlxdjq" path="res://Blends/Pot/wood_n.png" id="6_r71lq"]
[ext_resource type="Texture2D" uid="uid://run700pxmcyc" path="res://Blends/Pot/brick_t.png" id="7_e7ek7"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_dn6sd"]
albedo_texture = ExtResource("2_c5d30")
roughness = 0.4
roughness_texture = ExtResource("4_vv7mx")
normal_enabled = true
normal_scale = -2.6
normal_texture = ExtResource("3_ocdig")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_uhv8u"]
albedo_texture = ExtResource("5_gtq0i")
normal_enabled = true
normal_texture = ExtResource("6_r71lq")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rbvpf"]
albedo_texture = ExtResource("7_e7ek7")
[node name="Pot" type="Node3D"]
[node name="Pot" type="MeshInstance3D" parent="."]
mesh = ExtResource("1_ps8qt")
surface_material_override/0 = SubResource("StandardMaterial3D_dn6sd")
surface_material_override/1 = SubResource("StandardMaterial3D_uhv8u")
surface_material_override/2 = SubResource("StandardMaterial3D_dn6sd")
surface_material_override/3 = SubResource("StandardMaterial3D_rbvpf")

View File

@@ -39,7 +39,7 @@ cartTop = NodePath("Cart-top")
mesh = ExtResource("1_ux2tx")
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="Cart-bottom"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.55366, 0)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.138559, 0)
navigation_mesh = SubResource("NavigationMesh_ru0md")
[node name="NavigationObstacle3D" type="NavigationObstacle3D" parent="Cart-bottom/NavigationRegion3D"]

View File

@@ -114,4 +114,4 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 20.321, 0.384693, -59.426)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 180.354, 0.385, -59.426)
[node name="Person" parent="." instance=ExtResource("5_kry3j")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.335692, 3.74189, -60.6947)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.335692, 3.32679, -60.6947)

View File

@@ -1,14 +1,28 @@
extends CharacterBody3D
var nav_agent: NavigationAgent3D
var shirt_shader: ShaderMaterial
var meshI: MeshInstance3D
var start_pos: Vector3
func _ready() -> void:
nav_agent = $NavigationAgent3D
meshI = $MeshInstance3D
shirt_shader = meshI.get_surface_override_material(1)
Global.object_placed.connect(_on_object_placed)
set_random_shirt()
start_pos = global_position
#nav_agent.target_position = Vector3(-15.955,3.486,-58.942)
func _physics_process(delta: float) -> void:
var new_velocity = global_position.direction_to(nav_agent.get_next_path_position()) * 5.0
look_at(nav_agent.target_position)
velocity = new_velocity
move_and_slide()
@@ -16,3 +30,13 @@ func _physics_process(delta: float) -> void:
func _on_object_placed():
nav_agent.target_position = Vector3(-14.305,3.486,-59.836)
func set_random_shirt():
var new_shirt_color = Vector3(randf(),randf(),randf())
shirt_shader.set_shader_parameter("shirt_color", new_shirt_color)
pass
func _on_navigation_agent_3d_navigation_finished() -> void:
nav_agent.target_position = start_pos

15
Shaders/shirt.gdshader Normal file
View File

@@ -0,0 +1,15 @@
shader_type spatial;
uniform vec3 shirt_color;
void vertex() {
// Called for every vertex the material is visible on.
}
void fragment() {
ALBEDO = shirt_color;
}
//void light() {
// // Called for every pixel for every light affecting the material.
// // Uncomment to replace the default light processing function with this one.
//}

View File

@@ -0,0 +1 @@
uid://bm15rdsdxldwl