Move Godot Battle Bot model and materials to a subfolder

Also minify textures by making them really low resolution
This commit is contained in:
Aaron Franke
2020-06-27 15:33:30 -04:00
parent e30b9d4c7d
commit aaf3483618
19 changed files with 121 additions and 114 deletions

View File

@@ -1,9 +1,9 @@
[gd_scene load_steps=15 format=2]
[ext_resource path="res://addons/sade/editor_gizmo_texture.png" type="Texture" id=1]
[ext_resource path="res://godot_battle_bot.dae" type="PackedScene" id=2]
[ext_resource path="res://battle_bot_color.tres" type="Material" id=3]
[ext_resource path="res://battle_bot_emission.tres" type="Material" id=4]
[ext_resource path="res://model/godot_battle_bot.dae" type="PackedScene" id=2]
[ext_resource path="res://model/battle_bot_color.tres" type="Material" id=3]
[ext_resource path="res://model/battle_bot_emission.tres" type="Material" id=4]
[ext_resource path="res://target_from_mousepos.gd" type="Script" id=5]
[ext_resource path="res://addons/sade/ik_look_at.gd" type="Script" id=6]
[ext_resource path="res://addons/sade/ik_look_at.png" type="Texture" id=7]
@@ -36,9 +36,9 @@ material/0 = SubResource( 2 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 0.56827, 0.673454, -0.472789, 0, 0.574581, 0.818448, 0.822842, -0.465099, 0.326517, -9.77531, 11.5204, 11.766 )
[node name="BattleBot" parent="." instance=ExtResource( 2 )]
[node name="GodotBattleBot" parent="." instance=ExtResource( 2 )]
[node name="godot_battle_bot" parent="BattleBot/Armature/Skeleton" index="0"]
[node name="godot_battle_bot" parent="GodotBattleBot/Armature/Skeleton" index="0"]
material/0 = ExtResource( 3 )
material/1 = ExtResource( 4 )
@@ -57,7 +57,7 @@ script = ExtResource( 6 )
__meta__ = {
"_editor_icon": ExtResource( 7 )
}
skeleton_path = NodePath("../../../BattleBot/Armature/Skeleton")
skeleton_path = NodePath("../../../GodotBattleBot/Armature/Skeleton")
bone_name = "Head"
additional_rotation = Vector3( 90, 0, 0 )
@@ -66,7 +66,7 @@ script = ExtResource( 8 )
__meta__ = {
"_editor_icon": ExtResource( 9 )
}
skeleton_path = NodePath("../../../BattleBot/Armature/Skeleton")
skeleton_path = NodePath("../../../GodotBattleBot/Armature/Skeleton")
bones_in_chain = PoolStringArray( "Left_UpperArm", "Left_LowerArm" )
bones_in_chain_lengths = PoolRealArray( 1.97, 3 )
chain_iterations = 10
@@ -82,7 +82,7 @@ script = ExtResource( 6 )
__meta__ = {
"_editor_icon": ExtResource( 7 )
}
skeleton_path = NodePath("../../../../../BattleBot/Armature/Skeleton")
skeleton_path = NodePath("../../../../../GodotBattleBot/Armature/Skeleton")
bone_name = "Left_Hand"
additional_rotation = Vector3( 0, 0, 90 )
position_using_additional_bone = true
@@ -103,7 +103,7 @@ script = ExtResource( 8 )
__meta__ = {
"_editor_icon": ExtResource( 9 )
}
skeleton_path = NodePath("../../../BattleBot/Armature/Skeleton")
skeleton_path = NodePath("../../../GodotBattleBot/Armature/Skeleton")
bones_in_chain = PoolStringArray( "Right_UpperArm", "Right_LowerArm", "Right_Hand" )
bones_in_chain_lengths = PoolRealArray( 1.97, 3, 1.2 )
limit_chain_iterations = false
@@ -118,7 +118,7 @@ script = ExtResource( 6 )
__meta__ = {
"_editor_icon": ExtResource( 7 )
}
skeleton_path = NodePath("../../../../../BattleBot/Armature/Skeleton")
skeleton_path = NodePath("../../../../../GodotBattleBot/Armature/Skeleton")
bone_name = "Right_Hand"
additional_rotation = Vector3( 0, 0, 90 )
@@ -228,4 +228,4 @@ __meta__ = {
}
scene_to_change_to = "res://look_at_ik.tscn"
[editable path="BattleBot"]
[editable path="GodotBattleBot"]

View File

