diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Head/Male/Head.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Head/Male/Head.bin
deleted file mode 100644
index 92616bccf..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Head/Male/Head.bin and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Head/Male/T_NPC_Young_M_Head_Ivory_N.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Head/Male/T_NPC_Young_M_Head_Ivory_N.png
new file mode 100644
index 000000000..c3389ac13
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Head/Male/T_NPC_Young_M_Head_Ivory_N.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/KeyFrame.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/KeyFrame.bin
new file mode 100644
index 000000000..9aa7769ec
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/KeyFrame.bin differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/Dragon.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/Dragon.bin
new file mode 100644
index 000000000..0b29a6ca9
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/Dragon.bin differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/Dragon.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/Dragon.fbx
new file mode 100644
index 000000000..711c86923
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/Dragon.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:32b6b5101a39633cf35d7ebcf5711940a0cea66b3164290113e775c5c96ba86f
+size 61962812
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/T_ConjuredDragon_Body_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/T_ConjuredDragon_Body_D.png
new file mode 100644
index 000000000..bb962c0a0
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/T_ConjuredDragon_Body_D.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/T_ConjuredDragon_Body_N.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/T_ConjuredDragon_Body_N.png
new file mode 100644
index 000000000..f76d5553e
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/T_ConjuredDragon_Body_N.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/T_ConjuredDragon_Wings_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/T_ConjuredDragon_Wings_D.png
new file mode 100644
index 000000000..b2ce38a89
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/T_ConjuredDragon_Wings_D.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/T_ConjuredDragon_Wings_N.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/T_ConjuredDragon_Wings_N.png
new file mode 100644
index 000000000..8e8b5c6c1
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/T_ConjuredDragon_Wings_N.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/T_DragonEye_Iris_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/T_DragonEye_Iris_D.png
new file mode 100644
index 000000000..059dcf656
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/T_DragonEye_Iris_D.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/T_HebrideanBlack_Body_Harness_Corruption_A.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/T_HebrideanBlack_Body_Harness_Corruption_A.png
new file mode 100644
index 000000000..3e1189762
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/T_HebrideanBlack_Body_Harness_Corruption_A.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/T_HebrideanBlack_Wing_Harness_Corruption_A.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/T_HebrideanBlack_Wing_Harness_Corruption_A.png
new file mode 100644
index 000000000..380d236c9
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Dragon/T_HebrideanBlack_Wing_Harness_Corruption_A.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/GoblinBody.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/GoblinBody.bin
deleted file mode 100644
index f42644300..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/GoblinBody.bin and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/GoblinBody.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/GoblinBody.fbx
deleted file mode 100644
index 97a31fa83..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/GoblinBody.fbx
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:a49d1ffea2e4743cdb6f6520d4cf6103ee1aeccd4e1da6fbd39eb75aacdeeb18
-size 2030252
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/GoblinHead.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/GoblinHead.bin
deleted file mode 100644
index 0fe47e66b..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/GoblinHead.bin and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/GoblinHead.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/GoblinHead.fbx
deleted file mode 100644
index f3701907d..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/GoblinHead.fbx
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:f07bf5432d1e2481ee5219779cfce430c9537c37d1e8efa3a54ab32fdb461e92
-size 2300860
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOB_M_Sniper_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOB_M_Sniper_D.png
deleted file mode 100644
index ee01a4efc..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOB_M_Sniper_D.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOB_Mage_Head_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOB_Mage_Head_D.png
deleted file mode 100644
index 72d3d63fc..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOB_Mage_Head_D.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector01_Upper_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector01_Upper_D.png
deleted file mode 100644
index fc0fbca3d..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector01_Upper_D.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector01_Upper_E.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector01_Upper_E.png
deleted file mode 100644
index f8a7c9c89..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector01_Upper_E.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector01_Upper_MROA.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector01_Upper_MROA.png
deleted file mode 100644
index e16ba8af8..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector01_Upper_MROA.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector01_Upper_N.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector01_Upper_N.png
deleted file mode 100644
index 6ac83780f..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector01_Upper_N.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_1001_E.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_1001_E.png
deleted file mode 100644
index 1d7adae32..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_1001_E.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_1001_MRO.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_1001_MRO.png
deleted file mode 100644
index ccb0bca48..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_1001_MRO.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_1001_N.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_1001_N.png
deleted file mode 100644
index 8bbbb218a..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_1001_N.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_1002_E.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_1002_E.png
deleted file mode 100644
index 85f9805c2..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_1002_E.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_1002_MRO.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_1002_MRO.png
deleted file mode 100644
index 98d5357db..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_1002_MRO.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_1002_N.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_1002_N.png
deleted file mode 100644
index 4ebccf04d..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_1002_N.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_1_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_1_D.png
deleted file mode 100644
index 2fe1ffc6f..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_1_D.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_2_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_2_D.png
deleted file mode 100644
index de7e79e09..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_GOL_TombProtector_2_D.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_Spline_clouds_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_Spline_clouds_D.png
deleted file mode 100644
index 508965f7a..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_Spline_clouds_D.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_TombProtector_DistortionPattern_A_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_TombProtector_DistortionPattern_A_D.png
deleted file mode 100644
index cdfe02952..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_TombProtector_DistortionPattern_A_D.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_TombProtector_DistortionPattern_B_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_TombProtector_DistortionPattern_B_D.png
deleted file mode 100644
index ff8a490c8..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/T_TombProtector_DistortionPattern_B_D.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/TombProtector.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/TombProtector.fbx
deleted file mode 100644
index 28a4cecb1..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin/TombProtector.fbx
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:8e8ab9ac98cc040e967bfae8c42e2d57be4957844399b245973f08c7eda6c82d
-size 48326476
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.bin
new file mode 100644
index 000000000..587cb6eb8
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.bin differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.fbx
new file mode 100644
index 000000000..9bb677d77
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/Broom.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2d071b22f597d86953d9e1751b79a9ae97fffdd2367856ee03f6bf3c500c7b40
+size 3138924
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_D.png
new file mode 100644
index 000000000..9079fb61a
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_D.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_E.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_E.png
new file mode 100644
index 000000000..ebd0dd6d0
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_E.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_N.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_N.png
new file mode 100644
index 000000000..5d6771a93
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Broom/T_FlightClassBroom_01_N.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/TombProtector/T_GOL_TombProtector_1_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/TombProtector/T_GOL_TombProtector_1_D.png
deleted file mode 100644
index 2fe1ffc6f..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/TombProtector/T_GOL_TombProtector_1_D.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/TombProtector/T_GOL_TombProtector_2_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/TombProtector/T_GOL_TombProtector_2_D.png
deleted file mode 100644
index de7e79e09..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/TombProtector/T_GOL_TombProtector_2_D.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/TombProtector/T_Spline_clouds_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/TombProtector/T_Spline_clouds_D.png
deleted file mode 100644
index 508965f7a..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/TombProtector/T_Spline_clouds_D.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/TombProtector/T_TombProtector_DistortionPattern_A_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/TombProtector/T_TombProtector_DistortionPattern_A_D.png
deleted file mode 100644
index cdfe02952..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/TombProtector/T_TombProtector_DistortionPattern_A_D.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/TombProtector/T_TombProtector_DistortionPattern_B_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/TombProtector/T_TombProtector_DistortionPattern_B_D.png
deleted file mode 100644
index ff8a490c8..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/TombProtector/T_TombProtector_DistortionPattern_B_D.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxAnimMesh.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxAnimMesh.hlsl
index 53a0c18eb..3cded6ce1 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxAnimMesh.hlsl
+++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxAnimMesh.hlsl
@@ -304,9 +304,6 @@ PS_OUT PS_MAIN_TEST(PS_IN In)
return Out;
}
-
-
-
technique11 DefaultTechnique
{
pass Default
diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj b/Jusin154_Team3D/Editor/Default/Editor.vcxproj
index 8f15dadeb..69c236b93 100644
--- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj
+++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj
@@ -188,8 +188,6 @@
-
-
@@ -254,7 +252,6 @@
-
@@ -263,7 +260,6 @@
-
diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
index 882f752d3..ae2078d47 100644
--- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
+++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
@@ -67,12 +67,6 @@
{b5d188ff-5925-40bd-8da4-2ed00c89f730}
-
- {0ebb9c08-69b0-49b6-bac3-c827ca13319a}
-
-
- {69af10ea-e8f1-4455-9435-93857b7eb198}
-
{a04e88c3-dabb-4a91-8b9f-ce7f5562def6}
@@ -252,18 +246,12 @@
50.UI\Mouse_Cursor
-
- 02.GameObjects\Dummy_Goblin
-
01.Level\20.ObjectViewer
02.GameObjects\Dummys\DummyCube
-
- 02.GameObjects\Dummy_Goblin\Dummy_Goblin_Head
-
02.GameObjects\ModelParts\Body
@@ -445,18 +433,12 @@
50.UI\Mouse_Cursor
-
- 02.GameObjects\Dummy_Goblin
-
01.Level\20.ObjectViewer
02.GameObjects\Dummys\DummyCube
-
- 02.GameObjects\Dummy_Goblin\Dummy_Goblin_Head
-
02.GameObjects\ModelParts\Body
diff --git a/Jusin154_Team3D/Editor/Private/Dummy_Goblin.cpp b/Jusin154_Team3D/Editor/Private/Dummy_Goblin.cpp
deleted file mode 100644
index 4ddcb8891..000000000
--- a/Jusin154_Team3D/Editor/Private/Dummy_Goblin.cpp
+++ /dev/null
@@ -1,171 +0,0 @@
-#include "pch.h"
-#include "Dummy_Goblin.h"
-
-#include "GameInstance.h"
-#include "DebugCamera.h"
-
-CDummy_Goblin::CDummy_Goblin(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
- : CGameObject( pDevice, pContext )
-{
-}
-
-CDummy_Goblin::CDummy_Goblin(const CDummy_Goblin& Prototype)
- : CGameObject( Prototype )
-{
-}
-
-HRESULT CDummy_Goblin::Initialize_Prototype()
-{
- return S_OK;
-}
-
-HRESULT CDummy_Goblin::Initialize(void* pArg)
-{
- if (FAILED(__super::Initialize(pArg)))
- return E_FAIL;
-
-
- if (FAILED(Ready_Components()))
- return E_FAIL;
-
- return S_OK;
-}
-
-void CDummy_Goblin::Priority_Update(_float fTimeDelta)
-{
-
-}
-
-void CDummy_Goblin::Update(_float fTimeDelta)
-{
- //m_pModelCom->Play_Animation(fTimeDelta);
-}
-
-void CDummy_Goblin::Late_Update(_float fTimeDelta)
-{
- _float4 vPos;
- XMStoreFloat4(&vPos, Get_WorldPostion());
- m_pGameInstance->Add_RenderGroup(RENDER::BLEND, this, vPos, 20.f);
-}
-
-HRESULT CDummy_Goblin::Render()
-{
- if (FAILED(Bind_ShaderResources())) {
- return E_FAIL;
- }
-
- _uint iNumMeshes = m_pModelCom->Get_NumMeshes();
-
- //m_pShaderCom->Bind_SRV("g_NormalTexture", nullptr);
- for (_uint i = 0; i < iNumMeshes; i++)
- {
- if (FAILED(m_pModelCom->Bind_BoneMatrices(i, m_pShaderCom, "g_BoneMatrices"))) {
- return E_FAIL;
- }
-
- if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom, "g_DiffuseTexture", aiTextureType_DIFFUSE, 0))) {
- return E_FAIL;
- }
- if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom, "g_NormalTexture", aiTextureType_NORMALS, 0))) {
- return E_FAIL;
- }
-
- if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_ANIM::DEFAULT)))) {
- return E_FAIL;
- }
-
- if (FAILED(m_pModelCom->Render(i))) {
- return E_FAIL;
- }
- }
-
- return S_OK;
-}
-
-HRESULT CDummy_Goblin::Ready_Components()
-{
- /* Com_Model */
- if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_GoblinBody_Model"),
- reinterpret_cast(&m_pModelCom))))
- return E_FAIL;
-
- /* Com_Shader */
- if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, FX_ANIMMESH,
- reinterpret_cast(&m_pShaderCom))))
- return E_FAIL;
-
- m_pModelCom->Change_AnimationIndex(0, true, 0.4f, true);
-
- return S_OK;
-}
-
-HRESULT CDummy_Goblin::Bind_ShaderResources()
-{
- if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))){
- return E_FAIL;
- }
- if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW)))){
- return E_FAIL;
- }
- if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ)))){
- return E_FAIL;
- }
-
- if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) {
- return E_FAIL;
- }
- //if (FAILED(m_pShaderCom->Bind_RawValue("g_vCamPosition", m_pGameInstance->Get_CamPosition(), sizeof(_float4)))) {
- // return E_FAIL;
- //}
- //if (FAILED(m_pShaderCom->Bind_RawValue("g_bRimLight", &m_bRimLight, sizeof(_bool)))) {
- // return E_FAIL;
- //}
- //if (FAILED(m_pShaderCom->Bind_RawValue("g_fRimStrength", &m_fRimLightStrength, sizeof(_float)))) {
- // return E_FAIL;
- //}
- //if (FAILED(m_pShaderCom->Bind_RawValue("g_fRimPower", &m_fRimLightPower, sizeof(_float)))) {
- // return E_FAIL;
- //}
- //if (FAILED(m_pShaderCom->Bind_RawValue("g_vRimColor", &m_vRimLightColor, sizeof(_float3)))) {
- // return E_FAIL;
- //}
- return S_OK;
-}
-
-CDummy_Goblin* CDummy_Goblin::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
-{
- CDummy_Goblin* pInstance = new CDummy_Goblin(pDevice, pContext);
-
- if (FAILED(pInstance->Initialize_Prototype()))
- {
- MSG_BOX("Failed to Created : CDummy_Goblin");
- Safe_Release(pInstance);
- }
-
- return pInstance;
-}
-
-CGameObject* CDummy_Goblin::Clone(void* pArg, CGameObject* pOwner)
-{
- CDummy_Goblin* pInstance = new CDummy_Goblin(*this);
-
- if (FAILED(pInstance->Initialize(pArg)))
- {
- MSG_BOX("Failed to Cloned : CDummy_Goblin");
- Safe_Release(pInstance);
- }
-
- return pInstance;
-}
-
-void CDummy_Goblin::Free()
-{
- __super::Free();
-
- Safe_Release(m_pShaderCom);
- Safe_Release(m_pModelCom);
-}
-
-void CDummy_Goblin::Describe_Entity()
-{
-}
diff --git a/Jusin154_Team3D/Editor/Private/Dummy_Goblin_Head.cpp b/Jusin154_Team3D/Editor/Private/Dummy_Goblin_Head.cpp
deleted file mode 100644
index 298f60e1a..000000000
--- a/Jusin154_Team3D/Editor/Private/Dummy_Goblin_Head.cpp
+++ /dev/null
@@ -1,170 +0,0 @@
-#include "pch.h"
-#include "Dummy_Goblin_Head.h"
-
-#include "GameInstance.h"
-#include "DebugCamera.h"
-
-CDummy_Goblin_Head::CDummy_Goblin_Head(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
- : CGameObject(pDevice, pContext)
-{
-}
-
-CDummy_Goblin_Head::CDummy_Goblin_Head(const CDummy_Goblin_Head& Prototype)
- : CGameObject(Prototype)
-{
-}
-
-HRESULT CDummy_Goblin_Head::Initialize_Prototype()
-{
- return S_OK;
-}
-
-HRESULT CDummy_Goblin_Head::Initialize(void* pArg)
-{
- if (FAILED(__super::Initialize(pArg)))
- return E_FAIL;
-
- if (FAILED(Ready_Components()))
- return E_FAIL;
-
- return S_OK;
-}
-
-void CDummy_Goblin_Head::Priority_Update(_float fTimeDelta)
-{
-
-}
-
-void CDummy_Goblin_Head::Update(_float fTimeDelta)
-{
- m_pOwner->Get_Component()->Play_Animation(fTimeDelta);
- m_pModelCom->Play_Animation(fTimeDelta);
-}
-
-void CDummy_Goblin_Head::Late_Update(_float fTimeDelta)
-{
- _float4 vPos;
- XMStoreFloat4(&vPos, Get_WorldPostion());
- m_pGameInstance->Add_RenderGroup(RENDER::BLEND, this, vPos, 20.f);
-}
-
-HRESULT CDummy_Goblin_Head::Render()
-{
- if (FAILED(Bind_ShaderResources())) {
- return E_FAIL;
- }
-
- _uint iNumMeshes = m_pModelCom->Get_NumMeshes();
-
- for (_uint i = 0; i < iNumMeshes; i++)
- {
- if (FAILED(m_pModelCom->Bind_BoneMatrices(i, m_pShaderCom, "g_BoneMatrices"))) {
- return E_FAIL;
- }
-
- if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom, "g_DiffuseTexture", aiTextureType_DIFFUSE, 0))) {
- return E_FAIL;
- }
- if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom, "g_NormalTexture", aiTextureType_NORMALS, 0))) {
- return E_FAIL;
- }
-
- if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_ANIM::DEFAULT)))) {
- return E_FAIL;
- }
-
- if (FAILED(m_pModelCom->Render(i))) {
- return E_FAIL;
- }
- }
-
- return S_OK;
-}
-
-HRESULT CDummy_Goblin_Head::Ready_Components()
-{
- /* Com_Model */
- if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_GoblinHead_Model"),
- reinterpret_cast(&m_pModelCom))))
- return E_FAIL;
-
- /* Com_Shader */
- if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, FX_ANIMMESH,
- reinterpret_cast(&m_pShaderCom))))
- return E_FAIL;
-
- m_pModelCom->Change_AnimationIndex(0, true, 0.4f, true);
-
- return S_OK;
-}
-
-HRESULT CDummy_Goblin_Head::Bind_ShaderResources()
-{
- if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) {
- return E_FAIL;
- }
- if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW)))) {
- return E_FAIL;
- }
- if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ)))) {
- return E_FAIL;
- }
-
- if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) {
- return E_FAIL;
- }
- //if (FAILED(m_pShaderCom->Bind_RawValue("g_vCamPosition", m_pGameInstance->Get_CamPosition(), sizeof(_float4)))) {
- // return E_FAIL;
- //}
- //if (FAILED(m_pShaderCom->Bind_RawValue("g_bRimLight", &m_bRimLight, sizeof(_bool)))) {
- // return E_FAIL;
- //}
- //if (FAILED(m_pShaderCom->Bind_RawValue("g_fRimStrength", &m_fRimLightStrength, sizeof(_float)))) {
- // return E_FAIL;
- //}
- //if (FAILED(m_pShaderCom->Bind_RawValue("g_fRimPower", &m_fRimLightPower, sizeof(_float)))) {
- // return E_FAIL;
- //}
- //if (FAILED(m_pShaderCom->Bind_RawValue("g_vRimColor", &m_vRimLightColor, sizeof(_float3)))) {
- // return E_FAIL;
- //}
- return S_OK;
-}
-
-CDummy_Goblin_Head* CDummy_Goblin_Head::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
-{
- CDummy_Goblin_Head* pInstance = new CDummy_Goblin_Head(pDevice, pContext);
-
- if (FAILED(pInstance->Initialize_Prototype()))
- {
- MSG_BOX("Failed to Created : CDummy_Goblin_Head");
- Safe_Release(pInstance);
- }
-
- return pInstance;
-}
-
-CGameObject* CDummy_Goblin_Head::Clone(void* pArg, CGameObject* pOwner)
-{
- CDummy_Goblin_Head* pInstance = new CDummy_Goblin_Head(*this);
- pInstance->m_pOwner = pOwner;
- if (FAILED(pInstance->Initialize(pArg)))
- {
- MSG_BOX("Failed to Cloned : CDummy_Goblin_Head");
- Safe_Release(pInstance);
- }
-
- return pInstance;
-}
-
-void CDummy_Goblin_Head::Free()
-{
- __super::Free();
-
- Safe_Release(m_pShaderCom);
- Safe_Release(m_pModelCom);
-}
-
-void CDummy_Goblin_Head::Describe_Entity()
-{
-}
diff --git a/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp
index d3a279216..614a5247a 100644
--- a/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp
+++ b/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp
@@ -46,7 +46,9 @@ void CLevel_ObjectViewer::Update(_float fTimeDelta)
Show_AnimList();
- Object_Setting();
+ Dummy_Object_Setting();
+
+ Parts_Object_Setting();
}
HRESULT CLevel_ObjectViewer::Render()
@@ -76,19 +78,20 @@ void CLevel_ObjectViewer::Add_Parts()
{
if (GUI::BeginTabBar("##MaleTabBar"))
{
- if (GUI::BeginTabItem("Head"))
+ if (GUI::BeginTabItem("Body"))
{
- Category_PartsModelList("Human/Head/Male", "Head");
+ Category_PartsModelList("Human/Body/Male", "Body");
GUI::EndTabItem();
}
+
_bool bDisabled = {};
if (m_HumanRoot)
bDisabled = (m_HumanRoot->Get_MainModel());
if (!bDisabled) GUI::BeginDisabled();
- if (GUI::BeginTabItem("Body"))
+ if (GUI::BeginTabItem("Head"))
{
- Category_PartsModelList("Human/Body/Male", "Body");
+ Category_PartsModelList("Human/Head/Male", "Head");
GUI::EndTabItem();
}
@@ -97,6 +100,9 @@ void CLevel_ObjectViewer::Add_Parts()
{
Category_PartsModelList("Human/Hair/Male", "Hair");
+ if (m_HumanRoot)
+ m_HumanRoot->Get_ModelParts(ENUM_CLASS(CRootModelPart::PARTSTYPE::HAIR))->Describe_Entity();
+
GUI::EndTabItem();
}
if (!bDisabled) GUI::EndDisabled();
@@ -109,19 +115,20 @@ void CLevel_ObjectViewer::Add_Parts()
{
if (GUI::BeginTabBar("##FeMaleTabBar"))
{
- if (GUI::BeginTabItem("Head"))
+ if (GUI::BeginTabItem("Body"))
{
- Category_PartsModelList("Human/Head/FeMale", "Head");
+ Category_PartsModelList("Human/Body/FeMale", "Body");
GUI::EndTabItem();
}
+
_bool bDisabled = {};
if (m_HumanRoot)
bDisabled = (m_HumanRoot->Get_MainModel());
if (!bDisabled) GUI::BeginDisabled();
- if (GUI::BeginTabItem("Body"))
+ if (GUI::BeginTabItem("Head"))
{
- Category_PartsModelList("Human/Body/FeMale", "Body");
+ Category_PartsModelList("Human/Head/FeMale", "Head");
GUI::EndTabItem();
}
@@ -130,6 +137,9 @@ void CLevel_ObjectViewer::Add_Parts()
{
Category_PartsModelList("Human/Hair/FeMale", "Hair");
+ if (m_HumanRoot)
+ m_HumanRoot->Get_ModelParts(ENUM_CLASS(CRootModelPart::PARTSTYPE::HAIR))->Describe_Entity();
+
GUI::EndTabItem();
}
if (!bDisabled) GUI::EndDisabled();
@@ -149,6 +159,8 @@ void CLevel_ObjectViewer::Show_ModelFilePath()
Category_ModelList("Monster");
Category_ModelList("Human");
+
+ Category_ModelList("Object");
}
GUI::EndTabBar();
GUI::End();
@@ -214,8 +226,6 @@ void CLevel_ObjectViewer::Category_PartsModelList(const _char* Category, const _
{
if (GUI::Button(szCategory))
{
- Save_LayerName(Layer);
-
CGameObject* pTempObject = { nullptr };
CDummyObject::PARTS_OBJECT_DESC Desc = {};
@@ -225,10 +235,10 @@ void CLevel_ObjectViewer::Category_PartsModelList(const _char* Category, const _
m_HumanRoot->Set_ModelName(szCategory);
_uint iIndex = 0;
- if (strstr(szCategory,"Head"))
- iIndex = ENUM_CLASS(CRootModelPart::PARTSTYPE::HEAD);
- else if (strstr(szCategory,"Body"))
+ if (strstr(szCategory,"Body"))
iIndex = ENUM_CLASS(CRootModelPart::PARTSTYPE::BODY);
+ else if (strstr(szCategory,"Head"))
+ iIndex = ENUM_CLASS(CRootModelPart::PARTSTYPE::HEAD);
else if (strstr(szCategory,"Hair"))
iIndex = ENUM_CLASS(CRootModelPart::PARTSTYPE::HAIR);
@@ -250,6 +260,7 @@ void CLevel_ObjectViewer::Show_AnimList()
if (GUI::Button(pModel->Get_AnimList(i)))
{
pModel->Set_AnimationIndex(i);
+ pModel->Set_CurrentTrackPosition(0.f);
}
}
}
@@ -281,7 +292,7 @@ void CLevel_ObjectViewer::Show_ObjectList()
}
}
-void CLevel_ObjectViewer::Object_Setting()
+void CLevel_ObjectViewer::Dummy_Object_Setting()
{
GUI::Begin("Object_Info");
if (!m_Objects.empty())
@@ -308,15 +319,20 @@ void CLevel_ObjectViewer::Object_Setting()
}
}
GUI::End();
+}
+void CLevel_ObjectViewer::Parts_Object_Setting()
+{
GUI::Begin("PartsObject_Info");
if (m_HumanRoot)
{
CModel* pModel = m_HumanRoot->Get_MainModel();
if (pModel)
{
- _float AnimTrack = pModel->Get_CurrentTrackPosition();
- GUI::DragFloat("AnimTrack", &AnimTrack);
+ GUI::Button(pModel->Get_AnimList(pModel->Get_AnimIndex()));
+
+ _float KeyFrame = pModel->Get_CurrentTrackPosition();
+ GUI::DragFloat("KeyFrame", &KeyFrame);
_float AnimSpeed = pModel->Get_AnimSpeed();
GUI::DragFloat("AnimSpeed", &AnimSpeed, 0.1f);
@@ -328,36 +344,64 @@ void CLevel_ObjectViewer::Object_Setting()
pModel->Set_PlayAnim(bPlayAnim);
}
- if (GUI::Button("Add Event"))
+ if (GUI::Button("Load KeyFrame"))
{
- m_fAnimFrame = m_HumanRoot->Get_MainModel()->Get_CurrentTrackPosition();
+ Load_KeyFrame();
}
- GUI::DragFloat("Anim Frame", &m_fAnimFrame);
- GUI::SameLine();
- if(GUI::Button("Event"))
- {
+ static _char EventName[64] = {};
+ GUI::InputText("EventName", EventName, sizeof(EventName));
+ GUI::SameLine();
+
+ if (GUI::Button("Save KeyFrame"))
+ {
+ if (m_HumanRoot && m_HumanRoot->Get_MainModel())
+ {
+ _float fKeyFrame = m_HumanRoot->Get_MainModel()->Get_CurrentTrackPosition();
+ m_KeyFrame.push_back(fKeyFrame);
+ m_Events.emplace_back(EventName);
+
+ FILE* fp = nullptr;
+ fopen_s(&fp, "../Bin/Resources/Models/KeyFrame.bin", "wb");
+ if (!fp) return;
+
+ _uint KeyFrameSize = (_uint)m_KeyFrame.size();
+
+ fwrite(&KeyFrameSize, sizeof(_uint), 1, fp);
+
+ for (size_t i = 0; i < m_KeyFrame.size(); i++)
+ {
+ _uint EventSize = (_uint)m_Events[i].size();
+ fwrite(&m_KeyFrame[i], sizeof(_float), 1, fp);
+ fwrite(&EventSize, sizeof(_uint), 1, fp);
+ fwrite(&m_Events[i], sizeof(_string), 1, fp);
+ }
+
+
+ fclose(fp);
+
+ EventName[0] = '\0';
+ }
+ }
+
+ for (_uint i = 0; i < m_KeyFrame.size(); ++i)
+ {
ImDrawList* draw = ImGui::GetForegroundDrawList();
ImVec2 center = ImGui::GetMainViewport()->GetCenter();
float scale = 50.f;
- draw->AddLine(center, ImVec2(center.x + scale, center.y), IM_COL32(255, 0, 0, 255), 2.0f);
- draw->AddLine(center, ImVec2(center.x, center.y - scale), IM_COL32(0, 255, 0, 255), 2.0f);
- draw->AddLine(center, ImVec2(center.x + scale * 0.5f, center.y + scale * 0.5f), IM_COL32(0, 0, 255, 255), 2.0f);
+ GUI::DragFloat(m_Events[i].c_str(), &m_KeyFrame[i]);
}
+
if (GUI::Button("Delete"))
{
m_pGameInstance->Get_Layer(NEXT_LEVEL, TEXT("Layer_Root"))->Clear_Layer();
m_HumanRoot = nullptr;
+ m_KeyFrame.clear();
}
}
-
- if (m_HumanRoot)
-
- m_HumanRoot->Get_ModelParts(ENUM_CLASS(CRootModelPart::PARTSTYPE::HAIR))->Describe_Entity();
-
}
GUI::End();
@@ -386,6 +430,30 @@ _wchar* CLevel_ObjectViewer::Save_ModelName(const _char* Category)
return m_wszName;
}
+void CLevel_ObjectViewer::Load_KeyFrame()
+{
+ FILE* fp = nullptr;
+ fopen_s(&fp, "../Bin/Resources/Models/KeyFrame.bin", "rb");
+ if (!fp) return;
+
+ _uint KeyFameSize = {};
+ _uint EventLen = {};
+
+ fread(&KeyFameSize, sizeof(_uint), 1, fp);
+
+ for (size_t i = 0; i < KeyFameSize; i++)
+ {
+ fread(&m_fKeyFrame, sizeof(_float), 1, fp);
+ fread(&EventLen, sizeof(_uint), 1, fp);
+ fread(&m_strEvent, sizeof(_string), 1, fp);
+
+ m_Events.push_back(m_strEvent);
+ m_KeyFrame.push_back(m_fKeyFrame);
+ }
+
+ fclose(fp);
+}
+
HRESULT CLevel_ObjectViewer::Ready_Layer_Camera(const _wstring& strLayerTag)
{
CDebugCamera::CAMERA_DEBUG_DESC CameraDesc{};
diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp
index abd5b0529..4cd737656 100644
--- a/Jusin154_Team3D/Editor/Private/Loader.cpp
+++ b/Jusin154_Team3D/Editor/Private/Loader.cpp
@@ -12,7 +12,6 @@
#include "Head.h"
#include "Body.h"
#include "Hair.h"
-#include "Dummy_Goblin.h"
#include "DummySkyBox.h"
#include "DummyObject.h"
#include
@@ -709,16 +708,9 @@ HRESULT CLoader::Loading_For_ObjectViewer()
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_F_Hair1_Model"),
CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Human/Hair/FeMale/F_Hair1/F_Hair1.bin", XMMatrixScaling(0.001f, 0.001f, 0.001f) * XMMatrixIdentity()))))
return E_FAIL;
-
#pragma endregion
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_GoblinHead_Model"),
- CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin/GoblinHead.bin", XMMatrixScaling(0.001f, 0.001f, 0.001f) * XMMatrixIdentity()))))
- return E_FAIL;
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_GoblinBody_Model"),
- CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin/GoblinBody.bin", XMMatrixScaling(0.001f, 0.001f, 0.001f) * XMMatrixIdentity()))))
- return E_FAIL;
+#pragma region MONSTER
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_TombProtector_Model"),
CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Monster/TombProtector/TombProtector.bin", XMMatrixScaling(0.001f, 0.001f, 0.001f) * XMMatrixIdentity()))))
@@ -728,6 +720,18 @@ HRESULT CLoader::Loading_For_ObjectViewer()
CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Monster/Troll/Troll.bin", XMMatrixScaling(0.001f, 0.001f, 0.001f) * XMMatrixIdentity()))))
return E_FAIL;
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Dragon_Model"),
+ CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Monster/Dragon/Dragon.bin", XMMatrixScaling(0.0005f, 0.0005f, 0.0005f) * XMMatrixIdentity()))))
+ return E_FAIL;
+
+#pragma endregion
+
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Broom_Model"),
+ CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Object/Broom/Broom.bin", XMMatrixScaling(0.001f, 0.001f, 0.001f) * XMMatrixIdentity()))))
+ return E_FAIL;
+
+
+
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Desc_Box"),
CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/Box/Box.bin", XMMatrixIdentity()))))
diff --git a/Jusin154_Team3D/Editor/Private/ModelParts.cpp b/Jusin154_Team3D/Editor/Private/ModelParts.cpp
index 55933a3af..c85302a2a 100644
--- a/Jusin154_Team3D/Editor/Private/ModelParts.cpp
+++ b/Jusin154_Team3D/Editor/Private/ModelParts.cpp
@@ -130,6 +130,7 @@ HRESULT CModelParts::Bind_ShaderResources()
if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) {
return E_FAIL;
}
+
return S_OK;
}
diff --git a/Jusin154_Team3D/Editor/Private/RootModelPart.cpp b/Jusin154_Team3D/Editor/Private/RootModelPart.cpp
index 10bbe6599..dee210e73 100644
--- a/Jusin154_Team3D/Editor/Private/RootModelPart.cpp
+++ b/Jusin154_Team3D/Editor/Private/RootModelPart.cpp
@@ -101,17 +101,18 @@ void CRootModelPart::Change_Model(_uint iIndex)
pModel->Set_CurrentTrackPosition(m_fTrackPosition);
pModel->Play_Animation(0.f);
-
- if (iIndex == ENUM_CLASS(PARTSTYPE::HEAD))
+ if (iIndex == ENUM_CLASS(PARTSTYPE::BODY))
{
Set_MainModel(m_ModelParts[iIndex]->Get_Component());
}
+
}
void CRootModelPart::Set_Animation(_uint iAnimIndex)
{
m_pMainModel->Set_AnimationIndex(iAnimIndex);
-
+ m_pMainModel->Set_CurrentTrackPosition(0.f);
+ m_pMainModel->Play_Animation(0.f);
for (auto& PartObject : m_ModelParts)
{
CModel* pModel = PartObject->Get_Component();
@@ -119,6 +120,7 @@ void CRootModelPart::Set_Animation(_uint iAnimIndex)
{
pModel->Set_AnimationIndex(m_pMainModel->Get_AnimIndex());
pModel->Set_CurrentTrackPosition(m_pMainModel->Get_CurrentTrackPosition());
+ pModel->Play_Animation(0.f);
}
}
}
@@ -139,12 +141,12 @@ HRESULT CRootModelPart::Ready_PartObjects()
CModelParts* pModelPartsObject = { nullptr };
- if (FAILED(Add_PartObject("Human_Head", ENUM_CLASS(LEVEL::STATIC), reinterpret_cast(&pModelPartsObject), &PartsDesc)))
+ if (FAILED(Add_PartObject("Human_Body", ENUM_CLASS(LEVEL::STATIC), reinterpret_cast(&pModelPartsObject), &PartsDesc)))
return E_FAIL;
m_ModelParts.push_back(pModelPartsObject);
- if (FAILED(Add_PartObject("Human_Body", ENUM_CLASS(LEVEL::STATIC), reinterpret_cast(&pModelPartsObject), &PartsDesc)))
+ if (FAILED(Add_PartObject("Human_Head", ENUM_CLASS(LEVEL::STATIC), reinterpret_cast(&pModelPartsObject), &PartsDesc)))
return E_FAIL;
m_ModelParts.push_back(pModelPartsObject);
diff --git a/Jusin154_Team3D/Editor/Public/Dummy_Goblin.h b/Jusin154_Team3D/Editor/Public/Dummy_Goblin.h
deleted file mode 100644
index 9a81deb47..000000000
--- a/Jusin154_Team3D/Editor/Public/Dummy_Goblin.h
+++ /dev/null
@@ -1,47 +0,0 @@
-#pragma once
-
-#include "Editor_Define.h"
-#include "GameObject.h"
-
-NS_BEGIN(Engine)
-class CShader;
-class CModel;
-NS_END
-
-NS_BEGIN(Editor)
-
-class CDummy_Goblin final : public CGameObject
-{
-private:
- CDummy_Goblin(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
- CDummy_Goblin(const CDummy_Goblin& Prototype);
- virtual ~CDummy_Goblin() = default;
-
-public:
- virtual HRESULT Initialize_Prototype() override;
- virtual HRESULT Initialize(void* pArg) override;
- virtual void Priority_Update(_float fTimeDelta) override;
- virtual void Update(_float fTimeDelta) override;
- virtual void Late_Update(_float fTimeDelta) override;
- virtual HRESULT Render() override;
-
-private:
- CShader* m_pShaderCom = { nullptr };
- CModel* m_pModelCom = { nullptr };
- _bool m_bRimLight = { true };
- _float m_fRimLightPower = { 3.2f };
- _float m_fRimLightStrength = { 3.04f };
- _float3 m_vRimLightColor = { 69.f / 255.f, 5.f / 255.f, 10.f / 255.f };
-
-private:
- HRESULT Ready_Components();
- HRESULT Bind_ShaderResources();
-
-public:
- static CDummy_Goblin* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
- virtual CGameObject* Clone(void* pArg, CGameObject* pOwner = nullptr) override;
- virtual void Free() override;
- virtual void Describe_Entity() override;
-};
-
-NS_END
\ No newline at end of file
diff --git a/Jusin154_Team3D/Editor/Public/Dummy_Goblin_Head.h b/Jusin154_Team3D/Editor/Public/Dummy_Goblin_Head.h
deleted file mode 100644
index 1be73f872..000000000
--- a/Jusin154_Team3D/Editor/Public/Dummy_Goblin_Head.h
+++ /dev/null
@@ -1,47 +0,0 @@
-#pragma once
-
-#include "Editor_Define.h"
-#include "GameObject.h"
-
-NS_BEGIN(Engine)
-class CShader;
-class CModel;
-NS_END
-
-NS_BEGIN(Editor)
-
-class CDummy_Goblin_Head final : public CGameObject
-{
-private:
- CDummy_Goblin_Head(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
- CDummy_Goblin_Head(const CDummy_Goblin_Head& Prototype);
- virtual ~CDummy_Goblin_Head() = default;
-
-public:
- virtual HRESULT Initialize_Prototype() override;
- virtual HRESULT Initialize(void* pArg) override;
- virtual void Priority_Update(_float fTimeDelta) override;
- virtual void Update(_float fTimeDelta) override;
- virtual void Late_Update(_float fTimeDelta) override;
- virtual HRESULT Render() override;
-
-private:
- CShader* m_pShaderCom = { nullptr };
- CModel* m_pModelCom = { nullptr };
- _bool m_bRimLight = { true };
- _float m_fRimLightPower = { 3.2f };
- _float m_fRimLightStrength = { 3.04f };
- _float3 m_vRimLightColor = { 69.f / 255.f, 5.f / 255.f, 10.f / 255.f };
-
-private:
- HRESULT Ready_Components();
- HRESULT Bind_ShaderResources();
-
-public:
- static CDummy_Goblin_Head* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
- virtual CGameObject* Clone(void* pArg, CGameObject* pOwner = nullptr) override;
- virtual void Free() override;
- virtual void Describe_Entity() override;
-};
-
-NS_END
\ No newline at end of file
diff --git a/Jusin154_Team3D/Editor/Public/Level_ObjectViewer.h b/Jusin154_Team3D/Editor/Public/Level_ObjectViewer.h
index e8cbe99ff..f1ec917af 100644
--- a/Jusin154_Team3D/Editor/Public/Level_ObjectViewer.h
+++ b/Jusin154_Team3D/Editor/Public/Level_ObjectViewer.h
@@ -34,9 +34,12 @@ class CLevel_ObjectViewer final : public CLevel
void Category_PartsModelList(const _char* Category, const _char* Layer);
void Show_AnimList();
void Show_ObjectList();
- void Object_Setting();
+ void Dummy_Object_Setting();
+ void Parts_Object_Setting();
void Save_LayerName(const _char* Layer);
_wchar* Save_ModelName(const _char* Category);
+ void Load_KeyFrame();
+
private:
vector m_Objects;
@@ -44,8 +47,10 @@ class CLevel_ObjectViewer final : public CLevel
class CRootModelPart* m_HumanRoot = { nullptr };
_int m_iObjectIndex = { 0 };
_int m_iPartsObjectIndex = { 0 };
-
- _float m_fAnimFrame = {};
+ _float m_fKeyFrame = {};
+ vector<_float> m_KeyFrame;
+ vector<_string> m_Events;
+ _string m_strEvent;
_char m_szName[MAX_PATH];
_wchar m_wszName[MAX_PATH];
_wchar m_wszLayer[MAX_PATH];
diff --git a/Jusin154_Team3D/Editor/Public/RootModelPart.h b/Jusin154_Team3D/Editor/Public/RootModelPart.h
index 9d816aa33..cdd168e8c 100644
--- a/Jusin154_Team3D/Editor/Public/RootModelPart.h
+++ b/Jusin154_Team3D/Editor/Public/RootModelPart.h
@@ -12,8 +12,7 @@ class CRootModelPart final : public CContainerObject
{
public:
- enum class PARTSTYPE{HEAD,BODY,HAIR,END};
-
+ enum class PARTSTYPE{ BODY,HEAD,HAIR,END};
public:
void Set_PrototypeModelName(const _wchar* PrototypeModelName) { m_PrototypeModelName = PrototypeModelName; }
void Set_ModelName(const _char* Name) { m_ModelName = Name; }
diff --git a/Jusin154_Team3D/Engine/Private/Channel.cpp b/Jusin154_Team3D/Engine/Private/Channel.cpp
index 5bd73a07c..a5ec4fa99 100644
--- a/Jusin154_Team3D/Engine/Private/Channel.cpp
+++ b/Jusin154_Team3D/Engine/Private/Channel.cpp
@@ -144,7 +144,8 @@ void CChannel::Update_TransformationMatirx(const vector& Bones, _float f
}
_matrix BoneTransformationMatrix = XMMatrixAffineTransformation(vScale, XMVectorSet(0.f, 0.f, 0.f, 1.f), vRotation, vTranslation);
- Bones[m_iBoneIndex]->Set_TransformationMatrix(BoneTransformationMatrix);
+ if(Bones.size()>m_iBoneIndex)
+ Bones[m_iBoneIndex]->Set_TransformationMatrix(BoneTransformationMatrix);
}
diff --git a/Jusin154_Team3D/Engine/Public/Model.h b/Jusin154_Team3D/Engine/Public/Model.h
index 8f724c0d8..aa90bca4a 100644
--- a/Jusin154_Team3D/Engine/Public/Model.h
+++ b/Jusin154_Team3D/Engine/Public/Model.h
@@ -49,7 +49,6 @@ class ENGINE_DLL CModel final : public CComponent
_int Get_AnimIndex() { return m_iCurrentAnimIndex; }
_float Get_AnimSpeed();
void Set_AnimSpeed(_float fSpeed);
-
public:
HRESULT Bind_Material(_uint iMeshIndex, class CShader* pShader, const _char* pConstantName, _uint iType, _uint iTextureIndex);
HRESULT Bind_BoneMatrices(_uint iMeshIndex, class CShader* pShader, const _char* pConstantName);