From 4fcfe5e9b10f152856b38111d54450b68adfae6c Mon Sep 17 00:00:00 2001 From: kimnuri Date: Tue, 6 Jan 2026 13:14:20 +0900 Subject: [PATCH 1/5] [fix] TrollAnim --- .../Bin/Resources/Models/Monster/SubTroll/troll.bin | 4 ++-- .../Bin/Resources/Models/Monster/SubTroll/troll.fbx | 4 ++-- .../Resources/Models/Monster/SubTroll/troll_Anim.bin | 4 ++-- .../Resources/Models/Monster/SubTroll/troll_Anim.fbx | 4 ++-- .../Models/Monster/SubTroll/troll_TrollIntro.bin | 4 ++-- .../Models/Monster/SubTroll/troll_TrollIntro.fbx | 4 ++-- .../Editor/Private/Loader_ObjectViewer.cpp | 12 ++++++------ 7 files changed, 18 insertions(+), 18 deletions(-) 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 00406df54..fb94d5259 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:66743ee440af5a10d0e74ff2203efa4f08514f6b19869fcc133869f568af7b8e -size 5163586 +oid sha256:4bebd94fc3f5dc0bd4a8a7c3ec66a0bd9476c65b797d0e31f1ab895770101fbb +size 5167738 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 fac6a610d..7e3678af4 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:6afe140b1bd18e24b74e3631ffa881cfbcd1036fc83fd3e4d49fc5cf76206338 -size 2268364 +oid sha256:06f8023e3d44b1e374e6ee981e18a783121ecd817e1be2a4df5cea6d87990818 +size 2261596 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 bc4eff994..8e6f30bfd 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:7f0aec44a3dbeafab4cbbd655e2f193d1159aa57843d86f7eadb702358032237 -size 43489033 +oid sha256:662555e21da509d51c2418e358be4cdc3c4cf490559ce62658df21909e24347e +size 43496211 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 d9a512f66..4216dcacd 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:cecb0a62fb33d988795f4369738633dc14988ebcd87ad85fb724fc462efe3327 -size 136112332 +oid sha256:905355a3a9226885f0b6161d6ae5f14a621105ebf345a013b304a6cd279f82e4 +size 136134796 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 index 4c50849ef..d28240479 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:290de4b9a47b9e07596a092531280c77548e4c6ab8bae2564a976b6338f6daa9 -size 16281507 +oid sha256:50b8408f40f0fdd866fd91fd390abeb885a26aa4e5fa85aadc6c512db7bdf756 +size 8786167 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 index 3a854e1cf..5f0eee33f 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6fa4bf2c5c8aff70c37b8a113812c4b040b2b7a3664700f5d7024358612eb2be -size 4519836 +oid sha256:fd0769dfe1aef6e10679321175e238c5cd06b1ea7d33c9d91bf3b1715cfbc7f8 +size 4490092 diff --git a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp index 975ecf091..9726770dd 100644 --- a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp @@ -110,18 +110,18 @@ HRESULT CLoader::Loading_For_ObjectViewer() // 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::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(), + // MODEL::ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.fbx", XMMatrixIdentity(), // TEXT("Prototype_Component_trsoll_Model") //)); //futures.emplace_back(Deferred_ModelLoad( - // MODEL::ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll_Anim.bin", XMMatrixIdentity(), + // MODEL::ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll_Anim.fbx", XMMatrixIdentity(), // TEXT("Prototype_Component_trsoll_Model") //)); From 319ad176ede48b627a1801a42fda1035dd51c867 Mon Sep 17 00:00:00 2001 From: kimnuri Date: Tue, 6 Jan 2026 22:05:14 +0900 Subject: [PATCH 2/5] [add] BeforeChangePlayerFBX --- Jusin154_Team3D/Client/Default/Client.vcxproj | 2 + .../Client/Default/Client.vcxproj.filters | 11 ++- .../Client/Private/Human_Duelist.cpp | 70 +++++++++---------- .../Client/Private/Level_GamePlay.cpp | 6 +- Jusin154_Team3D/Client/Private/Loader.cpp | 2 +- Jusin154_Team3D/Client/Private/Player.cpp | 7 ++ .../Client/Private/Player_States.cpp | 48 ++++++++++++- .../Client/Private/State_CutScene.cpp | 55 +++++++++++++++ Jusin154_Team3D/Client/Private/Troll.cpp | 11 ++- Jusin154_Team3D/Client/Public/Player.h | 4 ++ .../Client/Public/State_CutScene.h | 31 ++++++++ .../Bin/Resources/Data/AnimList/Player.xml | 3 + .../Human/PlayableCharacter/Playable.fbx | 2 +- .../PlayableCharacter/Playable_TrollIntro.bin | 2 +- .../PlayableCharacter/Playable_TrollIntro.fbx | 4 +- .../Object/Camera/Camera_TrollIntro.bin | 4 +- .../Object/Camera/Camera_TrollIntro.fbx | 4 +- Jusin154_Team3D/Editor/Private/Loader.cpp | 4 +- .../Editor/Private/Loader_ObjectViewer.cpp | 41 +++++------ Jusin154_Team3D/Engine/Private/Unit.cpp | 5 +- Jusin154_Team3D/Engine/Public/FSM.h | 1 + Jusin154_Team3D/Engine/Public/State.h | 1 + 22 files changed, 242 insertions(+), 76 deletions(-) create mode 100644 Jusin154_Team3D/Client/Private/State_CutScene.cpp create mode 100644 Jusin154_Team3D/Client/Public/State_CutScene.h diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj b/Jusin154_Team3D/Client/Default/Client.vcxproj index efcc46742..6aa8d9b4c 100644 --- a/Jusin154_Team3D/Client/Default/Client.vcxproj +++ b/Jusin154_Team3D/Client/Default/Client.vcxproj @@ -209,6 +209,7 @@ call Update_Resources.bat + @@ -490,6 +491,7 @@ call Update_Resources.bat + diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters index 0ebb2982f..4005a93f4 100644 --- a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters +++ b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters @@ -857,6 +857,9 @@ 02.GameObjects\NPC\Hostile\Human_Duelist + + 04.Mechanic\State\State_Combat\State_CutScene + @@ -1772,13 +1775,16 @@ {eb8e52f5-0283-4acf-8fbb-0e734b7580e9} - + {9c357e12-18b3-461e-b74c-76f85280796f} {8b69e309-b90b-47f6-8f2d-3dd778b468fe} + + {b50fed80-37dd-4adb-afd4-ba153cef8a92} + @@ -2589,6 +2595,9 @@ 02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_GroundPulse + + 04.Mechanic\State\State_Combat\State_CutScene + diff --git a/Jusin154_Team3D/Client/Private/Human_Duelist.cpp b/Jusin154_Team3D/Client/Private/Human_Duelist.cpp index ee72f7596..280d2e25e 100644 --- a/Jusin154_Team3D/Client/Private/Human_Duelist.cpp +++ b/Jusin154_Team3D/Client/Private/Human_Duelist.cpp @@ -397,48 +397,48 @@ HRESULT CHuman_Duelist::Bind_ShaderParameters(_uint iMeshOrder) break; #ifdef 기무리 - case PLAYER_MESH_ORDER::ROBE_CLOTH: - { - CMesh* pMesh = m_pModelCom->Get_Mesh(ENUM_CLASS(PLAYER_MESH_ORDER::ROBE_CLOTH)); - _uint MeshBoneCount = pMesh->Get_NumBone(); + //case PLAYER_MESH_ORDER::ROBE_CLOTH: + //{ + // CMesh* pMesh = m_pModelCom->Get_Mesh(ENUM_CLASS(PLAYER_MESH_ORDER::ROBE_CLOTH)); + // _uint MeshBoneCount = pMesh->Get_NumBone(); - for (_uint i = 0; i < MeshBoneCount; ++i) - { - XMStoreFloat4x4(&SkinMatrices[i], XMMatrixIdentity()); - } + // for (_uint i = 0; i < MeshBoneCount; ++i) + // { + // XMStoreFloat4x4(&SkinMatrices[i], XMMatrixIdentity()); + // } - _uint temp = 0; - vector<_uint> globalMask = m_pModelCom->Get_BoneMask(ENUM_CLASS(BLEND_BONE::HIPS_CLOTH)); - vector<_int> boneIndices = pMesh->Get_BoneIndices(); + // _uint temp = 0; + // vector<_uint> globalMask = m_pModelCom->Get_BoneMask(ENUM_CLASS(BLEND_BONE::HIPS_CLOTH)); + // vector<_int> boneIndices = pMesh->Get_BoneIndices(); - for (_uint i = 0; i < MeshBoneCount; ++i) - { - _uint global = boneIndices[i]; - if (global == 38) - continue; - if (globalMask[global] == 1) - { - SkinMatrices[i] = m_pRobePart->Get_RobeJointAnchorMatrix(temp++); - } - } + // for (_uint i = 0; i < MeshBoneCount; ++i) + // { + // _uint global = boneIndices[i]; + // if (global == 38) + // continue; + // if (globalMask[global] == 1) + // { + // SkinMatrices[i] = m_pRobePart->Get_RobeJointAnchorMatrix(temp++); + // } + // } - GUI::DragFloat("TempWeight", &m_fTempWeight, 0.01f); + // GUI::DragFloat("TempWeight", &m_fTempWeight, 0.01f); - if (FAILED(m_pShaderCom->Bind_RawValue("g_TempWeight", &m_fTempWeight, sizeof(_float)))) { - return E_FAIL; - } + // if (FAILED(m_pShaderCom->Bind_RawValue("g_TempWeight", &m_fTempWeight, sizeof(_float)))) { + // return E_FAIL; + // } - if (FAILED(m_pShaderCom->Bind_Matrices( - "g_BoneMatrices", - SkinMatrices.data(), - (_int)SkinMatrices.size() - ))) - { - return E_FAIL; - } - } - break; + // if (FAILED(m_pShaderCom->Bind_Matrices( + // "g_BoneMatrices", + // SkinMatrices.data(), + // (_int)SkinMatrices.size() + // ))) + // { + // return E_FAIL; + // } + //} + //break; #endif // _DEBUG default: diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp index dfcf41450..566d1f4ce 100644 --- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp +++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp @@ -302,7 +302,7 @@ HRESULT CLevel_GamePlay::Ready_Background() #endif // #ifdef 기무리 isReady_Background = true; - isReady_Hogsmeade = false; + isReady_Hogsmeade = true; isReady_Hogwart = false; #endif // #ifdef 나 @@ -807,8 +807,8 @@ HRESULT CLevel_GamePlay::Ready_Layer_Player(const _wstring& strLayerTag) isLoad_RandomNPC = true; #endif // #ifdef 기무리 - isLoad_NPC = false; - isLoad_RandomNPC = false; + isLoad_NPC = true; + isLoad_RandomNPC = true; #endif // #ifdef 나 isLoad_RandomNPC = true; diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp index 24cee374b..51f741220 100644 --- a/Jusin154_Team3D/Client/Private/Loader.cpp +++ b/Jusin154_Team3D/Client/Private/Loader.cpp @@ -410,7 +410,7 @@ HRESULT CLoader::Loading_For_GamePlay() isLoad_Background = true; isLoad_Hogwart = false; isLoad_UI_SEQUANTIAL = false; - isLoad_NPC = false; + isLoad_NPC = true; isLoad_Monster = true; #endif // #ifdef 나 diff --git a/Jusin154_Team3D/Client/Private/Player.cpp b/Jusin154_Team3D/Client/Private/Player.cpp index 6f6c040d6..3844d970f 100644 --- a/Jusin154_Team3D/Client/Private/Player.cpp +++ b/Jusin154_Team3D/Client/Private/Player.cpp @@ -1040,6 +1040,13 @@ void CPlayer::Describe_Entity() m_pLightCom->Describe_Entity(); + for (_int i = 0; i < m_pModelCom->Get_AnimSize(); i++) + { + if (GUI::Button(m_pModelCom->Get_AnimList(i))) + { + m_pModelCom->Set_AnimationIndex(i); + } + } } GUI::End(); } diff --git a/Jusin154_Team3D/Client/Private/Player_States.cpp b/Jusin154_Team3D/Client/Private/Player_States.cpp index 153f5c8b5..b6f1a7072 100644 --- a/Jusin154_Team3D/Client/Private/Player_States.cpp +++ b/Jusin154_Team3D/Client/Private/Player_States.cpp @@ -7,6 +7,7 @@ #include "CamPosition_Socket.h" #include "Camera_Gaze.h" #include "CamPosition_Arm.h" +#include "State_CutScene.h" #include "Wand.h" #include "Item_Potion.h" #include "Character_Controller.h" @@ -75,6 +76,7 @@ HRESULT CPlayer::InputAction() || m_pGameInstance->Key_Down(DIK_G) || m_pGameInstance->Key_Down(DIK_B) || m_pGameInstance->Key_Down(DIK_F) + || m_pGameInstance->Key_Down(DIK_SCROLL) ) { @@ -236,6 +238,9 @@ HRESULT CPlayer::Behavior_IdleExitCheck(_float fTimeDelta) else if (m_pGameInstance->Key_Down(DIK_Z)) { m_pFSM->Change_State(FSMSTATE::COMBAT); } + else if (m_pGameInstance->Key_Down(DIK_SCROLL)) { + m_pFSM->Change_State(FSMSTATE::CUTSCENE); + } else if (m_pGameInstance->Key_Down(DIK_N)) { m_pInfoInstance->Change_Canvas(); } @@ -348,6 +353,38 @@ void CPlayer::Behavior_IdleExit() Reset_Event(); } +void CPlayer::Behavior_CutSceneEnter() +{ + pair<_uint, _bool> pairAnimInfo; + m_pFSM->Enable_State(FSMSTATE::CUTSCENE); + m_bSprintToggle = false; + m_bWalkToggle = false; + + pairAnimInfo = m_Animation[STATEANIM::CUTSCENE_TROLLINTRO]; + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); + +} + +HRESULT CPlayer::Behavior_CutSceneExitCheck(_float fTimeDelta) +{ + pair<_uint, _bool> pairAnimInfo; + + if (m_pModelCom->IsFinishedAnim()) + { + pairAnimInfo = m_Animation[STATEANIM::IDLE]; + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); + m_pFSM->Change_State(FSMSTATE::IDLE); + return E_FAIL; + } + return S_OK; +} + +void CPlayer::Behavior_CutSceneExit() +{ + m_pFSM->Disable_State(FSMSTATE::CUTSCENE); + Reset_Event(); +} + void CPlayer::Behavior_MoveEnter() { pair<_uint, _bool> pairAnimInfo = {}; @@ -2823,6 +2860,14 @@ void CPlayer::Add_FSM() Desc.funcLateUpdate = nullptr; m_States.emplace(FSMSTATE::IDLE, CState_Idle::Create(&Desc)); } + { + CState_CutScene::STATE_CUTSCENE_DESC Desc{}; + Desc.pOwner = this; + Desc.funcEnterEvent = [this]() { Behavior_CutSceneEnter(); }; + Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_CutSceneExitCheck(fTimedelta); }; + Desc.funcExitEvent = [this]() { Behavior_CutSceneExit(); }; + m_States.emplace(FSMSTATE::CUTSCENE, CState_CutScene::Create(&Desc)); + } { CState_Move::STATE_MOVE_DESC Desc{}; Desc.pOwner = this; @@ -2839,7 +2884,7 @@ void CPlayer::Add_FSM() } } } - }; + }; Desc.funcLateUpdate = nullptr; m_States.emplace(FSMSTATE::MOVE, CState_Move::Create(&Desc)); @@ -2862,7 +2907,6 @@ void CPlayer::Add_FSM() Desc.funcExitEvent = [this]() { Behavior_LandExit(); }; m_States.emplace(FSMSTATE::LAND, CState_Land::Create(&Desc)); } - { CState_Fall::STATE_FALL_DESC Desc{}; Desc.pOwner = this; diff --git a/Jusin154_Team3D/Client/Private/State_CutScene.cpp b/Jusin154_Team3D/Client/Private/State_CutScene.cpp new file mode 100644 index 000000000..7936428b8 --- /dev/null +++ b/Jusin154_Team3D/Client/Private/State_CutScene.cpp @@ -0,0 +1,55 @@ +#include "pch.h" +#include "State_CutScene.h" +#include "Unit.h" + +CState_CutScene::CState_CutScene() + :CState_Root() +{ +} + +void CState_CutScene::Enter() +{ + __super::Enter(); +} + +HRESULT CState_CutScene::Update(_float fTimeDelta) +{ + if (E_FAIL == (__super::Update(fTimeDelta))) { + return E_FAIL; + } + return S_OK; +} + +void CState_CutScene::Exit() +{ + __super::Exit(); +} + +HRESULT CState_CutScene::Initialize(STATE_CUTSCENE_DESC* pDesc) +{ + if (FAILED(__super::Initialize(pDesc))) { + return E_FAIL; + } + m_pModel = m_pOwner->Get_Component(); + m_pFSM = m_pOwner->Get_Component(); + + return S_OK; +} + +CState_CutScene* CState_CutScene::Create(STATE_CUTSCENE_DESC* pDesc) +{ + CState_CutScene* pInstance = new CState_CutScene; + if (FAILED(pInstance->Initialize(pDesc))) { + SAFE_RELEASE(pInstance); + } + return pInstance; +} + +void CState_CutScene::Free() +{ + __super::Free(); +} + +void CState_CutScene::Describe_Entity() +{ +} diff --git a/Jusin154_Team3D/Client/Private/Troll.cpp b/Jusin154_Team3D/Client/Private/Troll.cpp index 35a0c10de..31c26cab8 100644 --- a/Jusin154_Team3D/Client/Private/Troll.cpp +++ b/Jusin154_Team3D/Client/Private/Troll.cpp @@ -254,7 +254,7 @@ HRESULT CTroll::Render_OutLine() Compute_Depth(); _float fCamFar = *m_pGameInstance->Get_CurrentCameraFar(); _float fRatio = CMyTools::Saturate((m_fCamDepth / (fCamFar * fCamFar))); - m_fOutLineThickness = CMyTools::Lerp_f1D(2.5f, 3.f, fRatio); + m_fOutLineThickness = CMyTools::Lerp_f1D(0.024f, 0.5f, fRatio); if (FAILED(m_pShaderCom->Bind_Matrix("g_PrevWorldMatrix", m_pTransformCom->Get_PrevWorldMatrixPtr()))) { return E_FAIL; } @@ -704,6 +704,15 @@ void CTroll::Describe_Entity() GUI::Text(strSocket.c_str()); + for (_int i = 0; i < m_pModelCom->Get_AnimSize(); i++) + { + if (GUI::Button(m_pModelCom->Get_AnimList(i))) + { + m_pModelCom->Set_AnimationIndex(i); + } + } + + m_pTransformCom->Describe_Entity(); } diff --git a/Jusin154_Team3D/Client/Public/Player.h b/Jusin154_Team3D/Client/Public/Player.h index 6924a9235..7cd67d9ba 100644 --- a/Jusin154_Team3D/Client/Public/Player.h +++ b/Jusin154_Team3D/Client/Public/Player.h @@ -185,6 +185,10 @@ class CPlayer final : public CUnit HRESULT Behavior_IdleExitCheck(_float fTimeDelta); void Behavior_IdleExit(); + void Behavior_CutSceneEnter(); + HRESULT Behavior_CutSceneExitCheck(_float fTimeDelta); + void Behavior_CutSceneExit(); + void Behavior_MoveEnter(); HRESULT Behavior_MoveExitCheck(_float fTimeDelta); void Behavior_MoveExit(); diff --git a/Jusin154_Team3D/Client/Public/State_CutScene.h b/Jusin154_Team3D/Client/Public/State_CutScene.h new file mode 100644 index 000000000..5b4bad2cb --- /dev/null +++ b/Jusin154_Team3D/Client/Public/State_CutScene.h @@ -0,0 +1,31 @@ +#pragma once +#include "Client_Define.h" +#include "State_Root.h" + +NS_BEGIN(Client) + +class CState_CutScene final : public CState_Root +{ +public: + typedef struct tagCutScene : public CState_Root::STATE_ROOT_DESC { + + }STATE_CUTSCENE_DESC; +private: + CState_CutScene(); + virtual ~CState_CutScene() = default; + +public: + virtual void Enter(); + virtual HRESULT Update(_float fTimeDelta); + virtual void Exit(); + +private: + HRESULT Initialize(STATE_CUTSCENE_DESC* pDesc); + +public: + static CState_CutScene* Create(STATE_CUTSCENE_DESC* pDesc); + virtual void Free() override; + virtual void Describe_Entity(); +}; + +NS_END diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/AnimList/Player.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/AnimList/Player.xml index 65be7dcca..e3a22a46c 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/AnimList/Player.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/AnimList/Player.xml @@ -165,4 +165,7 @@ + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.fbx index 426160853..b898bf727 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:01136f9f94eb8740cca6eab949a12b71aafcf8a3c8d095c24d000151702e538e +oid sha256:ca905237cc03e10895c9ec778892bfff7571fe320dabdd380a726d6757a352d8 size 5782684 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 index 8779cd5a1..1a59e74bd 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:32b51f41874a6648ba4d389840709175a6bfbc04152d800abb743fc4a6689e03 +oid sha256:54bf8ce4d068163e80d9c9f262c02ba5b7545a851c10729fbb0bb9e36fcf1009 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 index f88a088c2..fcb5f9bfa 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2ce6d6d9c175b7711f49a87c50e3e16bce60ee524ea04254a7fee76b8054f5bd -size 7854460 +oid sha256:d58c2482c84c5fbed27349cc09cbcf8dbcac2177b5e4832c3ef47bc938d54e39 +size 7854540 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 index 5e3c63885..e3cd6030f 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Camera/Camera_TrollIntro.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Camera/Camera_TrollIntro.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ef3ac2202757e81a8a8a89c4a032326fdb9fad7cc3f7b4e64abd6b71e82fe0b1 -size 134860 +oid sha256:1fb4f21f6ca883ee2e841e78995b72c77007d72dbe8377d218bfa35a27b31475 +size 134808 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 index 4b09a75d1..f6f6e60e7 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Camera/Camera_TrollIntro.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Camera/Camera_TrollIntro.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8c1932284b28eaec10dc58e31f142665a4b19eee9af9392ce438495264e36128 -size 143068 +oid sha256:f8c4bde06088635b10b31eff41c1ed0382a32d8bb92c3565bf6d0414ddf0b7dc +size 143164 diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp index e21dfd444..59013ce7e 100644 --- a/Jusin154_Team3D/Editor/Private/Loader.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader.cpp @@ -1,4 +1,5 @@ -#include "pch.h" +#pragma region HEADER +#include "pch.h" #include "Loader.h" #include "GameInstance.h" @@ -247,6 +248,7 @@ #include "Dummy_Globe.h" +#pragma endregion #pragma endregion CLoader::CLoader(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) diff --git a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp index b8b1ef41c..dba4e9695 100644 --- a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp @@ -79,12 +79,6 @@ HRESULT CLoader::Loading_For_ObjectViewer() TEXT("Prototype_Component_SK_GOB_M_T4Melee_INST_A_Master_Model") ));*/ - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_Playable_Model") - )); - - #pragma region MONSTER //futures.emplace_back(Deferred_ModelLoad( @@ -110,10 +104,10 @@ HRESULT CLoader::Loading_For_ObjectViewer() // 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::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.fbx", XMMatrixIdentity(), @@ -205,6 +199,7 @@ 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") @@ -264,11 +259,6 @@ HRESULT CLoader::Loading_For_ObjectViewer() // TEXT("Prototype_Component_VictorRookWood_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") - //)); - #pragma region NPC //futures.emplace_back(Deferred_ModelLoad( @@ -321,12 +311,6 @@ HRESULT CLoader::Loading_For_ObjectViewer() // 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::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Elf/Elf.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), // TEXT("Prototype_Component_Elf_Model") @@ -374,10 +358,21 @@ HRESULT CLoader::Loading_For_ObjectViewer() // TEXT("Prototype_Component_Student_Cmbt_Model") //)); + futures.emplace_back(Deferred_ModelLoad( + 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::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_OpenDoor.fbx", XMMatrixIdentity(), - // TEXT("Prototype_Component_Student_Cmbt_Model") + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Playable_Model") //)); + #pragma endregion for (auto& job : futures) { diff --git a/Jusin154_Team3D/Engine/Private/Unit.cpp b/Jusin154_Team3D/Engine/Private/Unit.cpp index 6f4e6e37a..96c7183b7 100644 --- a/Jusin154_Team3D/Engine/Private/Unit.cpp +++ b/Jusin154_Team3D/Engine/Private/Unit.cpp @@ -239,7 +239,7 @@ STATEANIM::ESTATE CUnit::StringToStateAnim(const string& s) { "IDLE_BREAK3", IDLE_BREAK3 }, { "IDLE_BREAK4", IDLE_BREAK4 }, { "IDLE_BREAK5", IDLE_BREAK5 }, { "IDLE_BREAK6", IDLE_BREAK6 }, { "IDLE_BREAK7", IDLE_BREAK7 }, - + { "IDLE_TURN_180_L", IDLE_TURN_180_L }, { "IDLE_TURN_180_R", IDLE_TURN_180_R }, { "IDLE_TURN_45_L", IDLE_TURN_45_L }, { "IDLE_TURN_45_R", IDLE_TURN_45_R }, { "IDLE_TURN_90_L", IDLE_TURN_90_L }, { "IDLE_TURN_90_R", IDLE_TURN_90_R }, @@ -499,6 +499,9 @@ STATEANIM::ESTATE CUnit::StringToStateAnim(const string& s) { "SPELL_LEARNING_SUCCESS", SPELL_LEARNING_SUCCESS }, { "SPELL_LEARNING_WANDWAVE", SPELL_LEARNING_WANDWAVE }, + // CUT SCENES + { "CUTSCENE_TROLLINTRO", CUTSCENE_TROLLINTRO }, + // BROOM (B 세트) { "BROOM_MOUNT_B", BROOM_MOUNT_B }, { "BROOM_HOVER_IDLE_B", BROOM_HOVER_IDLE_B }, diff --git a/Jusin154_Team3D/Engine/Public/FSM.h b/Jusin154_Team3D/Engine/Public/FSM.h index fe2857c28..72e0a5730 100644 --- a/Jusin154_Team3D/Engine/Public/FSM.h +++ b/Jusin154_Team3D/Engine/Public/FSM.h @@ -56,6 +56,7 @@ enum ESTATE : _u64Flag SLASH = 1ULL << 49, DASH = 1ULL << 50, FEAR = 1ULL << 51, + CUTSCENE = 1ULL << 52, END }; NS_END diff --git a/Jusin154_Team3D/Engine/Public/State.h b/Jusin154_Team3D/Engine/Public/State.h index 4a1ba0ce6..3149d696a 100644 --- a/Jusin154_Team3D/Engine/Public/State.h +++ b/Jusin154_Team3D/Engine/Public/State.h @@ -49,6 +49,7 @@ enum ESTATE SPELL_LEARNING_FAIL, SPELL_LEARNING_LOOP, SPELL_LEARNING_START, SPELL_LEARNING_SUCCESS, SPELL_LEARNING_WANDWAVE, OPEN_DOOR,OPEN_DOOR_L,OPEN_DOOR_R, FEAR_L,FEAR_R, + CUTSCENE_TROLLINTRO, ////////////////////////// 빗자루 BROOM_MOUNT_B, BROOM_HOVER_IDLE_B, BROOM_HOVER_STOP_B,BROOM_HOVER_DOWN_B,BROOM_HOVER_UP_B,BROOM_HOVER_LEFT_B,BROOM_HOVER_RIGHT_B,BROOM_FLY_DOWN_B, BROOM_FLY_LEFT_B, BROOM_FLY_RIGHT_B, BROOM_FLY_UP_B,BROOM_FLY_B,BROOM_ADD, /// //////////////////////////// From 136a13b8e1839ad0d895ecc92de114e35a14bce3 Mon Sep 17 00:00:00 2001 From: kimnuri Date: Wed, 7 Jan 2026 11:40:59 +0900 Subject: [PATCH 3/5] [add] ReleasePatch --- .../Client/Private/PlayerRobe_Initialize.cpp | 3 + .../Editor/Private/Loader_ObjectViewer.cpp | 59 +++++++++++++++---- Jusin154_Team3D/Engine/Private/Mesh.cpp | 7 ++- 3 files changed, 55 insertions(+), 14 deletions(-) diff --git a/Jusin154_Team3D/Client/Private/PlayerRobe_Initialize.cpp b/Jusin154_Team3D/Client/Private/PlayerRobe_Initialize.cpp index 23fd682c4..fcdea81f8 100644 --- a/Jusin154_Team3D/Client/Private/PlayerRobe_Initialize.cpp +++ b/Jusin154_Team3D/Client/Private/PlayerRobe_Initialize.cpp @@ -537,6 +537,7 @@ void CPlayerRobe::Free() for (_uint i = 0; i < ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::END); ++i) { SAFE_RELEASE(m_pRobeJointAnchor[i]); } +#ifdef _DEBUG if (nullptr != m_pMainShape) { m_pMainShape.release(); m_pMainShape = nullptr; @@ -545,4 +546,6 @@ void CPlayerRobe::Free() m_pSubShape.release(); m_pSubShape = nullptr; } +#endif // _DEBUG + } diff --git a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp index dba4e9695..3e106e2a0 100644 --- a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp @@ -344,29 +344,64 @@ HRESULT CLoader::Loading_For_ObjectViewer() //futures.emplace_back(Deferred_ModelLoad( - // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Protego.fbx", XMMatrixIdentity(), + // 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_Spell_Learning.fbx", XMMatrixIdentity(), + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Bm.fbx", XMMatrixIdentity(), // TEXT("Prototype_Component_Student_Cmbt_Model") //)); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Broom.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Student_Cmbt_Model") + //)); + + futures.emplace_back(Deferred_ModelLoad( + 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::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_Lightning.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Playable_Model") + //)); + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_OpenDoor.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Playable_Model") + //)); + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Protego.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Playable_Model") + //)); + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Rct.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Playable_Model") + //)); + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Sneak.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Playable_Model") + //)); + //futures.emplace_back(Deferred_ModelLoad( // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Spawn.fbx", XMMatrixIdentity(), - // TEXT("Prototype_Component_Student_Cmbt_Model") + // TEXT("Prototype_Component_Playable_Model") //)); - futures.emplace_back(Deferred_ModelLoad( - 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::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_Spell_Learning.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Playable_Model") + //)); //futures.emplace_back(Deferred_ModelLoad( // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.fbx", XMMatrixIdentity(), diff --git a/Jusin154_Team3D/Engine/Private/Mesh.cpp b/Jusin154_Team3D/Engine/Private/Mesh.cpp index 8efa6d820..408ceb23c 100644 --- a/Jusin154_Team3D/Engine/Private/Mesh.cpp +++ b/Jusin154_Team3D/Engine/Private/Mesh.cpp @@ -280,9 +280,10 @@ HRESULT CMesh::Ready_VertexBuffer_For_NonAnim(SaveMesh* SaveMesh, _fmatrix PreTr m_pVertexPositions = new _float3[m_iNumVertices]; ZeroMemory(m_pVertexPositions, sizeof(_float3) * m_iNumVertices); - +#ifdef _DEBUG m_VertexTexcoords = new _float2[m_iNumVertices]; ZeroMemory(m_VertexTexcoords, sizeof(_float2) * m_iNumVertices); +#endif // _DEBUG for (_uint i = 0; i < m_iNumVertices; ++i) { @@ -302,9 +303,11 @@ HRESULT CMesh::Ready_VertexBuffer_For_NonAnim(SaveMesh* SaveMesh, _fmatrix PreTr memcpy(&pVertices[i].vBinormal, &SaveMesh->Vertices[i].BiNoraml, sizeof(_float3)); XMStoreFloat3(&pVertices[i].vBinormal, XMVector3Normalize(XMVector3TransformNormal(XMLoadFloat3(&pVertices[i].vBinormal), PreTransformMatrix))); - +#ifdef _DEBUG pVertices[i].vTexcoord = SaveMesh->Vertices[i].UV; memcpy(&m_VertexTexcoords[i], &pVertices[i].vTexcoord, sizeof(_float2)); +#endif // _DEBUG + } D3D11_SUBRESOURCE_DATA InitialVBData{}; From 07f61c3c9e1c59699ab9912dde61945e1dbfb361 Mon Sep 17 00:00:00 2001 From: kimnuri Date: Wed, 7 Jan 2026 13:02:25 +0900 Subject: [PATCH 4/5] [fix] Player Axis --- Jusin154_Team3D/Client/Private/Loader.cpp | 2 +- Jusin154_Team3D/Client/Private/PlayerRobe.cpp | 216 +++++++++--------- .../Human/PlayableCharacter/Playable.fbx | 2 +- .../Playable_AvadaKedavra.bin | 4 +- .../Playable_AvadaKedavra.fbx | 4 +- .../Human/PlayableCharacter/Playable_Bm.bin | 4 +- .../Human/PlayableCharacter/Playable_Bm.fbx | 4 +- .../PlayableCharacter/Playable_Broom.bin | 4 +- .../PlayableCharacter/Playable_Broom.fbx | 4 +- .../Human/PlayableCharacter/Playable_Cmbt.bin | 4 +- .../Human/PlayableCharacter/Playable_Cmbt.fbx | 4 +- .../PlayableCharacter/Playable_Lightning.bin | 4 +- .../PlayableCharacter/Playable_Lightning.fbx | 4 +- .../PlayableCharacter/Playable_OpenDoor.bin | 4 +- .../PlayableCharacter/Playable_OpenDoor.fbx | 4 +- .../PlayableCharacter/Playable_Protego.bin | 4 +- .../PlayableCharacter/Playable_Protego.fbx | 4 +- .../Human/PlayableCharacter/Playable_Rct.bin | 4 +- .../Human/PlayableCharacter/Playable_Rct.fbx | 4 +- .../PlayableCharacter/Playable_Sneak.bin | 4 +- .../PlayableCharacter/Playable_Sneak.fbx | 4 +- .../PlayableCharacter/Playable_Spawn.bin | 4 +- .../PlayableCharacter/Playable_Spawn.fbx | 4 +- .../Playable_Spell_Learning.bin | 4 +- .../Playable_Spell_Learning.fbx | 4 +- .../PlayableCharacter/Playable_TrollIntro.bin | 4 +- .../PlayableCharacter/Playable_TrollIntro.fbx | 2 +- .../Editor/Private/Loader_ObjectViewer.cpp | 7 +- 28 files changed, 163 insertions(+), 158 deletions(-) diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp index 51f741220..51e72f7de 100644 --- a/Jusin154_Team3D/Client/Private/Loader.cpp +++ b/Jusin154_Team3D/Client/Private/Loader.cpp @@ -2201,7 +2201,7 @@ HRESULT CLoader::Loading_For_GamePlay() #pragma region ACTOR 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())))){ + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))){ return E_FAIL; } if (true == isLoad_NPC) { diff --git a/Jusin154_Team3D/Client/Private/PlayerRobe.cpp b/Jusin154_Team3D/Client/Private/PlayerRobe.cpp index 17ce09cb6..9e0897e11 100644 --- a/Jusin154_Team3D/Client/Private/PlayerRobe.cpp +++ b/Jusin154_Team3D/Client/Private/PlayerRobe.cpp @@ -141,8 +141,8 @@ HRESULT CPlayerRobe::Update_LegsPosition() } #endif // _DEBUG } - m_pLower0Bound->Move_Kinematic(XMMatrixTranslationFromVector(XMVectorSet(0.f, -0.2f, 0.f, 0.f)) * XMLoadFloat4x4(m_pLower0BoundMatrix) * WorldMatrix, false); - m_pLower1Bound->Move_Kinematic(XMMatrixTranslationFromVector(XMVectorSet(0.f, -0.7f, 0.f, 0.f)) * XMLoadFloat4x4(m_pLower1BoundMatrix) * WorldMatrix, false); + //m_pLower0Bound->Move_Kinematic(XMMatrixTranslationFromVector(XMVectorSet(0.f, -0.2f, 0.f, 0.f)) * XMLoadFloat4x4(m_pLower0BoundMatrix) * WorldMatrix, false); + //m_pLower1Bound->Move_Kinematic(XMMatrixTranslationFromVector(XMVectorSet(0.f, -0.7f, 0.f, 0.f)) * XMLoadFloat4x4(m_pLower1BoundMatrix) * WorldMatrix, false); return S_OK; } @@ -223,120 +223,120 @@ HRESULT CPlayerRobe::Update_RobeJoints() { for (_uint i = ENUM_CLASS(PLAYER_JOINT_ORDER::ORIGIN_TO_RUP_START); i < ENUM_CLASS(PLAYER_JOINT_ORDER::END); ++i) { m_JointDescriptions[i].InitFromJoint(*m_pDynamicJoints[i]); - switch (PLAYER_JOINT_ORDER(i)) - { - /* From Origin */ - { - case PLAYER_JOINT_ORDER::ORIGIN_TO_RUP_START: - case PLAYER_JOINT_ORDER::ORIGIN_TO_TUP_START: - case PLAYER_JOINT_ORDER::ORIGIN_TO_LUP_START: - case PLAYER_JOINT_ORDER::ORIGIN_TO_RSIDEUP_START: - case PLAYER_JOINT_ORDER::ORIGIN_TO_LSIDEUP_START: - m_JointDescriptions[i].iMotionTwist = 1; - m_JointDescriptions[i].iMotionSwing1 = 1; - m_JointDescriptions[i].iMotionSwing2 = 1; - m_JointDescriptions[i].fLinearLimit = 0.f; - m_JointDescriptions[i].fTwistAbsDeg = 0.f; - m_JointDescriptions[i].fSwingDeg = 40.f; - break; - case PLAYER_JOINT_ORDER::ORIGIN_TO_RUP_END: - case PLAYER_JOINT_ORDER::ORIGIN_TO_TUP_END: - case PLAYER_JOINT_ORDER::ORIGIN_TO_LUP_END: - case PLAYER_JOINT_ORDER::ORIGIN_TO_RSIDEUP_END: - case PLAYER_JOINT_ORDER::ORIGIN_TO_LSIDEUP_END: - m_JointDescriptions[i].iMotionTwist = 1; - m_JointDescriptions[i].iMotionSwing1 = 1; - m_JointDescriptions[i].iMotionSwing2 = 1; - m_JointDescriptions[i].fLinearLimit = 0.f; - m_JointDescriptions[i].fTwistAbsDeg = 0.f; - m_JointDescriptions[i].fSwingDeg = 40.f; - break; - } - /* From_Middle */ - { - case PLAYER_JOINT_ORDER::RUP_TO_RMIDDLE_START: - case PLAYER_JOINT_ORDER::TUP_TO_TMIDDLE_START: - case PLAYER_JOINT_ORDER::LUP_TO_LMIDDLE_START: - case PLAYER_JOINT_ORDER::RSIDEUP_TO_RSIDE_START: - case PLAYER_JOINT_ORDER::LSIDEUP_TO_LSIDE_START: - m_JointDescriptions[i].iMotionTwist = 0; - m_JointDescriptions[i].iMotionSwing1 = 0; - m_JointDescriptions[i].iMotionSwing2 = 0; - m_JointDescriptions[i].fLinearLimit = 0.f; - m_JointDescriptions[i].fTwistAbsDeg = 0.f; - m_JointDescriptions[i].fSwingDeg = 10.f; - break; + //switch (PLAYER_JOINT_ORDER(i)) + //{ + // /* From Origin */ + // { + // case PLAYER_JOINT_ORDER::ORIGIN_TO_RUP_START: + // case PLAYER_JOINT_ORDER::ORIGIN_TO_TUP_START: + // case PLAYER_JOINT_ORDER::ORIGIN_TO_LUP_START: + // case PLAYER_JOINT_ORDER::ORIGIN_TO_RSIDEUP_START: + // case PLAYER_JOINT_ORDER::ORIGIN_TO_LSIDEUP_START: + // m_JointDescriptions[i].iMotionTwist = 1; + // m_JointDescriptions[i].iMotionSwing1 = 1; + // m_JointDescriptions[i].iMotionSwing2 = 1; + // m_JointDescriptions[i].fLinearLimit = 0.f; + // m_JointDescriptions[i].fTwistAbsDeg = 0.f; + // m_JointDescriptions[i].fSwingDeg = 40.f; + // break; + // case PLAYER_JOINT_ORDER::ORIGIN_TO_RUP_END: + // case PLAYER_JOINT_ORDER::ORIGIN_TO_TUP_END: + // case PLAYER_JOINT_ORDER::ORIGIN_TO_LUP_END: + // case PLAYER_JOINT_ORDER::ORIGIN_TO_RSIDEUP_END: + // case PLAYER_JOINT_ORDER::ORIGIN_TO_LSIDEUP_END: + // m_JointDescriptions[i].iMotionTwist = 1; + // m_JointDescriptions[i].iMotionSwing1 = 1; + // m_JointDescriptions[i].iMotionSwing2 = 1; + // m_JointDescriptions[i].fLinearLimit = 0.f; + // m_JointDescriptions[i].fTwistAbsDeg = 0.f; + // m_JointDescriptions[i].fSwingDeg = 40.f; + // break; + // } + // /* From_Middle */ + // { + // case PLAYER_JOINT_ORDER::RUP_TO_RMIDDLE_START: + // case PLAYER_JOINT_ORDER::TUP_TO_TMIDDLE_START: + // case PLAYER_JOINT_ORDER::LUP_TO_LMIDDLE_START: + // case PLAYER_JOINT_ORDER::RSIDEUP_TO_RSIDE_START: + // case PLAYER_JOINT_ORDER::LSIDEUP_TO_LSIDE_START: + // m_JointDescriptions[i].iMotionTwist = 0; + // m_JointDescriptions[i].iMotionSwing1 = 0; + // m_JointDescriptions[i].iMotionSwing2 = 0; + // m_JointDescriptions[i].fLinearLimit = 0.f; + // m_JointDescriptions[i].fTwistAbsDeg = 0.f; + // m_JointDescriptions[i].fSwingDeg = 10.f; + // break; - case PLAYER_JOINT_ORDER::RUP_TO_RMIDDLE_END: - case PLAYER_JOINT_ORDER::TUP_TO_TMIDDLE_END: - case PLAYER_JOINT_ORDER::LUP_TO_LMIDDLE_END: - case PLAYER_JOINT_ORDER::RSIDEUP_TO_RSIDE_END: - case PLAYER_JOINT_ORDER::LSIDEUP_TO_LSIDE_END: - m_JointDescriptions[i].iMotionTwist = 1; - m_JointDescriptions[i].iMotionSwing1 = 1; - m_JointDescriptions[i].iMotionSwing2 = 1; - m_JointDescriptions[i].fLinearLimit = 0.f; - m_JointDescriptions[i].fSwingDeg = 0.f; - m_JointDescriptions[i].fTwistAbsDeg = 0.f; + // case PLAYER_JOINT_ORDER::RUP_TO_RMIDDLE_END: + // case PLAYER_JOINT_ORDER::TUP_TO_TMIDDLE_END: + // case PLAYER_JOINT_ORDER::LUP_TO_LMIDDLE_END: + // case PLAYER_JOINT_ORDER::RSIDEUP_TO_RSIDE_END: + // case PLAYER_JOINT_ORDER::LSIDEUP_TO_LSIDE_END: + // m_JointDescriptions[i].iMotionTwist = 1; + // m_JointDescriptions[i].iMotionSwing1 = 1; + // m_JointDescriptions[i].iMotionSwing2 = 1; + // m_JointDescriptions[i].fLinearLimit = 0.f; + // m_JointDescriptions[i].fSwingDeg = 0.f; + // m_JointDescriptions[i].fTwistAbsDeg = 0.f; - m_JointDescriptions[i].bEnableSlerpDrive = true; - m_JointDescriptions[i].fLinearStiffness = 10.f; - m_JointDescriptions[i].fSlerpDamping = 3.f; - m_JointDescriptions[i].fSlerpForceLimit = 40.f; - m_JointDescriptions[i].bSlerpAccel = true; - break; - } - /* From_Lower */ - { - case PLAYER_JOINT_ORDER::RMIDDLE_TO_RR_START: - case PLAYER_JOINT_ORDER::RSIDE_TO_R_START: - m_JointDescriptions[i].iMotionTwist = 1; - m_JointDescriptions[i].iMotionSwing1 = 1; - m_JointDescriptions[i].iMotionSwing2 = 1; - m_JointDescriptions[i].fLinearLimit = 0.f; - m_JointDescriptions[i].fTwistAbsDeg = 15.f; - m_JointDescriptions[i].fSwingDeg = 15.f; - break; + // m_JointDescriptions[i].bEnableSlerpDrive = true; + // m_JointDescriptions[i].fLinearStiffness = 10.f; + // m_JointDescriptions[i].fSlerpDamping = 3.f; + // m_JointDescriptions[i].fSlerpForceLimit = 40.f; + // m_JointDescriptions[i].bSlerpAccel = true; + // break; + // } + // /* From_Lower */ + // { + // case PLAYER_JOINT_ORDER::RMIDDLE_TO_RR_START: + // case PLAYER_JOINT_ORDER::RSIDE_TO_R_START: + // m_JointDescriptions[i].iMotionTwist = 1; + // m_JointDescriptions[i].iMotionSwing1 = 1; + // m_JointDescriptions[i].iMotionSwing2 = 1; + // m_JointDescriptions[i].fLinearLimit = 0.f; + // m_JointDescriptions[i].fTwistAbsDeg = 15.f; + // m_JointDescriptions[i].fSwingDeg = 15.f; + // break; - case PLAYER_JOINT_ORDER::RSIDE_TO_R_END: - case PLAYER_JOINT_ORDER::RMIDDLE_TO_RR_END: - break; + // case PLAYER_JOINT_ORDER::RSIDE_TO_R_END: + // case PLAYER_JOINT_ORDER::RMIDDLE_TO_RR_END: + // break; - case PLAYER_JOINT_ORDER::TMIDDLE_TO_TR_START: - case PLAYER_JOINT_ORDER::TMIDDLE_TO_TL_START: - m_JointDescriptions[i].iMotionTwist = 1; - m_JointDescriptions[i].iMotionSwing1 = 1; - m_JointDescriptions[i].iMotionSwing2 = 1; - m_JointDescriptions[i].fLinearLimit = 0.f; - m_JointDescriptions[i].fTwistAbsDeg = 15.f; - m_JointDescriptions[i].fSwingDeg = 15.f; - break; + // case PLAYER_JOINT_ORDER::TMIDDLE_TO_TR_START: + // case PLAYER_JOINT_ORDER::TMIDDLE_TO_TL_START: + // m_JointDescriptions[i].iMotionTwist = 1; + // m_JointDescriptions[i].iMotionSwing1 = 1; + // m_JointDescriptions[i].iMotionSwing2 = 1; + // m_JointDescriptions[i].fLinearLimit = 0.f; + // m_JointDescriptions[i].fTwistAbsDeg = 15.f; + // m_JointDescriptions[i].fSwingDeg = 15.f; + // break; - case PLAYER_JOINT_ORDER::TMIDDLE_TO_TR_END: - case PLAYER_JOINT_ORDER::TMIDDLE_TO_TL_END: - break; + // case PLAYER_JOINT_ORDER::TMIDDLE_TO_TR_END: + // case PLAYER_JOINT_ORDER::TMIDDLE_TO_TL_END: + // break; - case PLAYER_JOINT_ORDER::LSIDE_TO_L_START: - case PLAYER_JOINT_ORDER::LMIDDLE_TO_LL_START: - m_JointDescriptions[i].iMotionTwist = 1; - m_JointDescriptions[i].iMotionSwing1 = 1; - m_JointDescriptions[i].iMotionSwing2 = 1; - m_JointDescriptions[i].fLinearLimit = 0.f; - m_JointDescriptions[i].fTwistAbsDeg = 15.f; - m_JointDescriptions[i].fSwingDeg = 15.f; - break; + // case PLAYER_JOINT_ORDER::LSIDE_TO_L_START: + // case PLAYER_JOINT_ORDER::LMIDDLE_TO_LL_START: + // m_JointDescriptions[i].iMotionTwist = 1; + // m_JointDescriptions[i].iMotionSwing1 = 1; + // m_JointDescriptions[i].iMotionSwing2 = 1; + // m_JointDescriptions[i].fLinearLimit = 0.f; + // m_JointDescriptions[i].fTwistAbsDeg = 15.f; + // m_JointDescriptions[i].fSwingDeg = 15.f; + // break; - case PLAYER_JOINT_ORDER::LSIDE_TO_L_END: - case PLAYER_JOINT_ORDER::LMIDDLE_TO_LL_END: - break; - } - default: - break; - } + // case PLAYER_JOINT_ORDER::LSIDE_TO_L_END: + // case PLAYER_JOINT_ORDER::LMIDDLE_TO_LL_END: + // break; + // } + //default: + // break; + //} - //m_JointDescriptions[i].iMotionTwist = 0; - //m_JointDescriptions[i].iMotionSwing1 = 0; - //m_JointDescriptions[i].iMotionSwing2 = 0; + m_JointDescriptions[i].iMotionTwist = 0; + m_JointDescriptions[i].iMotionSwing1 = 0; + m_JointDescriptions[i].iMotionSwing2 = 0; m_JointDescriptions[i].ApplyToJoint(*m_pDynamicJoints[i]); } return S_OK; diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.fbx index b898bf727..88b0a2068 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ca905237cc03e10895c9ec778892bfff7571fe320dabdd380a726d6757a352d8 +oid sha256:0c60471f86afa6082edad8e88d7fce13458fd0531c7b9edec2e34a8eaf8ce028 size 5782684 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 139f12b7c..145551226 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:d7295ba4c89744713083caff0e5e8573c3621152b146cfe46699ca701efc4b7e -size 10775434 +oid sha256:cef9657058c92da3fc1f2c7412d9af109e96010656df8cbf0349f3b6cbca0266 +size 10764837 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 9b2757900..4f05ed3fb 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:9643af9a6c20c8c598a907ad19484ea0515d0143a3647c7872560336b85c1371 -size 6435292 +oid sha256:ae6a589175d1caf8e7af70da9770df080bf35b0a5e7bd708cfc13a86b1fa8c2d +size 6579564 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Bm.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Bm.bin index fd9b2e2d0..c8a0c23da 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Bm.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Bm.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9f284800b9984ead6d6492da61715e4b4614da55252049f8afc4ff2a73d634b2 -size 172156085 +oid sha256:f59cee6bc84723fa5f30927fee1d2862bacd47f6151f540189d9efa11c9b88fb +size 172123989 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Bm.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Bm.fbx index 4290f0588..43cca3160 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Bm.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Bm.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:04af77e6fd573fb448d78a4afccd218b9940479fcaef46e375499a3374a4c326 -size 496538684 +oid sha256:9d7dce07f39d918046f053943ac20a7b8417ee2d8434aca79ce4aedb76ff238f +size 496494956 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Broom.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Broom.bin index 4daef16ff..6313624b7 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Broom.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Broom.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:00dd067d5e97d20be5f8e0fbe544ba7018305af8f6b7192a5bbacc1453d37450 -size 23190066 +oid sha256:aa216c1dda899129e21beba4f22b48d5ae83f26dc9ce26948788720214f55c89 +size 23181890 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Broom.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Broom.fbx index 90c7123a8..56fd36b23 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Broom.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Broom.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:546136e613a6efd35ab9db1e22a97373147f20f3b4831ca2ef8a869b94084afa -size 58621516 +oid sha256:c39f3648a774fde3a3ca0374048cf98c2585ea1c6ce575200791122be7882316 +size 58614012 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Cmbt.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Cmbt.bin index 6445f6267..05f9d2a95 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Cmbt.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Cmbt.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2265a7cb220bc45acf8bec67f8eb3855d48d4a71260f6866277bd93b286286f5 -size 69510580 +oid sha256:5736c3c8c007604120bfbc582d88c03831331ae24f3af892d58640d802024335 +size 69519408 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Cmbt.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Cmbt.fbx index a0caadcf2..78f8de90b 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Cmbt.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Cmbt.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:46bb4f14c6166fcb966998ab1688f933776a5c0bed07bd6278a0f7c3d1f9f5fb -size 187629004 +oid sha256:2b05741a3bd8e858c9e2bcbfaf18602a31c5dcdd81697db2810469e35fe7b37c +size 187635116 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Lightning.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Lightning.bin index 07b783c00..068e0e499 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Lightning.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Lightning.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fc989ee8bef63e3c178ea47dc22742580f0a43c254e3bb0328e2e60a4dc66275 -size 10839386 +oid sha256:82113f663532392550e084df2e2a64136cfb2e44c20eadc2052c323a280e94e4 +size 10845926 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Lightning.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Lightning.fbx index a6a50a1ed..0dd59d3e3 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Lightning.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Lightning.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:424e5eb5fdf67d1e9ab6d26a22daf433c490ebef787013e31ef934621dc9378f -size 6622524 +oid sha256:5de6f2efcdc609dbdbec795746d336e4809a3e211ddc92e8d6ffeb3e25d61129 +size 6623820 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 d31f28581..864a8893d 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:7efd3321c9b595a11f610459b45b466eaf4269b51519cb21ec335656b634684e -size 10831979 +oid sha256:4d05b034196df340038c767a70317f3a4391c913a9f5c10518c1da3963f1ceb6 +size 10837383 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 4968ec3c3..d414a061a 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:f32e832183b0cc92989fe661fd246a939234c04cf4809d5dad6a470c27dc6b02 -size 7711820 +oid sha256:b98ecbd4e8441c101dc28c59c1926f4f4ba288331bde0138b0b07490bd802dc7 +size 7862876 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Protego.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Protego.bin index 33eaa83ba..77204598d 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Protego.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Protego.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cd9ef6d0085b5b5aa114f93658bd677b2f6e63166c7040a8b0f41d590fd1d598 -size 11599528 +oid sha256:4f63a9b11fff81794e700c2ffbce3ba5de77043bdfd9ef147bd95ff32c2ddda5 +size 11605392 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Protego.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Protego.fbx index 53d4ae88d..daee529ae 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Protego.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Protego.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d09ce4044856db084f1c27d202ce2ef8ec39caab390090c39cfea58682335f5e -size 11317660 +oid sha256:93cad5fc47ba8715e94c226fbf5209b69948b99131a8e2d86e2348fa1ceab614 +size 11317884 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Rct.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Rct.bin index 6d3d26444..45a33f247 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Rct.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Rct.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0c2b15b19dbd5e9cac30f8dd7a0503697fefb8ba7670a0517fa76a92f1e39dd9 -size 60872730 +oid sha256:697745c7628aff20a58c7889620cad2ad044d0327963fe52ba21cab05eea8c93 +size 60877918 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Rct.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Rct.fbx index d334a4453..a3bfcc9e0 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Rct.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Rct.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:97b6f3b412d2efaee517a4957e733bd10fa4ec2cce0cfc2ab7849f189cac1ab4 -size 162112268 +oid sha256:d98f52f20ecd4445c3e11cdcc0225d5f9c9bef744b80371a79d4da45029d75af +size 162110172 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Sneak.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Sneak.bin index 78b0c122c..6973b43df 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Sneak.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Sneak.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c014c7879bd0bf784b52c41103c914e36ccd342a19fe774d14a76db339b10406 -size 19553373 +oid sha256:eeabb9187a67e6cb52b0ab83c0373a3aabae3087cfcac6ba7615235c4b800ee0 +size 19558977 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Sneak.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Sneak.fbx index fdeecd83d..592a12504 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Sneak.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Sneak.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9a0f699ca4bd2b3fc8fe6fa488eb603e57571dcb997d415e3773959bcff3c376 -size 42318204 +oid sha256:1365b28033d92c5b89d0bc349f9ed6e37f76f9251a38baa8f3bc3df58c6c4784 +size 42318124 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spawn.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spawn.bin index 8e2669fc2..43f5406c5 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spawn.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spawn.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7cd902991cc0e07a13d661ff082063c4d91d05558745e22fd55b6236534657ce -size 15532953 +oid sha256:deaf609ed71e00e5d72ace1d0f3b9a6f64e459aabc10c5a4c9129d9787c354e2 +size 15538505 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spawn.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spawn.fbx index cd212311b..47e449856 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spawn.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spawn.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0c6ea3057be2b0b2b79a9f68b04a50c57d2aafd511248eb5f45fbcacae41bf94 -size 13646412 +oid sha256:b46e87261c87183d1d732217560577eb05283a6444ac07db6fefb4aec9693ef2 +size 13645916 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spell_Learning.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spell_Learning.bin index 6f211a32d..0bab1f105 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spell_Learning.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spell_Learning.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:16a8a368648f0a2a465e60be2594f116a9e5c8fd66756f68472f2da90518953b -size 12244771 +oid sha256:6f6947410dfd4b5db8d9790eacd4e065bf71a539da23a6fb4231dd4da76f56cf +size 12250323 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spell_Learning.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spell_Learning.fbx index bd8c2f8b9..b50257389 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spell_Learning.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_Spell_Learning.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4d1815739ab986871b4e43dc9a93594acebd8734f3cb0d18f58ea598e0322479 -size 9683692 +oid sha256:17e4c94bcc64d1d3b52bb061a57f6bf00e2b21cf1ecdd009b504f14787919ca9 +size 9683740 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 index 1a59e74bd..643447082 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:54bf8ce4d068163e80d9c9f262c02ba5b7545a851c10729fbb0bb9e36fcf1009 -size 13829790 +oid sha256:9f3ae2987c4b1d3cf53e391def503f67bb1b5213180a4a28c6901d1749d00705 +size 13829738 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 index fcb5f9bfa..f508d2906 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d58c2482c84c5fbed27349cc09cbcf8dbcac2177b5e4832c3ef47bc938d54e39 +oid sha256:a75a438e34486ab146543a569e511b02b33c42f20f623b38f0737606eb15423e size 7854540 diff --git a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp index 3e106e2a0..52e028737 100644 --- a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp @@ -359,7 +359,7 @@ HRESULT CLoader::Loading_For_ObjectViewer() //)); futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", /*XMMatrixRotationZ(XMConvertToRadians(180.f))* */XMMatrixIdentity(), + MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), TEXT("Prototype_Component_Playable_Model") )); @@ -406,6 +406,11 @@ HRESULT CLoader::Loading_For_ObjectViewer() //futures.emplace_back(Deferred_ModelLoad( // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.fbx", XMMatrixIdentity(), // TEXT("Prototype_Component_Playable_Model") + ////)); + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro2.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_Playable_Model") //)); #pragma endregion From 35343aa6646fc2f9d42b0d0bccd03ad00941638f Mon Sep 17 00:00:00 2001 From: kimnuri Date: Wed, 7 Jan 2026 13:13:14 +0900 Subject: [PATCH 5/5] [add] PlayerTrollIntro --- .../PlayableCharacter/Playable_TrollIntro.fbx | 4 ++-- .../Editor/Private/Loader_ObjectViewer.cpp | 21 +++++++------------ 2 files changed, 10 insertions(+), 15 deletions(-) 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 index f508d2906..5eb7406fc 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a75a438e34486ab146543a569e511b02b33c42f20f623b38f0737606eb15423e -size 7854540 +oid sha256:de60a433f2acb7a774a057b31a34893a8a7864c57ac4ef46e87e73b266f3d990 +size 13607500 diff --git a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp index 52e028737..0209dc784 100644 --- a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp @@ -358,10 +358,10 @@ HRESULT CLoader::Loading_For_ObjectViewer() // TEXT("Prototype_Component_Student_Cmbt_Model") //)); - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_Playable_Model") - )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_Playable_Model") + //)); //futures.emplace_back(Deferred_ModelLoad( // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Cmbt.fbx", XMMatrixIdentity(), @@ -403,15 +403,10 @@ HRESULT CLoader::Loading_For_ObjectViewer() // TEXT("Prototype_Component_Playable_Model") //)); - //futures.emplace_back(Deferred_ModelLoad( - // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.fbx", XMMatrixIdentity(), - // TEXT("Prototype_Component_Playable_Model") - ////)); - - //futures.emplace_back(Deferred_ModelLoad( - // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro2.fbx", XMMatrixIdentity(), - // TEXT("Prototype_Component_Playable_Model") - //)); + futures.emplace_back(Deferred_ModelLoad( + MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.fbx", XMMatrixIdentity(), + TEXT("Prototype_Component_Playable_Model") + )); #pragma endregion