@@ -10,9 +10,9 @@
[ext_resource path="res://fps/weapon_pistol.dae" type="PackedScene" id=8]
[ext_resource path="res://fps/gun_color.tres" type="Material" id=9]
[ext_resource path="res://fps/gun_emission.tres" type="Material" id=10]
[ext_resource path="res://godot_battle_bot.dae" type="PackedScene" id=11]
[ext_resource path="res://battle_bot_color.tres" type="Material" id=12]
[ext_resource path="res://battle_bot_emission.tres" type="Material" id=13]
[ext_resource path="res://model/godot_battle_bot.dae" type="PackedScene" id=11]
[ext_resource path="res://model/battle_bot_color.tres" type="Material" id=12]
[ext_resource path="res://model/battle_bot_emission.tres" type="Material" id=13]
[sub_resource type="PlaneMesh" id=1]
size = Vector2( 40, 40 )
@@ -472,7 +472,7 @@ script = ExtResource( 4 )
__meta__ = {
"_editor_icon": ExtResource( 5 )
}
skeleton_path = NodePath("../../../../BattleBot/Armature/Skeleton")
skeleton_path = NodePath("../../../../GodotBattleBot/Armature/Skeleton")
bone_name = "Chest"
look_at_axis = 2
additional_rotation = Vector3( -10, 0, 0 )
@@ -489,7 +489,7 @@ script = ExtResource( 6 )
__meta__ = {
"_editor_icon": ExtResource( 7 )
}
skeleton_path = NodePath("../../../../../../BattleBot/Armature/Skeleton")
skeleton_path = NodePath("../../../../../../GodotBattleBot/Armature/Skeleton")
bones_in_chain = PoolStringArray( "Left_UpperArm", "Left_LowerArm", "Left_Hand" )
bones_in_chain_lengths = PoolRealArray( 1.97, 3, 0.1 )
limit_chain_iterations = false
@@ -504,7 +504,7 @@ script = ExtResource( 4 )
__meta__ = {
"_editor_icon": ExtResource( 5 )
}
skeleton_path = NodePath("../../../../../../../../BattleBot/Armature/Skeleton")
skeleton_path = NodePath("../../../../../../../../GodotBattleBot/Armature/Skeleton")
bone_name = "Left_Hand"
use_negative_our_rot = true
additional_rotation = Vector3( 0, 0, 90 )
@@ -526,7 +526,7 @@ script = ExtResource( 6 )
__meta__ = {
"_editor_icon": ExtResource( 7 )
}
skeleton_path = NodePath("../../../../../../BattleBot/Armature/Skeleton")
skeleton_path = NodePath("../../../../../../GodotBattleBot/Armature/Skeleton")
bones_in_chain = PoolStringArray( "Right_UpperArm", "Right_LowerArm", "Right_Hand" )
bones_in_chain_lengths = PoolRealArray( 1.97, 3, 0.1 )
limit_chain_iterations = false
@@ -541,7 +541,7 @@ script = ExtResource( 4 )
__meta__ = {
"_editor_icon": ExtResource( 5 )
}
skeleton_path = NodePath("../../../../../../../../BattleBot/Armature/Skeleton")
skeleton_path = NodePath("../../../../../../../../GodotBattleBot/Armature/Skeleton")
bone_name = "Right_Hand"
use_negative_our_rot = true
additional_rotation = Vector3( 0, 0, 90 )
@@ -566,7 +566,7 @@ script = ExtResource( 4 )
__meta__ = {
"_editor_icon": ExtResource( 5 )
}
skeleton_path = NodePath("../../../../BattleBot/Armature/Skeleton")
skeleton_path = NodePath("../../../../GodotBattleBot/Armature/Skeleton")
bone_name = "Head"
[node name="AnimationPlayer" type="AnimationPlayer" parent="KinematicBody/CameraHolder"]
@@ -589,12 +589,12 @@ material/1 = ExtResource( 10 )
[node name="PistolEnd" type="Spatial" parent="KinematicBody/CameraHolder/Weapon/Pistol"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0161836, 0.315914, 1.41329 )
[node name="BattleBot" parent="KinematicBody" instance=ExtResource( 11 )]
[node name="GodotBattleBot" parent="KinematicBody" instance=ExtResource( 11 )]
[node name="godot_battle_bot" parent="KinematicBody/BattleBot/Armature/Skeleton" index="0"]
[node name="godot_battle_bot" parent="KinematicBody/GodotBattleBot/Armature/Skeleton" index="0"]
material/0 = ExtResource( 12 )
material/1 = ExtResource( 13 )
[editable path="KinematicBody/CameraHolder/Weapon/Pistol"]
[editable path="KinematicBody/BattleBot"]
[editable path="KinematicBody/GodotBattleBot"]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 323 B

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

