generated from krampus/template-godot4
Gunk map scaling
This commit is contained in:
parent
c753aa68c9
commit
31b93c27ea
BIN
asset_dev/props/cube.blend
Normal file
BIN
asset_dev/props/cube.blend
Normal file
Binary file not shown.
50
asset_dev/props/cube.blend.import
Normal file
50
asset_dev/props/cube.blend.import
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://m0atwtyxjw8"
|
||||||
|
valid=false
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://asset_dev/props/cube.blend"
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
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/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
asset_dev/props/cylinder.blend
Normal file
BIN
asset_dev/props/cylinder.blend
Normal file
Binary file not shown.
50
asset_dev/props/cylinder.blend.import
Normal file
50
asset_dev/props/cylinder.blend.import
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://csngsk05g04f8"
|
||||||
|
valid=false
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://asset_dev/props/cylinder.blend"
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
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/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
asset_dev/props/cylinder.blend1
Normal file
BIN
asset_dev/props/cylinder.blend1
Normal file
Binary file not shown.
2
assets/props/cube/cube.mtl
Normal file
2
assets/props/cube/cube.mtl
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Blender 4.3.2 MTL File: 'cube.blend'
|
||||||
|
# www.blender.org
|
39
assets/props/cube/cube.obj
Normal file
39
assets/props/cube/cube.obj
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# Blender 4.3.2
|
||||||
|
# www.blender.org
|
||||||
|
mtllib cube.mtl
|
||||||
|
o Cube
|
||||||
|
v -4.000000 -4.000000 4.000000
|
||||||
|
v -4.000000 4.000000 4.000000
|
||||||
|
v -4.000000 -4.000000 -4.000000
|
||||||
|
v -4.000000 4.000000 -4.000000
|
||||||
|
v 4.000000 -4.000000 4.000000
|
||||||
|
v 4.000000 4.000000 4.000000
|
||||||
|
v 4.000000 -4.000000 -4.000000
|
||||||
|
v 4.000000 4.000000 -4.000000
|
||||||
|
vn -1.0000 -0.0000 -0.0000
|
||||||
|
vn -0.0000 -0.0000 -1.0000
|
||||||
|
vn 1.0000 -0.0000 -0.0000
|
||||||
|
vn -0.0000 -0.0000 1.0000
|
||||||
|
vn -0.0000 -1.0000 -0.0000
|
||||||
|
vn -0.0000 1.0000 -0.0000
|
||||||
|
vt 0.375000 0.000000
|
||||||
|
vt 0.625000 0.000000
|
||||||
|
vt 0.625000 0.250000
|
||||||
|
vt 0.375000 0.250000
|
||||||
|
vt 0.625000 0.500000
|
||||||
|
vt 0.375000 0.500000
|
||||||
|
vt 0.625000 0.750000
|
||||||
|
vt 0.375000 0.750000
|
||||||
|
vt 0.625000 1.000000
|
||||||
|
vt 0.375000 1.000000
|
||||||
|
vt 0.125000 0.500000
|
||||||
|
vt 0.125000 0.750000
|
||||||
|
vt 0.875000 0.500000
|
||||||
|
vt 0.875000 0.750000
|
||||||
|
s 0
|
||||||
|
f 1/1/1 2/2/1 4/3/1 3/4/1
|
||||||
|
f 3/4/2 4/3/2 8/5/2 7/6/2
|
||||||
|
f 7/6/3 8/5/3 6/7/3 5/8/3
|
||||||
|
f 5/8/4 6/7/4 2/9/4 1/10/4
|
||||||
|
f 3/11/5 7/6/5 5/8/5 1/12/5
|
||||||
|
f 8/5/6 4/13/6 2/14/6 6/7/6
|
22
assets/props/cube/cube.obj.import
Normal file
22
assets/props/cube/cube.obj.import
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wavefront_obj"
|
||||||
|
importer_version=1
|
||||||
|
type="Mesh"
|
||||||
|
uid="uid://bwgiytiic3t32"
|
||||||
|
path="res://.godot/imported/cube.obj-ab9559151bb70f2aff26b083ab0c7a1a.mesh"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
files=["res://.godot/imported/cube.obj-ab9559151bb70f2aff26b083ab0c7a1a.mesh"]
|
||||||
|
|
||||||
|
source_file="res://assets/props/cube/cube.obj"
|
||||||
|
dest_files=["res://.godot/imported/cube.obj-ab9559151bb70f2aff26b083ab0c7a1a.mesh", "res://.godot/imported/cube.obj-ab9559151bb70f2aff26b083ab0c7a1a.mesh"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
generate_tangents=true
|
||||||
|
scale_mesh=Vector3(1, 1, 1)
|
||||||
|
offset_mesh=Vector3(0, 0, 0)
|
||||||
|
optimize_mesh=true
|
||||||
|
force_disable_mesh_compression=false
|
2
assets/props/cylinder/cylinder.mtl
Normal file
2
assets/props/cylinder/cylinder.mtl
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Blender 4.3.2 MTL File: 'cylinder.blend'
|
||||||
|
# www.blender.org
|
297
assets/props/cylinder/cylinder.obj
Normal file
297
assets/props/cylinder/cylinder.obj
Normal file
@ -0,0 +1,297 @@
|
|||||||
|
# Blender 4.3.2
|
||||||
|
# www.blender.org
|
||||||
|
mtllib cylinder.mtl
|
||||||
|
o Cylinder
|
||||||
|
v 0.000000 -6.000000 -4.000000
|
||||||
|
v 0.000000 6.000000 -4.000000
|
||||||
|
v 0.780361 -6.000000 -3.923141
|
||||||
|
v 0.780361 6.000000 -3.923141
|
||||||
|
v 1.530734 -6.000000 -3.695518
|
||||||
|
v 1.530734 6.000000 -3.695518
|
||||||
|
v 2.222281 -6.000000 -3.325878
|
||||||
|
v 2.222281 6.000000 -3.325878
|
||||||
|
v 2.828427 -6.000000 -2.828427
|
||||||
|
v 2.828427 6.000000 -2.828427
|
||||||
|
v 3.325878 -6.000000 -2.222281
|
||||||
|
v 3.325878 6.000000 -2.222281
|
||||||
|
v 3.695518 -6.000000 -1.530734
|
||||||
|
v 3.695518 6.000000 -1.530734
|
||||||
|
v 3.923141 -6.000000 -0.780361
|
||||||
|
v 3.923141 6.000000 -0.780361
|
||||||
|
v 4.000000 -6.000000 0.000000
|
||||||
|
v 4.000000 6.000000 0.000000
|
||||||
|
v 3.923141 -6.000000 0.780361
|
||||||
|
v 3.923141 6.000000 0.780361
|
||||||
|
v 3.695518 -6.000000 1.530734
|
||||||
|
v 3.695518 6.000000 1.530734
|
||||||
|
v 3.325878 -6.000000 2.222281
|
||||||
|
v 3.325878 6.000000 2.222281
|
||||||
|
v 2.828427 -6.000000 2.828427
|
||||||
|
v 2.828427 6.000000 2.828427
|
||||||
|
v 2.222281 -6.000000 3.325878
|
||||||
|
v 2.222281 6.000000 3.325878
|
||||||
|
v 1.530734 -6.000000 3.695518
|
||||||
|
v 1.530734 6.000000 3.695518
|
||||||
|
v 0.780361 -6.000000 3.923141
|
||||||
|
v 0.780361 6.000000 3.923141
|
||||||
|
v 0.000000 -6.000000 4.000000
|
||||||
|
v 0.000000 6.000000 4.000000
|
||||||
|
v -0.780361 -6.000000 3.923141
|
||||||
|
v -0.780361 6.000000 3.923141
|
||||||
|
v -1.530734 -6.000000 3.695518
|
||||||
|
v -1.530734 6.000000 3.695518
|
||||||
|
v -2.222281 -6.000000 3.325878
|
||||||
|
v -2.222281 6.000000 3.325878
|
||||||
|
v -2.828427 -6.000000 2.828427
|
||||||
|
v -2.828427 6.000000 2.828427
|
||||||
|
v -3.325878 -6.000000 2.222281
|
||||||
|
v -3.325878 6.000000 2.222281
|
||||||
|
v -3.695518 -6.000000 1.530734
|
||||||
|
v -3.695518 6.000000 1.530734
|
||||||
|
v -3.923141 -6.000000 0.780361
|
||||||
|
v -3.923141 6.000000 0.780361
|
||||||
|
v -4.000000 -6.000000 0.000000
|
||||||
|
v -4.000000 6.000000 0.000000
|
||||||
|
v -3.923141 -6.000000 -0.780361
|
||||||
|
v -3.923141 6.000000 -0.780361
|
||||||
|
v -3.695518 -6.000000 -1.530734
|
||||||
|
v -3.695518 6.000000 -1.530734
|
||||||
|
v -3.325878 -6.000000 -2.222281
|
||||||
|
v -3.325878 6.000000 -2.222281
|
||||||
|
v -2.828427 -6.000000 -2.828427
|
||||||
|
v -2.828427 6.000000 -2.828427
|
||||||
|
v -2.222281 -6.000000 -3.325878
|
||||||
|
v -2.222281 6.000000 -3.325878
|
||||||
|
v -1.530734 -6.000000 -3.695518
|
||||||
|
v -1.530734 6.000000 -3.695518
|
||||||
|
v -0.780361 -6.000000 -3.923141
|
||||||
|
v -0.780361 6.000000 -3.923141
|
||||||
|
vn -0.0000 -0.6857 -0.7279
|
||||||
|
vn -0.0000 0.6857 -0.7279
|
||||||
|
vn 0.1420 -0.6857 -0.7139
|
||||||
|
vn 0.1420 0.6857 -0.7139
|
||||||
|
vn 0.2785 -0.6857 -0.6725
|
||||||
|
vn 0.2785 0.6857 -0.6725
|
||||||
|
vn 0.4044 -0.6857 -0.6052
|
||||||
|
vn 0.4044 0.6857 -0.6052
|
||||||
|
vn 0.5147 -0.6857 -0.5147
|
||||||
|
vn 0.5147 0.6857 -0.5147
|
||||||
|
vn 0.6052 -0.6857 -0.4044
|
||||||
|
vn 0.6052 0.6857 -0.4044
|
||||||
|
vn 0.6725 -0.6857 -0.2785
|
||||||
|
vn 0.6725 0.6857 -0.2785
|
||||||
|
vn 0.7139 -0.6857 -0.1420
|
||||||
|
vn 0.7139 0.6857 -0.1420
|
||||||
|
vn 0.7279 -0.6857 -0.0000
|
||||||
|
vn 0.7279 0.6857 -0.0000
|
||||||
|
vn 0.7139 -0.6857 0.1420
|
||||||
|
vn 0.7139 0.6857 0.1420
|
||||||
|
vn 0.6725 -0.6857 0.2785
|
||||||
|
vn 0.6725 0.6857 0.2785
|
||||||
|
vn 0.6052 -0.6857 0.4044
|
||||||
|
vn 0.6052 0.6857 0.4044
|
||||||
|
vn 0.5147 -0.6857 0.5147
|
||||||
|
vn 0.5147 0.6857 0.5147
|
||||||
|
vn 0.4044 -0.6857 0.6052
|
||||||
|
vn 0.4044 0.6857 0.6052
|
||||||
|
vn 0.2785 -0.6857 0.6725
|
||||||
|
vn 0.2785 0.6857 0.6725
|
||||||
|
vn 0.1420 -0.6857 0.7139
|
||||||
|
vn 0.1420 0.6857 0.7139
|
||||||
|
vn -0.0000 -0.6857 0.7279
|
||||||
|
vn -0.0000 0.6857 0.7279
|
||||||
|
vn -0.1420 -0.6857 0.7139
|
||||||
|
vn -0.1420 0.6857 0.7139
|
||||||
|
vn -0.2785 -0.6857 0.6725
|
||||||
|
vn -0.2785 0.6857 0.6725
|
||||||
|
vn -0.4044 -0.6857 0.6052
|
||||||
|
vn -0.4044 0.6857 0.6052
|
||||||
|
vn -0.5147 -0.6857 0.5147
|
||||||
|
vn -0.5147 0.6857 0.5147
|
||||||
|
vn -0.6052 -0.6857 0.4044
|
||||||
|
vn -0.6052 0.6857 0.4044
|
||||||
|
vn -0.6725 -0.6857 0.2785
|
||||||
|
vn -0.6725 0.6857 0.2785
|
||||||
|
vn -0.7139 -0.6857 0.1420
|
||||||
|
vn -0.7139 0.6857 0.1420
|
||||||
|
vn -0.7279 -0.6857 -0.0000
|
||||||
|
vn -0.7279 0.6857 -0.0000
|
||||||
|
vn -0.7139 -0.6857 -0.1420
|
||||||
|
vn -0.7139 0.6857 -0.1420
|
||||||
|
vn -0.6725 -0.6857 -0.2785
|
||||||
|
vn -0.6725 0.6857 -0.2785
|
||||||
|
vn -0.6052 -0.6857 -0.4044
|
||||||
|
vn -0.6052 0.6857 -0.4044
|
||||||
|
vn -0.5147 -0.6857 -0.5147
|
||||||
|
vn -0.5147 0.6857 -0.5147
|
||||||
|
vn -0.4044 -0.6857 -0.6052
|
||||||
|
vn -0.4044 0.6857 -0.6052
|
||||||
|
vn -0.2785 -0.6857 -0.6725
|
||||||
|
vn -0.2785 0.6857 -0.6725
|
||||||
|
vn -0.1420 -0.6857 -0.7139
|
||||||
|
vn -0.1420 0.6857 -0.7139
|
||||||
|
vt 1.000000 0.500000
|
||||||
|
vt 1.000000 1.000000
|
||||||
|
vt 0.968750 1.000000
|
||||||
|
vt 0.968750 0.500000
|
||||||
|
vt 0.937500 1.000000
|
||||||
|
vt 0.937500 0.500000
|
||||||
|
vt 0.906250 1.000000
|
||||||
|
vt 0.906250 0.500000
|
||||||
|
vt 0.875000 1.000000
|
||||||
|
vt 0.875000 0.500000
|
||||||
|
vt 0.843750 1.000000
|
||||||
|
vt 0.843750 0.500000
|
||||||
|
vt 0.812500 1.000000
|
||||||
|
vt 0.812500 0.500000
|
||||||
|
vt 0.781250 1.000000
|
||||||
|
vt 0.781250 0.500000
|
||||||
|
vt 0.750000 1.000000
|
||||||
|
vt 0.750000 0.500000
|
||||||
|
vt 0.718750 1.000000
|
||||||
|
vt 0.718750 0.500000
|
||||||
|
vt 0.687500 1.000000
|
||||||
|
vt 0.687500 0.500000
|
||||||
|
vt 0.656250 1.000000
|
||||||
|
vt 0.656250 0.500000
|
||||||
|
vt 0.625000 1.000000
|
||||||
|
vt 0.625000 0.500000
|
||||||
|
vt 0.593750 1.000000
|
||||||
|
vt 0.593750 0.500000
|
||||||
|
vt 0.562500 1.000000
|
||||||
|
vt 0.562500 0.500000
|
||||||
|
vt 0.531250 1.000000
|
||||||
|
vt 0.531250 0.500000
|
||||||
|
vt 0.500000 1.000000
|
||||||
|
vt 0.500000 0.500000
|
||||||
|
vt 0.468750 1.000000
|
||||||
|
vt 0.468750 0.500000
|
||||||
|
vt 0.437500 1.000000
|
||||||
|
vt 0.437500 0.500000
|
||||||
|
vt 0.406250 1.000000
|
||||||
|
vt 0.406250 0.500000
|
||||||
|
vt 0.375000 1.000000
|
||||||
|
vt 0.375000 0.500000
|
||||||
|
vt 0.343750 1.000000
|
||||||
|
vt 0.343750 0.500000
|
||||||
|
vt 0.312500 1.000000
|
||||||
|
vt 0.312500 0.500000
|
||||||
|
vt 0.281250 1.000000
|
||||||
|
vt 0.281250 0.500000
|
||||||
|
vt 0.250000 1.000000
|
||||||
|
vt 0.250000 0.500000
|
||||||
|
vt 0.218750 1.000000
|
||||||
|
vt 0.218750 0.500000
|
||||||
|
vt 0.187500 1.000000
|
||||||
|
vt 0.187500 0.500000
|
||||||
|
vt 0.156250 1.000000
|
||||||
|
vt 0.156250 0.500000
|
||||||
|
vt 0.125000 1.000000
|
||||||
|
vt 0.125000 0.500000
|
||||||
|
vt 0.093750 1.000000
|
||||||
|
vt 0.093750 0.500000
|
||||||
|
vt 0.062500 1.000000
|
||||||
|
vt 0.062500 0.500000
|
||||||
|
vt 0.296822 0.485388
|
||||||
|
vt 0.250000 0.490000
|
||||||
|
vt 0.203178 0.485388
|
||||||
|
vt 0.158156 0.471731
|
||||||
|
vt 0.116663 0.449553
|
||||||
|
vt 0.080294 0.419706
|
||||||
|
vt 0.050447 0.383337
|
||||||
|
vt 0.028269 0.341844
|
||||||
|
vt 0.014612 0.296822
|
||||||
|
vt 0.010000 0.250000
|
||||||
|
vt 0.014612 0.203178
|
||||||
|
vt 0.028269 0.158156
|
||||||
|
vt 0.050447 0.116663
|
||||||
|
vt 0.080294 0.080294
|
||||||
|
vt 0.116663 0.050447
|
||||||
|
vt 0.158156 0.028269
|
||||||
|
vt 0.203178 0.014612
|
||||||
|
vt 0.250000 0.010000
|
||||||
|
vt 0.296822 0.014612
|
||||||
|
vt 0.341844 0.028269
|
||||||
|
vt 0.383337 0.050447
|
||||||
|
vt 0.419706 0.080294
|
||||||
|
vt 0.449553 0.116663
|
||||||
|
vt 0.471731 0.158156
|
||||||
|
vt 0.485388 0.203178
|
||||||
|
vt 0.490000 0.250000
|
||||||
|
vt 0.485388 0.296822
|
||||||
|
vt 0.471731 0.341844
|
||||||
|
vt 0.449553 0.383337
|
||||||
|
vt 0.419706 0.419706
|
||||||
|
vt 0.383337 0.449553
|
||||||
|
vt 0.341844 0.471731
|
||||||
|
vt 0.031250 1.000000
|
||||||
|
vt 0.031250 0.500000
|
||||||
|
vt 0.000000 1.000000
|
||||||
|
vt 0.000000 0.500000
|
||||||
|
vt 0.750000 0.490000
|
||||||
|
vt 0.796822 0.485388
|
||||||
|
vt 0.841844 0.471731
|
||||||
|
vt 0.883337 0.449553
|
||||||
|
vt 0.919706 0.419706
|
||||||
|
vt 0.949553 0.383337
|
||||||
|
vt 0.971731 0.341844
|
||||||
|
vt 0.985388 0.296822
|
||||||
|
vt 0.990000 0.250000
|
||||||
|
vt 0.985388 0.203178
|
||||||
|
vt 0.971731 0.158156
|
||||||
|
vt 0.949553 0.116663
|
||||||
|
vt 0.919706 0.080294
|
||||||
|
vt 0.883337 0.050447
|
||||||
|
vt 0.841844 0.028269
|
||||||
|
vt 0.796822 0.014612
|
||||||
|
vt 0.750000 0.010000
|
||||||
|
vt 0.703178 0.014612
|
||||||
|
vt 0.658156 0.028269
|
||||||
|
vt 0.616663 0.050447
|
||||||
|
vt 0.580294 0.080294
|
||||||
|
vt 0.550447 0.116663
|
||||||
|
vt 0.528269 0.158156
|
||||||
|
vt 0.514612 0.203178
|
||||||
|
vt 0.510000 0.250000
|
||||||
|
vt 0.514612 0.296822
|
||||||
|
vt 0.528269 0.341844
|
||||||
|
vt 0.550447 0.383337
|
||||||
|
vt 0.580294 0.419706
|
||||||
|
vt 0.616663 0.449553
|
||||||
|
vt 0.658156 0.471731
|
||||||
|
vt 0.703178 0.485388
|
||||||
|
s 1
|
||||||
|
f 1/1/1 2/2/2 4/3/4 3/4/3
|
||||||
|
f 3/4/3 4/3/4 6/5/6 5/6/5
|
||||||
|
f 5/6/5 6/5/6 8/7/8 7/8/7
|
||||||
|
f 7/8/7 8/7/8 10/9/10 9/10/9
|
||||||
|
f 9/10/9 10/9/10 12/11/12 11/12/11
|
||||||
|
f 11/12/11 12/11/12 14/13/14 13/14/13
|
||||||
|
f 13/14/13 14/13/14 16/15/16 15/16/15
|
||||||
|
f 15/16/15 16/15/16 18/17/18 17/18/17
|
||||||
|
f 17/18/17 18/17/18 20/19/20 19/20/19
|
||||||
|
f 19/20/19 20/19/20 22/21/22 21/22/21
|
||||||
|
f 21/22/21 22/21/22 24/23/24 23/24/23
|
||||||
|
f 23/24/23 24/23/24 26/25/26 25/26/25
|
||||||
|
f 25/26/25 26/25/26 28/27/28 27/28/27
|
||||||
|
f 27/28/27 28/27/28 30/29/30 29/30/29
|
||||||
|
f 29/30/29 30/29/30 32/31/32 31/32/31
|
||||||
|
f 31/32/31 32/31/32 34/33/34 33/34/33
|
||||||
|
f 33/34/33 34/33/34 36/35/36 35/36/35
|
||||||
|
f 35/36/35 36/35/36 38/37/38 37/38/37
|
||||||
|
f 37/38/37 38/37/38 40/39/40 39/40/39
|
||||||
|
f 39/40/39 40/39/40 42/41/42 41/42/41
|
||||||
|
f 41/42/41 42/41/42 44/43/44 43/44/43
|
||||||
|
f 43/44/43 44/43/44 46/45/46 45/46/45
|
||||||
|
f 45/46/45 46/45/46 48/47/48 47/48/47
|
||||||
|
f 47/48/47 48/47/48 50/49/50 49/50/49
|
||||||
|
f 49/50/49 50/49/50 52/51/52 51/52/51
|
||||||
|
f 51/52/51 52/51/52 54/53/54 53/54/53
|
||||||
|
f 53/54/53 54/53/54 56/55/56 55/56/55
|
||||||
|
f 55/56/55 56/55/56 58/57/58 57/58/57
|
||||||
|
f 57/58/57 58/57/58 60/59/60 59/60/59
|
||||||
|
f 59/60/59 60/59/60 62/61/62 61/62/61
|
||||||
|
f 4/63/4 2/64/2 64/65/64 62/66/62 60/67/60 58/68/58 56/69/56 54/70/54 52/71/52 50/72/50 48/73/48 46/74/46 44/75/44 42/76/42 40/77/40 38/78/38 36/79/36 34/80/34 32/81/32 30/82/30 28/83/28 26/84/26 24/85/24 22/86/22 20/87/20 18/88/18 16/89/16 14/90/14 12/91/12 10/92/10 8/93/8 6/94/6
|
||||||
|
f 61/62/61 62/61/62 64/95/64 63/96/63
|
||||||
|
f 63/96/63 64/95/64 2/97/2 1/98/1
|
||||||
|
f 1/99/1 3/100/3 5/101/5 7/102/7 9/103/9 11/104/11 13/105/13 15/106/15 17/107/17 19/108/19 21/109/21 23/110/23 25/111/25 27/112/27 29/113/29 31/114/31 33/115/33 35/116/35 37/117/37 39/118/39 41/119/41 43/120/43 45/121/45 47/122/47 49/123/49 51/124/51 53/125/53 55/126/55 57/127/57 59/128/59 61/129/61 63/130/63
|
22
assets/props/cylinder/cylinder.obj.import
Normal file
22
assets/props/cylinder/cylinder.obj.import
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wavefront_obj"
|
||||||
|
importer_version=1
|
||||||
|
type="Mesh"
|
||||||
|
uid="uid://dchtriuljuloj"
|
||||||
|
path="res://.godot/imported/cylinder.obj-9147f426631a34c9a8025d25057a768d.mesh"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
files=["res://.godot/imported/cylinder.obj-9147f426631a34c9a8025d25057a768d.mesh"]
|
||||||
|
|
||||||
|
source_file="res://assets/props/cylinder/cylinder.obj"
|
||||||
|
dest_files=["res://.godot/imported/cylinder.obj-9147f426631a34c9a8025d25057a768d.mesh", "res://.godot/imported/cylinder.obj-9147f426631a34c9a8025d25057a768d.mesh"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
generate_tangents=true
|
||||||
|
scale_mesh=Vector3(1, 1, 1)
|
||||||
|
offset_mesh=Vector3(0, 0, 0)
|
||||||
|
optimize_mesh=true
|
||||||
|
force_disable_mesh_compression=false
|
File diff suppressed because one or more lines are too long
@ -4,6 +4,8 @@ class_name GunkBody extends StaticBody3D
|
|||||||
const FACE_EPSILON := 0.4
|
const FACE_EPSILON := 0.4
|
||||||
const MASK_COLOR := Color.RED
|
const MASK_COLOR := Color.RED
|
||||||
|
|
||||||
|
@export var mask_dim := 1024
|
||||||
|
|
||||||
var meshtool := MeshDataTool.new()
|
var meshtool := MeshDataTool.new()
|
||||||
|
|
||||||
@onready var mesh_instance: MeshInstance3D = $MeshInstance3D
|
@onready var mesh_instance: MeshInstance3D = $MeshInstance3D
|
||||||
@ -15,6 +17,7 @@ var meshtool := MeshDataTool.new()
|
|||||||
|
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
|
mask_viewport.size = Vector2(mask_dim, mask_dim)
|
||||||
gunk_mat.set_shader_parameter("gunk_mask", mask_viewport.get_texture())
|
gunk_mat.set_shader_parameter("gunk_mask", mask_viewport.get_texture())
|
||||||
meshtool.create_from_surface(mesh, 0)
|
meshtool.create_from_surface(mesh, 0)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user