Replace growler mesh with a lod setup

This commit is contained in:
stilobique-i7
2021-05-24 23:53:23 +02:00
parent 3da68d1af0
commit 3b6a70596e
15 changed files with 2519 additions and 212 deletions
File diff suppressed because one or more lines are too long
Binary file not shown.
+10
View File
@@ -0,0 +1,10 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://assets/props/growler/sm_growler_lod1.mesh" type="ArrayMesh" id=1]
[node name="sm_growler" type="Spatial"]
[node name="sm_growler_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
@@ -2,21 +2,21 @@
importer="scene" importer="scene"
type="PackedScene" type="PackedScene"
path="res://.import/growler.gltf-5b37cd26e490f043cc3e01f9844feaef.scn" path="res://.import/sm_growler_lod0.gltf-47f2a5e8d605e31f52e59372a1624ac0.scn"
[deps] [deps]
source_file="res://assets/props/growler/growler.gltf" source_file="res://assets/props/growler/sm_growler_lod0.gltf"
dest_files=[ "res://.import/growler.gltf-5b37cd26e490f043cc3e01f9844feaef.scn" ] dest_files=[ "res://.import/sm_growler_lod0.gltf-47f2a5e8d605e31f52e59372a1624ac0.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.
Binary file not shown.
Binary file not shown.
+4 -13
View File
@@ -2,13 +2,13 @@
[ext_resource path="res://assets/props/candle/sm_candle_top.mesh" type="ArrayMesh" id=1] [ext_resource path="res://assets/props/candle/sm_candle_top.mesh" type="ArrayMesh" 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/candle/sm_candlestick.mesh" type="ArrayMesh" id=4] [ext_resource path="res://assets/props/candle/sm_candlestick.mesh" type="ArrayMesh" 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/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.mesh" type="ArrayMesh" id=9] [ext_resource path="res://assets/props/candle/sm_candle_b.mesh" type="ArrayMesh" id=9]
[ext_resource path="res://assets/props/growler/sm_growler.mesh" type="ArrayMesh" id=10]
[ext_resource path="res://assets/hdri/tx_night_place.hdr" type="Texture" id=11] [ext_resource path="res://assets/hdri/tx_night_place.hdr" type="Texture" id=11]
[ext_resource path="res://assets/props/rock floor/floor_lib.meshlib" type="MeshLibrary" id=12] [ext_resource path="res://assets/props/rock floor/floor_lib.meshlib" type="MeshLibrary" id=12]
[ext_resource path="res://assets/props/dagger/dagger.mesh" type="ArrayMesh" id=14] [ext_resource path="res://assets/props/dagger/dagger.mesh" type="ArrayMesh" id=14]
@@ -321,11 +321,8 @@ omni_attenuation = 1.23114
[node name="sm_table_right" parent="." instance=ExtResource( 18 )] [node name="sm_table_right" parent="." instance=ExtResource( 18 )]
transform = Transform( 0.707107, 0, -0.707107, 0, 1, 0, 0.707107, 0, 0.707107, -2.1664, 0.0295653, -2.02667 ) transform = Transform( 0.707107, 0, -0.707107, 0, 1, 0, 0.707107, 0, 0.707107, -2.1664, 0.0295653, -2.02667 )
[node name="sm_growler2" type="MeshInstance" parent="sm_table_right"] [node name="sm_growler" parent="sm_table_right" instance=ExtResource( 3 )]
transform = Transform( 0.428226, 0, -0.903672, 0, 1, 0, 0.903672, 0, 0.428226, 0.260903, 0.870654, 0.24329 ) transform = Transform( 0.428226, 0, -0.903672, 0, 1, 0, 0.903672, 0, 0.428226, 0.260903, 0.870654, 0.24329 )
use_in_baked_light = true
mesh = ExtResource( 10 )
material/0 = null
[node name="sm_godet" parent="sm_table_right" instance=ExtResource( 7 )] [node name="sm_godet" parent="sm_table_right" instance=ExtResource( 7 )]
transform = Transform( 0.869771, 0, 0.493456, 0, 1, 0, -0.493456, 0, 0.869771, 0.124432, 0.85553, -0.0287701 ) transform = Transform( 0.869771, 0, 0.493456, 0, 1, 0, -0.493456, 0, 0.869771, 0.124432, 0.85553, -0.0287701 )
@@ -339,11 +336,8 @@ transform = Transform( -0.236782, -0.0445638, 0.970541, -0.0267146, 0.998868, 0.
[node name="sm_table_left" parent="." instance=ExtResource( 18 )] [node name="sm_table_left" parent="." instance=ExtResource( 18 )]
transform = Transform( -0.958482, 0, -0.285153, 0, 1, 0, 0.285153, 0, -0.958482, -2.60247, 0.0491341, 2.15903 ) transform = Transform( -0.958482, 0, -0.285153, 0, 1, 0, 0.285153, 0, -0.958482, -2.60247, 0.0491341, 2.15903 )
[node name="sm_growler2" type="MeshInstance" parent="sm_table_left"] [node name="sm_growler" parent="sm_table_left" instance=ExtResource( 3 )]
transform = Transform( -0.958482, 0, 0.285153, 0, 1, 0, -0.285153, 0, -0.958482, 0.179069, 0.843493, 2.38419e-07 ) transform = Transform( -0.958482, 0, 0.285153, 0, 1, 0, -0.285153, 0, -0.958482, 0.179069, 0.843493, 2.38419e-07 )
use_in_baked_light = true
mesh = ExtResource( 10 )
material/0 = null
[node name="sm_godet" parent="sm_table_left" instance=ExtResource( 7 )] [node name="sm_godet" parent="sm_table_left" instance=ExtResource( 7 )]
transform = Transform( -0.958482, 0.0116327, 0.284916, 0, 0.999168, -0.0407945, -0.285153, -0.0391008, -0.957684, 0.00593543, 0.863228, 0.188563 ) transform = Transform( -0.958482, 0.0116327, 0.284916, 0, 0.999168, -0.0407945, -0.285153, -0.0391008, -0.957684, 0.00593543, 0.863228, 0.188563 )
@@ -448,11 +442,8 @@ transform = Transform( 0.886172, -0.463214, 0.0114893, -0.0309068, -0.0343508, 0
[node name="sm_godet4" parent="Main Scene Props" instance=ExtResource( 7 )] [node name="sm_godet4" parent="Main Scene Props" instance=ExtResource( 7 )]
transform = Transform( 0.690251, 0, 0.72357, 0, 1, 0, -0.72357, 0, 0.690251, -0.333186, 0.901657, 0.177792 ) transform = Transform( 0.690251, 0, 0.72357, 0, 1, 0, -0.72357, 0, 0.690251, -0.333186, 0.901657, 0.177792 )
[node name="sm_growler2" type="MeshInstance" parent="Main Scene Props"] [node name="sm_growler" parent="Main Scene Props" instance=ExtResource( 3 )]
transform = Transform( 0.0876426, 0, -0.996152, 0, 1, 0, 0.996152, 0, 0.0876426, -0.316595, 0.905106, -0.0726386 ) transform = Transform( 0.0876426, 0, -0.996152, 0, 1, 0, 0.996152, 0, 0.0876426, -0.316595, 0.905106, -0.0726386 )
use_in_baked_light = true
mesh = ExtResource( 10 )
material/0 = null
[node name="sm_parchment" parent="Main Scene Props" instance=ExtResource( 15 )] [node name="sm_parchment" parent="Main Scene Props" instance=ExtResource( 15 )]
transform = Transform( 0.796076, 0.00917861, -0.605127, 0, 0.999885, 0.0151663, 0.605197, -0.0120736, 0.795984, 0.543303, 0.962739, 0.755265 ) transform = Transform( 0.796076, 0.00917861, -0.605127, 0, 0.999885, 0.0151663, 0.605197, -0.0120736, 0.795984, 0.543303, 0.962739, 0.755265 )