Replace stool b with a LOD setup

This commit is contained in:
stilobique-i7
2021-05-25 17:39:21 +02:00
committed by VAILLANT Jeremy
parent 721197ae1d
commit a43be5179d
15 changed files with 2523 additions and 225 deletions
File diff suppressed because one or more lines are too long
@@ -2,21 +2,21 @@
importer="scene" importer="scene"
type="PackedScene" type="PackedScene"
path="res://.import/stool b.gltf-5776469b872ece03917c6c18f246c4b8.scn" path="res://.import/sm_stool_2_lod0.gltf-4f859ff5e29e612c39f793aad872ffb0.scn"
[deps] [deps]
source_file="res://assets/props/stool b/stool b.gltf" source_file="res://assets/props/stool b/sm_stool_2_lod0.gltf"
dest_files=[ "res://.import/stool b.gltf-5776469b872ece03917c6c18f246c4b8.scn" ] dest_files=[ "res://.import/sm_stool_2_lod0.gltf-4f859ff5e29e612c39f793aad872ffb0.scn" ]
[params] [params]
nodes/root_type="Spatial" nodes/root_type="ArrayMesh"
nodes/root_name="Scene Root" nodes/root_name="Scene Root"
nodes/root_scale=1.0 nodes/root_scale=1.0
nodes/custom_script="" nodes/custom_script=""
nodes/storage=0 nodes/storage=0
nodes/use_legacy_names=true nodes/use_legacy_names=false
materials/location=1 materials/location=1
materials/storage=0 materials/storage=0
materials/keep_on_reimport=false materials/keep_on_reimport=false
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
Binary file not shown.
+10
View File
@@ -0,0 +1,10 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://assets/props/stool b/sm_stool_2_lod1.mesh" type="ArrayMesh" id=1]
[node name="sm_stool_b" type="Spatial"]
[node name="sm_stool_2_lod1" type="MeshInstance" parent="."]
use_in_baked_light = true
mesh = ExtResource( 1 )
material/0 = null
File diff suppressed because one or more lines are too long
Binary file not shown.
+1 -1
View File
@@ -21,4 +21,4 @@ flags/filter=true
flags/mipmaps=false flags/mipmaps=false
flags/srgb=false flags/srgb=false
slices/horizontal=1 slices/horizontal=1
slices/vertical=4 slices/vertical=1
Binary file not shown.
+7 -25
View File
@@ -4,8 +4,8 @@
[ext_resource path="res://assets/props/candle/sm_candlestick.tscn" type="PackedScene" id=1] [ext_resource path="res://assets/props/candle/sm_candlestick.tscn" type="PackedScene" id=1]
[ext_resource path="res://scenes/levels/warcraft/WarCraft.gd" type="Script" id=2] [ext_resource path="res://scenes/levels/warcraft/WarCraft.gd" type="Script" id=2]
[ext_resource path="res://assets/props/growler/sm_growler.tscn" type="PackedScene" id=3] [ext_resource path="res://assets/props/growler/sm_growler.tscn" type="PackedScene" id=3]
[ext_resource path="res://assets/props/stool b/sm_stool_b.tscn" type="PackedScene" id=4]
[ext_resource path="res://assets/props/rock floor/materials/MA_rock_floor.material" type="Material" id=5] [ext_resource path="res://assets/props/rock floor/materials/MA_rock_floor.material" type="Material" id=5]
[ext_resource path="res://assets/props/stool b/sm_stool_b.mesh" type="ArrayMesh" id=6]
[ext_resource path="res://assets/props/godet/sm_godet.tscn" type="PackedScene" id=7] [ext_resource path="res://assets/props/godet/sm_godet.tscn" type="PackedScene" id=7]
[ext_resource path="res://assets/materials/gray.tres" type="Material" id=8] [ext_resource path="res://assets/materials/gray.tres" type="Material" id=8]
[ext_resource path="res://assets/props/candle/sm_candle_b_lod1.mesh" type="ArrayMesh" id=9] [ext_resource path="res://assets/props/candle/sm_candle_b_lod1.mesh" type="ArrayMesh" id=9]
@@ -363,41 +363,23 @@ transform = Transform( 1.0543, -0.0109484, 1.03432, -0.0329634, 1.4758, 0.049221
[node name="sm_table" parent="Main Scene Props" instance=ExtResource( 18 )] [node name="sm_table" parent="Main Scene Props" instance=ExtResource( 18 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0926853, 0.0400838, 0.290515 ) transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0926853, 0.0400838, 0.290515 )
[node name="sm_stool_b2" type="MeshInstance" parent="Main Scene Props"] [node name="sm_stool_b3" parent="Main Scene Props" instance=ExtResource( 4 )]
transform = Transform( -0.232037, 0, -0.972707, 0, 1, 0, 0.972707, 0, -0.232037, -2.91873, 0.0130518, 0.702275 ) transform = Transform( -0.232037, 0, -0.972707, 0, 1, 0, 0.972707, 0, -0.232037, -2.91873, 0.0130518, 0.702275 )
use_in_baked_light = true
mesh = ExtResource( 6 )
material/0 = null
[node name="sm_stool_b3" type="MeshInstance" parent="Main Scene Props"] [node name="sm_stool_b7" parent="Main Scene Props" instance=ExtResource( 4 )]
transform = Transform( 0.769693, -0.034908, -0.637459, 0.0288114, 0.999386, -0.0199395, 0.637764, -0.00301879, 0.770226, -4.33166, 0.0231258, 1.08363 ) transform = Transform( 0.769693, -0.034908, -0.637459, 0.0288114, 0.999386, -0.0199395, 0.637764, -0.00301879, 0.770226, -4.33166, 0.0231258, 1.08363 )
use_in_baked_light = true
mesh = ExtResource( 6 )
material/0 = null
[node name="sm_stool_b7" type="MeshInstance" parent="Main Scene Props"] [node name="sm_stool_b4" parent="Main Scene Props" instance=ExtResource( 4 )]
transform = Transform( 0.98104, 0, 0.193806, 0, 1, 0, -0.193806, 0, 0.98104, -3.04076, 0.0372323, -0.817556 ) transform = Transform( 0.98104, 0, 0.193806, 0, 1, 0, -0.193806, 0, 0.98104, -3.04076, 0.0372323, -0.817556 )
use_in_baked_light = true
mesh = ExtResource( 6 )
material/0 = null
[node name="sm_stool_b4" type="MeshInstance" parent="Main Scene Props"] [node name="sm_stool_b5" parent="Main Scene Props" instance=ExtResource( 4 )]
transform = Transform( 0.656257, 0, 0.754538, 0, 1, 0, -0.754538, 0, 0.656257, -0.888955, 0.0130518, 1.64328 ) transform = Transform( 0.656257, 0, 0.754538, 0, 1, 0, -0.754538, 0, 0.656257, -0.888955, 0.0130518, 1.64328 )
use_in_baked_light = true
mesh = ExtResource( 6 )
material/0 = null
[node name="sm_stool_b5" type="MeshInstance" parent="Main Scene Props"] [node name="sm_stool_b6" parent="Main Scene Props" instance=ExtResource( 4 )]
transform = Transform( 0.892389, 0, -0.451267, 0, 1, 0, 0.451267, 0, 0.892389, 1.35966, 0.013052, 1.23435 ) transform = Transform( 0.892389, 0, -0.451267, 0, 1, 0, 0.451267, 0, 0.892389, 1.35966, 0.013052, 1.23435 )
use_in_baked_light = true
mesh = ExtResource( 6 )
material/0 = null
[node name="sm_stool_b6" type="MeshInstance" parent="Main Scene Props"] [node name="sm_stool_b" parent="Main Scene Props" instance=ExtResource( 4 )]
transform = Transform( 0.839193, 0, 0.543834, 0, 1, 0, -0.543834, 0, 0.839193, 0.474083, 0.013052, -1.39025 ) transform = Transform( 0.839193, 0, 0.543834, 0, 1, 0, -0.543834, 0, 0.839193, 0.474083, 0.013052, -1.39025 )
use_in_baked_light = true
mesh = ExtResource( 6 )
material/0 = null
[node name="sm_book2" parent="Main Scene Props" instance=ExtResource( 46 )] [node name="sm_book2" parent="Main Scene Props" instance=ExtResource( 46 )]
transform = Transform( 0.122577, 0.0288089, -0.992041, -0.0361233, 0.999045, 0.0245489, 0.991801, 0.0328267, 0.1235, 0.493202, 0.942654, -0.0854386 ) transform = Transform( 0.122577, 0.0288089, -0.992041, -0.0361233, 0.999045, 0.0245489, 0.991801, 0.0328267, 0.1235, 0.493202, 0.942654, -0.0854386 )