@@ -22,8 +22,8 @@ compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=1
process/fix_alpha_border=true

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

View File

@@ -1,36 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path.s3tc="res://.import/godot_battle_bot_colors.png-e31963bb1727b598c8ab928a0383fa54.s3tc.stex"
path.etc2="res://.import/godot_battle_bot_colors.png-e31963bb1727b598c8ab928a0383fa54.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://godot_battle_bot_colors.png"
dest_files=[ "res://.import/godot_battle_bot_colors.png-e31963bb1727b598c8ab928a0383fa54.s3tc.stex", "res://.import/godot_battle_bot_colors.png-e31963bb1727b598c8ab928a0383fa54.etc2.stex" ]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=1
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -1,36 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path.s3tc="res://.import/godot_battle_bot_emission.png-c363ccbe8ada8fe822cd5528b54fc924.s3tc.stex"
path.etc2="res://.import/godot_battle_bot_emission.png-c363ccbe8ada8fe822cd5528b54fc924.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://godot_battle_bot_emission.png"
dest_files=[ "res://.import/godot_battle_bot_emission.png-c363ccbe8ada8fe822cd5528b54fc924.s3tc.stex", "res://.import/godot_battle_bot_emission.png-c363ccbe8ada8fe822cd5528b54fc924.etc2.stex" ]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=1
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

View File

@@ -1,9 +1,9 @@
[gd_scene load_steps=11 format=2]
[ext_resource path="res://addons/sade/editor_gizmo_texture.png" type="Texture" id=1]
[ext_resource path="res://godot_battle_bot.dae" type="PackedScene" id=2]
[ext_resource path="res://battle_bot_color.tres" type="Material" id=3]
[ext_resource path="res://battle_bot_emission.tres" type="Material" id=4]
[ext_resource path="res://model/godot_battle_bot.dae" type="PackedScene" id=2]
[ext_resource path="res://model/battle_bot_color.tres" type="Material" id=3]
[ext_resource path="res://model/battle_bot_emission.tres" type="Material" id=4]
[ext_resource path="res://target_from_mousepos.gd" type="Script" id=5]
[ext_resource path="res://addons/sade/ik_look_at.gd" type="Script" id=6]
[ext_resource path="res://addons/sade/ik_look_at.png" type="Texture" id=7]
@@ -27,9 +27,9 @@ material/0 = SubResource( 2 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 0.56827, 0.673454, -0.472789, 0, 0.574581, 0.818448, 0.822842, -0.465099, 0.326517, -9.77531, 11.5204, 11.766 )
[node name="BattleBot" parent="." instance=ExtResource( 2 )]
[node name="GodotBattleBot" parent="." instance=ExtResource( 2 )]
[node name="godot_battle_bot" parent="BattleBot/Armature/Skeleton" index="0"]
[node name="godot_battle_bot" parent="GodotBattleBot/Armature/Skeleton" index="0"]
material/0 = ExtResource( 3 )
material/1 = ExtResource( 4 )
@@ -47,7 +47,7 @@ script = ExtResource( 6 )
__meta__ = {
"_editor_icon": ExtResource( 7 )
}
skeleton_path = NodePath("../../../BattleBot/Armature/Skeleton")
skeleton_path = NodePath("../../../GodotBattleBot/Armature/Skeleton")
bone_name = "Head"
additional_rotation = Vector3( 90, 0, 0 )
@@ -56,7 +56,7 @@ script = ExtResource( 6 )
__meta__ = {
"_editor_icon": ExtResource( 7 )
}
skeleton_path = NodePath("../../../BattleBot/Armature/Skeleton")
skeleton_path = NodePath("../../../GodotBattleBot/Armature/Skeleton")
bone_name = "Left_UpperArm"
[node name="IK_LookAt_RightArm" type="Spatial" parent="Camera/Targets"]
@@ -64,7 +64,7 @@ script = ExtResource( 6 )
__meta__ = {
"_editor_icon": ExtResource( 7 )
}
skeleton_path = NodePath("../../../BattleBot/Armature/Skeleton")
skeleton_path = NodePath("../../../GodotBattleBot/Armature/Skeleton")
bone_name = "Right_UpperArm"
additional_rotation = Vector3( 0, 0, 180 )
@@ -98,6 +98,9 @@ text = "LookAt IK
Move mouse to move IK targets"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ButtonNext" type="Button" parent="Control"]
anchor_left = 1.0
@@ -115,4 +118,4 @@ __meta__ = {
}
scene_to_change_to = "res://fabrik_ik.tscn"
[editable path="BattleBot"]
[editable path="GodotBattleBot"]

