diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Box/Box b/Jusin154_Team3D/Client/Bin/Resources/Models/Box/Box
similarity index 100%
rename from Jusin154_Team3D/Editor/Bin/Resources/Models/Box/Box
rename to Jusin154_Team3D/Client/Bin/Resources/Models/Box/Box
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Goblin/GoblinBody b/Jusin154_Team3D/Client/Bin/Resources/Models/Goblin/GoblinBody
similarity index 100%
rename from Jusin154_Team3D/Editor/Bin/Resources/Models/Goblin/GoblinBody
rename to Jusin154_Team3D/Client/Bin/Resources/Models/Goblin/GoblinBody
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Goblin/GoblinHead b/Jusin154_Team3D/Client/Bin/Resources/Models/Goblin/GoblinHead
similarity index 100%
rename from Jusin154_Team3D/Editor/Bin/Resources/Models/Goblin/GoblinHead
rename to Jusin154_Team3D/Client/Bin/Resources/Models/Goblin/GoblinHead
diff --git a/Jusin154_Team3D/Client/Bin/Resources/Models/Goblin/T_GOB_Mage_Head_D.png b/Jusin154_Team3D/Client/Bin/Resources/Models/Goblin/T_GOB_Mage_Head_D.png
new file mode 100644
index 000000000..72d3d63fc
Binary files /dev/null and b/Jusin154_Team3D/Client/Bin/Resources/Models/Goblin/T_GOB_Mage_Head_D.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Body/Body b/Jusin154_Team3D/Client/Bin/Resources/Models/Human/Body/Body
similarity index 100%
rename from Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Body/Body
rename to Jusin154_Team3D/Client/Bin/Resources/Models/Human/Body/Body
diff --git a/Jusin154_Team3D/Client/Bin/Resources/Models/Human/Body/Body.fbx b/Jusin154_Team3D/Client/Bin/Resources/Models/Human/Body/Body.fbx
new file mode 100644
index 000000000..a9b67e9ba
--- /dev/null
+++ b/Jusin154_Team3D/Client/Bin/Resources/Models/Human/Body/Body.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7586f3029f295dbcb4d0306a07464420af0efc524cf09568464b07d67340a95c
+size 3076716
diff --git a/Jusin154_Team3D/Client/Bin/Resources/Models/Human/Body/T_Vendor_DADA_D.png b/Jusin154_Team3D/Client/Bin/Resources/Models/Human/Body/T_Vendor_DADA_D.png
new file mode 100644
index 000000000..bd1d863a5
Binary files /dev/null and b/Jusin154_Team3D/Client/Bin/Resources/Models/Human/Body/T_Vendor_DADA_D.png differ
diff --git a/Jusin154_Team3D/Client/Bin/Resources/Models/Human/Body/T_Vendor_DADA_N.png b/Jusin154_Team3D/Client/Bin/Resources/Models/Human/Body/T_Vendor_DADA_N.png
new file mode 100644
index 000000000..88d3686f0
Binary files /dev/null and b/Jusin154_Team3D/Client/Bin/Resources/Models/Human/Body/T_Vendor_DADA_N.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Hair/Hair b/Jusin154_Team3D/Client/Bin/Resources/Models/Human/Hair/Hair
similarity index 100%
rename from Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Hair/Hair
rename to Jusin154_Team3D/Client/Bin/Resources/Models/Human/Hair/Hair
diff --git a/Jusin154_Team3D/Client/Bin/Resources/Models/Human/Hair/Hair.fbx b/Jusin154_Team3D/Client/Bin/Resources/Models/Human/Hair/Hair.fbx
new file mode 100644
index 000000000..b30f6ac18
--- /dev/null
+++ b/Jusin154_Team3D/Client/Bin/Resources/Models/Human/Hair/Hair.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a6bed60c6be5555ed08388845e833b539eb5ca8095be2e7096aad754450f0320
+size 3383676
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Head/Head b/Jusin154_Team3D/Client/Bin/Resources/Models/Human/Head/Head
similarity index 100%
rename from Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Head/Head
rename to Jusin154_Team3D/Client/Bin/Resources/Models/Human/Head/Head
diff --git a/Jusin154_Team3D/Client/Bin/Resources/Models/Human/Head/Head.fbx b/Jusin154_Team3D/Client/Bin/Resources/Models/Human/Head/Head.fbx
new file mode 100644
index 000000000..d0d7958de
--- /dev/null
+++ b/Jusin154_Team3D/Client/Bin/Resources/Models/Human/Head/Head.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e8c2af954e432ef10626e687fc032c826b4042f6ba058e485347273087509b76
+size 2730924
diff --git a/Jusin154_Team3D/Client/Bin/Resources/Models/Human/Head/T_NPC_Young_M_Head_Ivory_D.png b/Jusin154_Team3D/Client/Bin/Resources/Models/Human/Head/T_NPC_Young_M_Head_Ivory_D.png
new file mode 100644
index 000000000..c4b770cdd
Binary files /dev/null and b/Jusin154_Team3D/Client/Bin/Resources/Models/Human/Head/T_NPC_Young_M_Head_Ivory_D.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Steve/Steve b/Jusin154_Team3D/Client/Bin/Resources/Models/Steve/Steve
similarity index 100%
rename from Jusin154_Team3D/Editor/Bin/Resources/Models/Steve/Steve
rename to Jusin154_Team3D/Client/Bin/Resources/Models/Steve/Steve
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/TombProtector/TombProtector b/Jusin154_Team3D/Client/Bin/Resources/Models/TombProtector/TombProtector
similarity index 100%
rename from Jusin154_Team3D/Editor/Bin/Resources/Models/TombProtector/TombProtector
rename to Jusin154_Team3D/Client/Bin/Resources/Models/TombProtector/TombProtector
diff --git a/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_ArmoredTroll_Body_D.png b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_ArmoredTroll_Body_D.png
new file mode 100644
index 000000000..b63e5e4a5
Binary files /dev/null and b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_ArmoredTroll_Body_D.png differ
diff --git a/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_ArmoredTroll_Leather_D.png b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_ArmoredTroll_Leather_D.png
new file mode 100644
index 000000000..9d495b121
Binary files /dev/null and b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_ArmoredTroll_Leather_D.png differ
diff --git a/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_ArmoredTroll_Leather_N.png b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_ArmoredTroll_Leather_N.png
new file mode 100644
index 000000000..3533f9808
Binary files /dev/null and b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_ArmoredTroll_Leather_N.png differ
diff --git a/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_ArmoredTroll_Metal_D.png b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_ArmoredTroll_Metal_D.png
new file mode 100644
index 000000000..bbbb5572a
Binary files /dev/null and b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_ArmoredTroll_Metal_D.png differ
diff --git a/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_ArmoredTroll_Metal_E.png b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_ArmoredTroll_Metal_E.png
new file mode 100644
index 000000000..b23efd89f
Binary files /dev/null and b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_ArmoredTroll_Metal_E.png differ
diff --git a/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_ArmoredTroll_Metal_N.png b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_ArmoredTroll_Metal_N.png
new file mode 100644
index 000000000..3c8bca8ba
Binary files /dev/null and b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_ArmoredTroll_Metal_N.png differ
diff --git a/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_Mountain01_Eye_D.png b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_Mountain01_Eye_D.png
new file mode 100644
index 000000000..df0e9262f
Binary files /dev/null and b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_Mountain01_Eye_D.png differ
diff --git a/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_Mountain01_Head_D.png b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_Mountain01_Head_D.png
new file mode 100644
index 000000000..0276f34ab
Binary files /dev/null and b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_Mountain01_Head_D.png differ
diff --git a/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_Mountain01_Head_N.png b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_Mountain01_Head_N.png
new file mode 100644
index 000000000..f4280c6f9
Binary files /dev/null and b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_Mountain01_Head_N.png differ
diff --git a/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_Mountain01_Skirt_D.png b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_Mountain01_Skirt_D.png
new file mode 100644
index 000000000..04895a31f
Binary files /dev/null and b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_Mountain01_Skirt_D.png differ
diff --git a/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_Mountain01_Skirt_N.png b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_Mountain01_Skirt_N.png
new file mode 100644
index 000000000..e3d44cbb1
Binary files /dev/null and b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_Mountain01_Skirt_N.png differ
diff --git a/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_Teeth_D.png b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_Teeth_D.png
new file mode 100644
index 000000000..5db401caf
Binary files /dev/null and b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_Teeth_D.png differ
diff --git a/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_Teeth_N.png b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_Teeth_N.png
new file mode 100644
index 000000000..7c0338fd8
Binary files /dev/null and b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/T_Troll_Teeth_N.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Troll/Troll b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/Troll
similarity index 100%
rename from Jusin154_Team3D/Editor/Bin/Resources/Models/Troll/Troll
rename to Jusin154_Team3D/Client/Bin/Resources/Models/Troll/Troll
diff --git a/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/Troll.fbx b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/Troll.fbx
new file mode 100644
index 000000000..94e082474
--- /dev/null
+++ b/Jusin154_Team3D/Client/Bin/Resources/Models/Troll/Troll.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9b44b64d49d58489c7ac80620cbd2bf5c5827343301d5303bdaa6314b4040634
+size 136314364
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Goblin/GoblinBody.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Goblin/GoblinBody.bin
new file mode 100644
index 000000000..d0c63a25f
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Goblin/GoblinBody.bin differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Goblin/GoblinHead.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Goblin/GoblinHead.bin
new file mode 100644
index 000000000..70cdd40d1
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Goblin/GoblinHead.bin differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Body/Body.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Body/Body.bin
new file mode 100644
index 000000000..594d7b2a7
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Body/Body.bin differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Hair/Hair.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Hair/Hair.bin
new file mode 100644
index 000000000..7305034ef
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Hair/Hair.bin differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Head/Head.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Head/Head.bin
new file mode 100644
index 000000000..92616bccf
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Head/Head.bin differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Steve/Steve.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Steve/Steve.bin
new file mode 100644
index 000000000..4cd475871
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Steve/Steve.bin differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/TombProtector/TombProtector.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/TombProtector/TombProtector.bin
new file mode 100644
index 000000000..6662964a2
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/TombProtector/TombProtector.bin differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Troll/Troll.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Troll/Troll.bin
new file mode 100644
index 000000000..181da1740
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Troll/Troll.bin differ
diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj b/Jusin154_Team3D/Editor/Default/Editor.vcxproj
index f8d67cae6..23d77f9e4 100644
--- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj
+++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj
@@ -176,14 +176,12 @@
-
-
@@ -231,14 +229,12 @@
-
-
diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
index 04615ac36..048821358 100644
--- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
+++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
@@ -103,9 +103,6 @@
{5b31b993-b137-42d2-b737-000aeb27a675}
-
- {167182ec-ed5f-46fc-9c27-a82e327fa1ac}
-
{f60f1948-8c11-4796-843a-8c38f10043e3}
@@ -266,9 +263,6 @@
02.GameObjects\Layer_Effect\Effect_Editor
-
- 50.UI\LodingWidget1
-
50.UI\GamePlay_Canvas\Loding_Panel\LoadingWidget
@@ -405,9 +399,6 @@
02.GameObjects\Layer_Effect\Effect_Editor
-
- 50.UI\LodingWidget1
-
50.UI\GamePlay_Canvas\Loding_Panel\LoadingWidget
diff --git a/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp
index 20a9d21a3..e6175746c 100644
--- a/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp
+++ b/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp
@@ -132,42 +132,26 @@ void CLevel_ObjectViewer::Add_Human()
void CLevel_ObjectViewer::Show_ModelFilePath()
{
- /*GUI::Begin("Model_List");
+ GUI::Begin("Model_List");
if(GUI::BeginTabBar("Model_List"))
{
- if (GUI::BeginTabItem("Assimp_Model"))
- {
- if (m_pGameInstance->ModelFilePathCount() > 0)
- {
- for (_uint i = 0; i < m_pGameInstance->ModelFilePathCount(); i++)
- {
- GUI::Text(m_pGameInstance->Load_ModelFilePath(i));
- GUI::SameLine();
-
- std::string label = "Binary##" + std::to_string(i);
- if (GUI::Button(label.c_str()))
- {
- m_pGameInstance->SaveAssimpModel(m_pGameInstance->Load_ModelFilePath(i));
- }
- }
- GUI::EndTabItem();
- }
- }
-
- if (GUI::BeginTabItem("Binary_Model"))
+ if (GUI::BeginTabItem("Model"))
{
if (m_pGameInstance->BinaryModelFilePathCount() > 0)
{
for (_uint i = 0; i < m_pGameInstance->BinaryModelFilePathCount(); i++)
{
- GUI::Text(m_pGameInstance->Load_BinaryModelFilePath(i));
+ if (GUI::Button(m_pGameInstance->Load_BinaryModelFilePath(i)))
+ {
+
+ }
}
}
GUI::EndTabItem();
}
}
GUI::EndTabBar();
- GUI::End();*/
+ GUI::End();
}
void CLevel_ObjectViewer::Show_AnimList()
diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp
index d503316df..4bfe5a2d9 100644
--- a/Jusin154_Team3D/Editor/Private/Loader.cpp
+++ b/Jusin154_Team3D/Editor/Private/Loader.cpp
@@ -27,7 +27,8 @@
#include "Mission_Key.h"
#include "Mission_KeyHold.h"
#include "Mouse_Cursor.h"
-#include "LodingWidget1.h"
+
+#include "Dummy_Cube.h"
#include "MiniMap_TrimBorder.h"
#include "Active_Icon.h"
@@ -270,7 +271,7 @@ HRESULT CLoader::Loading_For_UI()
}
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("ActiveMission_Icon"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("../Bin/Resources/Textures/Mission/ActiveMission_Icon_%d.png"), TEXT("ActiveMission_Icon"), 2)))) {
+ CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("../Bin/Resources/Textures/Mission/ActiveMission_Icon_%d.png"), 2)))) {
return E_FAIL;
}
@@ -280,7 +281,7 @@ HRESULT CLoader::Loading_For_UI()
}
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Mission_Icon"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("../Bin/Resources/Textures/Mission/Mission_Icon_%d.png"), TEXT("Mission_Icon"), 2)))) {
+ CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("../Bin/Resources/Textures/Mission/Mission_Icon_%d.png"), 2)))) {
return E_FAIL;
}
@@ -295,7 +296,7 @@ HRESULT CLoader::Loading_For_UI()
}
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("HUD_MiniMap_TrimBorder"),
- CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Textures/MiniMap/HUD_MiniMap_TrimBorder.png"), TEXT("HUD_MiniMap_TrimBorder"), 0)))) {
+ CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Textures/MiniMap/HUD_MiniMap_TrimBorder.png"), 0)))) {
return E_FAIL;
}
@@ -335,10 +336,6 @@ HRESULT CLoader::Loading_For_UI()
{
return E_FAIL;
}
- if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CLodingWidget1::Create(m_pDevice, m_pContext))))
- {
- return E_FAIL;
- }
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CMission_Panel::Create(m_pDevice, m_pContext))))
{
@@ -562,44 +559,41 @@ HRESULT CLoader::Loading_For_ObjectViewer()
m_strMessage = TEXT("Model Loading..");
-
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_GoblinBody_Model"),
- CModel::Create(m_pDevice, m_pContext, "../Bin/Resources/Models/Goblin/GoblinBody.fbx", MODEL::ANIM, XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixIdentity(), 0))))
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_HumanBody_Model"),
- CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Human/Body/Body", XMMatrixScaling(0.001f, 0.001f, 0.001f) * XMMatrixIdentity()))))
+ CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Human/Body/Body.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_HumanHead_Model"),
- CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Human/Head/Head", XMMatrixScaling(0.001f, 0.001f, 0.001f) * XMMatrixIdentity()))))
+ CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Human/Head/Head.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_HumanHair_Model"),
- CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Human/Hair/Hair", XMMatrixScaling(0.001f, 0.001f, 0.001f) * XMMatrixIdentity()))))
+ CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Human/Hair/Hair.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_GoblinHead_Model"),
- CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Goblin/GoblinHead", XMMatrixScaling(0.001f, 0.001f, 0.001f) * XMMatrixIdentity()))))
+ CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Goblin/GoblinHead.bin", XMMatrixScaling(0.001f, 0.001f, 0.001f) * XMMatrixIdentity()))))
return E_FAIL;
- m_strMessage = TEXT("Shader Loading..");
-
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/Goblin/GoblinBody", XMMatrixScaling(0.001f, 0.001f, 0.001f) * XMMatrixIdentity()))))
+ CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Goblin/GoblinBody.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_Steve_Model"),
- CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Steve/Steve",XMMatrixScaling(0.01f,0.01f,0.01f)* XMMatrixIdentity()))))
+ CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Steve/Steve.bin",XMMatrixScaling(0.01f,0.01f,0.01f)* XMMatrixIdentity()))))
return E_FAIL;
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/TombProtector/TombProtector", XMMatrixScaling(0.001f, 0.001f, 0.001f) * XMMatrixIdentity()))))
+ CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/TombProtector/TombProtector.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_Troll_Model"),
- CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Troll/Troll", XMMatrixScaling(0.001f, 0.001f, 0.001f) * XMMatrixIdentity()))))
+ CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Troll/Troll.bin", XMMatrixScaling(0.001f, 0.001f, 0.001f) * XMMatrixIdentity()))))
return E_FAIL;
+ m_strMessage = TEXT("Shader Loading..");
+
m_strMessage = TEXT("Prototype Loading..");
/* For.Prototype_GameObject_RootModelPart */
diff --git a/Jusin154_Team3D/Editor/Private/MiniMap_Panel.cpp b/Jusin154_Team3D/Editor/Private/MiniMap_Panel.cpp
index 64d92d12a..4972af1f8 100644
--- a/Jusin154_Team3D/Editor/Private/MiniMap_Panel.cpp
+++ b/Jusin154_Team3D/Editor/Private/MiniMap_Panel.cpp
@@ -92,7 +92,7 @@ HRESULT CMiniMap_Panel::Bind_ShaderResources()
{
return E_FAIL;
}
- if (FAILED(m_pTextureCom->Bind_ShaderResource(m_pShaderCom, "g_Texture", 0)))
+ if (FAILED(m_pDiffuse_TextureCom->Bind_ShaderResource(m_pShaderCom, "g_Texture", 0)))
{
return E_FAIL;
}
@@ -138,7 +138,7 @@ void CMiniMap_Panel::Free()
{
__super::Free();
- SAFE_RELEASE(m_pTextureCom);
+ SAFE_RELEASE(m_pDiffuse_TextureCom);
SAFE_RELEASE(m_pShaderCom);
SAFE_RELEASE(m_pVIBufferCom);
}
diff --git a/Jusin154_Team3D/Editor/Public/Loading_Panel.h b/Jusin154_Team3D/Editor/Public/Loading_Panel.h
index 335c7f0a7..f40325147 100644
--- a/Jusin154_Team3D/Editor/Public/Loading_Panel.h
+++ b/Jusin154_Team3D/Editor/Public/Loading_Panel.h
@@ -30,7 +30,7 @@ class CLoading_Panel final : public CPanelObject
virtual HRESULT Initialize(void* pArg) override;
private:
- CTexture* m_pTextureCom = { nullptr };
+ CTexture* m_pDiffuse_TextureCom = { nullptr };
CShader* m_pShaderCom = { nullptr };
CVIBuffer_Rect* m_pVIBufferCom = { nullptr };
CGameObject* m_pMission_KeyHold = { nullptr };
diff --git a/Jusin154_Team3D/Engine/Private/Model.cpp b/Jusin154_Team3D/Engine/Private/Model.cpp
index 6ca5896fa..acef45a16 100644
--- a/Jusin154_Team3D/Engine/Private/Model.cpp
+++ b/Jusin154_Team3D/Engine/Private/Model.cpp
@@ -827,13 +827,25 @@ HRESULT CModel::Initialize_Prototype()
HRESULT CModel::Initialize_Prototype(MODEL eType, const _char* pModelFilePath, _fmatrix PreTransformMatrix)
{
- if (!LoadData(pModelFilePath))
+ _char szTextureFileName[MAX_PATH] = {};
+ _char szDir[MAX_PATH] = {};
+ _char szName[MAX_PATH] = {};
+ _char szEXT[MAX_PATH] = {};
+ _splitpath_s(pModelFilePath, nullptr, 0, szDir, MAX_PATH, szName, MAX_PATH, szEXT, MAX_PATH);
+
+ if (strcmp(".bin", szEXT) == 0)
+ {
+ LoadData(pModelFilePath);
+ }
+ else if (strcmp(".fbx", szEXT) == 0)
{
_char Temp[256];
- strcpy_s(Temp, pModelFilePath);
- strcat_s(Temp,".fbx");
- Assimp_Model_Load(Temp, eType, PreTransformMatrix, 0);
- SaveAssimpModel(pModelFilePath);
+ strcpy_s(Temp, szDir);
+ strcat_s(Temp, szName);
+ strcat_s(Temp, ".bin");
+ Assimp_Model_Load(pModelFilePath, eType, PreTransformMatrix, 0);
+ SaveAssimpModel(Temp);
+
return S_OK;
}
m_pSaveModel = m_pGameInstance->Load_SaveModel(pModelFilePath);