From 14a562fbc428969742959f04de475b71b4ef161d Mon Sep 17 00:00:00 2001 From: kimnuri Date: Mon, 5 Jan 2026 22:36:42 +0900 Subject: [PATCH] [add] Anim --- .../Playable_AvadaKedavra.bin | 4 +- .../Playable_AvadaKedavra.fbx | 4 +- .../PlayableCharacter/Playable_OpenDoor.bin | 4 +- .../PlayableCharacter/Playable_OpenDoor.fbx | 4 +- .../PlayableCharacter/Playable_TrollIntro.bin | 3 + .../PlayableCharacter/Playable_TrollIntro.fbx | 3 + .../Models/Monster/SubTroll/Female01.fbx | 3 + .../Models/Monster/SubTroll/male01.fbx | 3 + .../Models/Monster/SubTroll/troll.bin | 4 +- .../Models/Monster/SubTroll/troll.fbx | 4 +- .../Models/Monster/SubTroll/troll_Anim.bin | 4 +- .../Models/Monster/SubTroll/troll_Anim.fbx | 4 +- .../Monster/SubTroll/troll_TrollIntro.bin | 3 + .../Monster/SubTroll/troll_TrollIntro.fbx | 3 + .../Object/Camera/Camera_TrollIntro.bin | 3 + .../Object/Camera/Camera_TrollIntro.fbx | 3 + .../ShaderFiles/Shader_NPC_PBR_Anim.hlsl | 2 +- .../Editor/Private/Loader_ObjectViewer.cpp | 172 +++++++++++------- 18 files changed, 144 insertions(+), 86 deletions(-) create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.fbx create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/Female01.fbx create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/male01.fbx create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.fbx create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Camera/Camera_TrollIntro.bin create mode 100644 Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Camera/Camera_TrollIntro.fbx diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_AvadaKedavra.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_AvadaKedavra.bin index b677974e7..ac0f24504 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_AvadaKedavra.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_AvadaKedavra.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c0340a8a0b08502e6b931b479aca9dae73719a434dbd30d731efea04278e8e7f -size 10680526 +oid sha256:0e6e8d353a7023d1d869027065bae2628265461835b7a165e390a2ccef2b8ef8 +size 10770337 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_AvadaKedavra.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_AvadaKedavra.fbx index e4bffd1e6..6a6ca843f 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_AvadaKedavra.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_AvadaKedavra.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f3c4a07825d551440d37c0eb56c56528c5cf729eda1b0e8d961b16ceee36f9aa -size 6535596 +oid sha256:a675d9c736c93922ae2058a24982074f2593cc8cd6f584a51c1a93c398b39101 +size 6579084 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_OpenDoor.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_OpenDoor.bin index 48ab10d3d..f746f425e 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_OpenDoor.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_OpenDoor.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ff865f8dceb4baf57465631ea28be92f8729068435d4eec8acef1b74968d1b21 -size 10798323 +oid sha256:407209a0587422e75ddc3cf5ec0b06e3b49cb66d14af4bcf55b817a2f7802596 +size 10446291 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_OpenDoor.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_OpenDoor.fbx index d1fcd8c1b..d605634fb 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_OpenDoor.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_OpenDoor.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7d57c7dd2a5a50ab101b390c05715319737e5fff3548684d7c652556e12be1e4 -size 7602204 +oid sha256:aa0598d4e3883f2ca4b8e4a5afe4bc121034a734bbd24e681d2b68f53c96dbed +size 7670460 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.bin new file mode 100644 index 000000000..8779cd5a1 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32b51f41874a6648ba4d389840709175a6bfbc04152d800abb743fc4a6689e03 +size 13829790 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.fbx new file mode 100644 index 000000000..f88a088c2 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ce6d6d9c175b7711f49a87c50e3e16bce60ee524ea04254a7fee76b8054f5bd +size 7854460 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/Female01.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/Female01.fbx new file mode 100644 index 000000000..98fbb02b8 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/Female01.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b0b5e33928ae4072c6dc1dafd7d1034c18600591839da84c2ecab3757e4418b6 +size 36510876 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/male01.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/male01.fbx new file mode 100644 index 000000000..28682a24e --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/male01.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f9c508279da4a3fcaac901b784f3ab70655e9bcd9a941df0fa5c064a1c37f8c +size 49008684 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.bin index c3a633e78..00406df54 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a7d1e09cadbb9b893154e11dae7e8a4dbd6519c294fbca956cf2ba11fdfe4ed5 -size 5154246 +oid sha256:66743ee440af5a10d0e74ff2203efa4f08514f6b19869fcc133869f568af7b8e +size 5163586 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.fbx index 866d6ed22..fac6a610d 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:62c113acb5e15bab839185ad00acf6ede4587fcf44874078ce738d0475fec203 -size 2138700 +oid sha256:6afe140b1bd18e24b74e3631ffa881cfbcd1036fc83fd3e4d49fc5cf76206338 +size 2268364 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.bin index 19074fb85..bc4eff994 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:aafe6c653fd8c4be89928fd725687e9939deacddbdc59f26c8a92a3e6a2251c8 -size 41873230 +oid sha256:7f0aec44a3dbeafab4cbbd655e2f193d1159aa57843d86f7eadb702358032237 +size 43489033 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.fbx index 3dc740612..d9a512f66 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2f4ac561f8c038b1e1a3697288135c24cdc8e954fd24a396c5836c36135f9206 -size 123683036 +oid sha256:cecb0a62fb33d988795f4369738633dc14988ebcd87ad85fb724fc462efe3327 +size 136112332 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.bin new file mode 100644 index 000000000..4c50849ef --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:290de4b9a47b9e07596a092531280c77548e4c6ab8bae2564a976b6338f6daa9 +size 16281507 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.fbx new file mode 100644 index 000000000..3a854e1cf --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6fa4bf2c5c8aff70c37b8a113812c4b040b2b7a3664700f5d7024358612eb2be +size 4519836 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Camera/Camera_TrollIntro.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Camera/Camera_TrollIntro.bin new file mode 100644 index 000000000..5e3c63885 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Camera/Camera_TrollIntro.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef3ac2202757e81a8a8a89c4a032326fdb9fad7cc3f7b4e64abd6b71e82fe0b1 +size 134860 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Camera/Camera_TrollIntro.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Camera/Camera_TrollIntro.fbx new file mode 100644 index 000000000..4b09a75d1 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Camera/Camera_TrollIntro.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c1932284b28eaec10dc58e31f142665a4b19eee9af9392ce438495264e36128 +size 143068 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl index 1a22e3351..ad6342569 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl @@ -251,7 +251,7 @@ VS_OUT VS_MAIN_LEGACY(VS_IN In) //BoneMatrix = TempBoneMatrix; - matrix BoneMatrix = + BoneMatrix = mul(g_OffsetMatrix[In.vBlendIndex.x], mul(g_BoneBuffer[In.vBlendIndex.x].LocalCombined, w.x)) + mul(g_OffsetMatrix[In.vBlendIndex.y], diff --git a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp index d66505a73..ddb883001 100644 --- a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp @@ -81,44 +81,54 @@ HRESULT CLoader::Loading_For_ObjectViewer() #pragma region MONSTER - futures.emplace_back(Deferred_ModelLoad( - MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin/SK_GOB_M_T4Melee_INST_A_Master.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_SK_GOB_M_T4Melee_INST_A_Master_Model") - )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin/SK_GOB_M_T4Melee_INST_A_Master.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_SK_GOB_M_T4Melee_INST_A_Master_Model") + //)); - futures.emplace_back(Deferred_ModelLoad( - MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_GoblinMage_Model") - )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_GoblinMage_Model") + //)); - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/Goblin_Assassin/SK_GOB_M_Assassin_Master.bin", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_SK_GOB_M_Assassin_Master_Model") - )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/Goblin_Assassin/SK_GOB_M_Assassin_Master.bin", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_SK_GOB_M_Assassin_Master_Model") + //)); - if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_GoblinSpector_Model"), - CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Monster/GoblinSpector/GoblinSpector.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) - return E_FAIL; + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_GoblinSpector_Model"), + // CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Monster/GoblinSpector/GoblinSpector.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) + // return E_FAIL; - if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Playable_Model"), - CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) - return E_FAIL; + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Playable_Model"), + // CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) + // return E_FAIL; futures.emplace_back(Deferred_ModelLoad( MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll.bin", XMMatrixIdentity(), TEXT("Prototype_Component_troll_Model") )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.bin", XMMatrixIdentity(), + // TEXT("Prototype_Component_trsoll_Model") + //)); + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll_Anim.bin", XMMatrixIdentity(), + // TEXT("Prototype_Component_trsoll_Model") + //)); + futures.emplace_back(Deferred_ModelLoad( MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/ConjuredDragon/ConjuredDragon.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(), TEXT("Prototype_Component_ConjuredDragon_Model") )); - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_Professor_EleazarFig_Model") - )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_Professor_EleazarFig_Model") + //)); #pragma endregion @@ -176,10 +186,11 @@ HRESULT CLoader::Loading_For_ObjectViewer() MODEL::NONANIM, "../Bin/Resources/Models/Box/Box.bin", XMMatrixIdentity(), TEXT("Desc_Box") )); - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/GerboldOllivander/GerboldOlivander.bin", XMMatrixIdentity(), - TEXT("Prototype_Component_GerboldOlivander_Model") - )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/GerboldOllivander/GerboldOlivander.bin", XMMatrixIdentity(), + // TEXT("Prototype_Component_GerboldOlivander_Model") + //)); + //futures.emplace_back(Deferred_ModelLoad( // MODEL::ANIM, "../Bin/Resources/Models/Object/Camera/Camera.bin", XMMatrixIdentity(), @@ -196,63 +207,86 @@ HRESULT CLoader::Loading_For_ObjectViewer() // TEXT("Prototype_Component_Camera_DSModel") //)); - if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_CCL_CameraRig.001_Model"), - CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Object/Camera/CCL_CameraRig.001.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) - return E_FAIL; + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Object/Camera/Camera_TrollIntro.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Camera_dsModel") + //)); - if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Camera_Model"), - CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Object/Camera/Camera.bin", XMMatrixIdentity())))) - return E_FAIL; + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_CCL_CameraRig.001_Model"), + // CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Object/Camera/CCL_CameraRig.001.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) + // return E_FAIL; + + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Camera_Model"), + // CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Object/Camera/Camera.bin", XMMatrixIdentity())))) + // return E_FAIL; futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.fbx", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(), TEXT("Prototype_Component_Playable_Model") )); - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_MatildaWeasely_Model") - )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.fbx", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_Playable_Model") + //)); - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_SatyavatiShah_Model") - )); +#pragma region NPC - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_PhineasBlack_Model") - )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_Professor_EleazarFig_Model") + //)); - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_ChiyoKogawa_Model") - )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_MatildaWeasely_Model") + //)); - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_Ghost_Peeves_Model") - )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_SatyavatiShah_Model") + //)); - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/M_Student/M_Student.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_M_Student_Model") - )); - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/F_Student/F_Student.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_F_Student_Model") - )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_PhineasBlack_Model") + //)); - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Elf/Elf.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_Elf_Model") - )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_ChiyoKogawa_Model") + //)); + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_Ghost_Peeves_Model") + //)); + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/M_Student/M_Student.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_M_Student_Model") + //)); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/F_Student/F_Student.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_F_Student_Model") + //)); + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Elf/Elf.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_Elf_Model") + //)); //futures.emplace_back(Deferred_ModelLoad( // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Cmbt.fbx", XMMatrixIdentity(), // TEXT("Prototype_Component_Student_Cmbt_Model") //)); + + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_OpenDoor.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Student_Cmbt_Model") + //)); //futures.emplace_back(Deferred_ModelLoad( // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Rct.fbx", XMMatrixIdentity(), @@ -294,10 +328,10 @@ HRESULT CLoader::Loading_For_ObjectViewer() // TEXT("Prototype_Component_Student_Cmbt_Model") //)); - /*futures.emplace_back(Deferred_ModelLoad( - MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_AvadaKedavra.fbx", XMMatrixIdentity(), - TEXT("Prototype_Component_Student_Cmbt_Model") - ));*/ + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_AvadaKedavra.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Student_Cmbt_Model") + //)); for (auto& job : futures) { pair<_wstring, CModel*>* pResult = job.get();