5
3d/ik/model/README.md Normal file
View File

@@ -0,0 +1,5 @@
# Godot Battle Bot
This folder contains the model and textures/materials for the Godot Battle Bot.
Yes, the battle bot really is 14.5 meters tall. It is a powerful robot.

View File

@@ -1,6 +1,6 @@
[gd_resource type="SpatialMaterial" load_steps=2 format=2]
[ext_resource path="res://godot_battle_bot_colors.png" type="Texture" id=1]
[ext_resource path="res://model/godot_battle_bot_colors.png" type="Texture" id=1]
[resource]
@@ -55,4 +55,3 @@ uv2_triplanar_sharpness = 1.0
proximity_fade_enable = false
distance_fade_enable = false
_sections_unfolded = [ "Albedo" ]

View File

@@ -2,12 +2,12 @@
importer="scene"
type="PackedScene"
path="res://.import/godot_battle_bot.dae-eca9fb346b160636fd03ddf258af136e.scn"
path="res://.import/godot_battle_bot.dae-b816538849caf76e74976d7a086ba5f7.scn"
[deps]
source_file="res://godot_battle_bot.dae"
dest_files=[ "res://.import/godot_battle_bot.dae-eca9fb346b160636fd03ddf258af136e.scn" ]
source_file="res://model/godot_battle_bot.dae"
dest_files=[ "res://.import/godot_battle_bot.dae-b816538849caf76e74976d7a086ba5f7.scn" ]
[params]

Binary file not shown.

After

Width:  |  Height:  |  Size: 548 B

View File

@@ -0,0 +1,36 @@
[remap]
importer="texture"
type="StreamTexture"
path.s3tc="res://.import/godot_battle_bot_colors.png-db0edfc662d0fffff287aad7600ab21a.s3tc.stex"
path.etc2="res://.import/godot_battle_bot_colors.png-db0edfc662d0fffff287aad7600ab21a.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://model/godot_battle_bot_colors.png"
dest_files=[ "res://.import/godot_battle_bot_colors.png-db0edfc662d0fffff287aad7600ab21a.s3tc.stex", "res://.import/godot_battle_bot_colors.png-db0edfc662d0fffff287aad7600ab21a.etc2.stex" ]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=1
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 529 B

View File

@@ -0,0 +1,36 @@
[remap]
importer="texture"
type="StreamTexture"
path.s3tc="res://.import/godot_battle_bot_emission.png-59fd27c1839e5b7c5584f3c2131bce33.s3tc.stex"
path.etc2="res://.import/godot_battle_bot_emission.png-59fd27c1839e5b7c5584f3c2131bce33.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://model/godot_battle_bot_emission.png"
dest_files=[ "res://.import/godot_battle_bot_emission.png-59fd27c1839e5b7c5584f3c2131bce33.s3tc.stex", "res://.import/godot_battle_bot_emission.png-59fd27c1839e5b7c5584f3c2131bce33.etc2.stex" ]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=1
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

View File

@@ -3,10 +3,10 @@
[ext_resource path="res://skeleton_ik_runner.gd" type="Script" id=1]
[ext_resource path="res://addons/sade/ik_look_at.png" type="Texture" id=2]
[ext_resource path="res://addons/sade/editor_gizmo_texture.png" type="Texture" id=3]
[ext_resource path="res://godot_battle_bot.dae" type="PackedScene" id=4]
[ext_resource path="res://model/godot_battle_bot.dae" type="PackedScene" id=4]
[ext_resource path="res://target_from_mousepos.gd" type="Script" id=5]
[ext_resource path="res://battle_bot_color.tres" type="Material" id=6]
[ext_resource path="res://battle_bot_emission.tres" type="Material" id=7]
[ext_resource path="res://model/battle_bot_color.tres" type="Material" id=6]
[ext_resource path="res://model/battle_bot_emission.tres" type="Material" id=7]
[ext_resource path="res://button_change_scene.gd" type="Script" id=8]
[ext_resource path="res://addons/sade/ik_look_at.gd" type="Script" id=9]