diff --git a/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp b/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp index a16c9ed45..6672b9a01 100644 --- a/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp +++ b/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp @@ -354,23 +354,20 @@ void CCamPosition_Shoulder::Set_CameraAnim(_uint iIndex) _vector CCamPosition_Shoulder::Get_ShoulderGlobalPos() { // Right/Left 숄더를 로컬 X 부호로 결정 - _float shoulderSideSign = (true == m_bRightShoulderActive) ? 1.f : -1.f; + _float fShoulderSide = (true == m_bRightShoulderActive) ? 1.f : -1.f; - _float3 shoulderLocalPosition = m_vShoulderLocalPos; - shoulderLocalPosition.x *= shoulderSideSign; + _float3 vShoulderLocalPos = m_vShoulderLocalPos; + vShoulderLocalPos.x *= fShoulderSide; - _vector shoulderLocalOffset = XMLoadFloat3(&shoulderLocalPosition); + _vector vShoulderLocalOffset = XMLoadFloat3(&vShoulderLocalPos); // 카메라 회전(현재 마우스로 누적된 pitch/yaw) - _vector cameraRotationQuaternion = XMQuaternionRotationRollPitchYaw( + _vector vCameraRotQ = XMQuaternionRotationRollPitchYaw( XMConvertToRadians(m_vAccRotDegrees.x + m_vAccRealDegrees.x), XMConvertToRadians(m_vAccRotDegrees.y + m_vAccRealDegrees.y), 0.f ); - // 카메라 로컬 오프셋을 카메라 회전에 맞춰 월드로 회전 - _vector shoulderWorldOffset = XMVector3Rotate(shoulderLocalOffset, cameraRotationQuaternion); - - return shoulderWorldOffset; + return XMVector3Rotate(vShoulderLocalOffset, vCameraRotQ); } diff --git a/Jusin154_Team3D/Client/Private/Camera_Cinematic.cpp b/Jusin154_Team3D/Client/Private/Camera_Cinematic.cpp index c42135acc..faaa71fa5 100644 --- a/Jusin154_Team3D/Client/Private/Camera_Cinematic.cpp +++ b/Jusin154_Team3D/Client/Private/Camera_Cinematic.cpp @@ -170,7 +170,7 @@ void CCamera_Cinematic::Trigger(CTimeSocket& Socket) case TIMESOCKET_FUNC::ROTATION_LERP: { Clear_Lerp_Rotation(); - Start_Lerp_Rotation(pContents->vParam_11.x, pContents->pxTransform); + Start_Lerp_Rotation(pContents->vParam_11.x, pContents->pxTransform, pContents->vFlags.b[0]); } break; case TIMESOCKET_FUNC::LOOK_AT: { @@ -352,17 +352,21 @@ void CCamera_Cinematic::Lerp_Rotation(_float fTimeDelta) Rotation(vRotQ); } } -void CCamera_Cinematic::Start_Lerp_Rotation(_float fTimeMaximum, PSX::PxTransform pxTransform) +void CCamera_Cinematic::Start_Lerp_Rotation(_float fTimeMaximum, PSX::PxTransform pxTransform, _bool bMainTainDistance) { _float4 vRotQ = { pxTransform.q.x, pxTransform.q.y, pxTransform.q.z, pxTransform.q.w }; - Start_Lerp_Rotation(fTimeMaximum, vRotQ); + Start_Lerp_Rotation(fTimeMaximum, vRotQ, bMainTainDistance); + } -void CCamera_Cinematic::Start_Lerp_Rotation(_float fTimeMaximum, _float4& vRotQ) +void CCamera_Cinematic::Start_Lerp_Rotation(_float fTimeMaximum, _float4& vRotQ, _bool bMainTainDistance) { m_bLerpRotiation = { fTimeMaximum != 0 }; m_vLerpRotiationTimer = { 0.f, fTimeMaximum }; XMStoreFloat4(&m_vLerpRotQStart, m_pTransformCom->Get_QuarternionVector()); m_vLerpRotQEnd = vRotQ; + _vector vPos = m_pFollowTargetPart->Get_WorldPostion(); + _vector vLookPos = m_pLookTargetPart->Get_WorldPostion(); + m_fMaintainingDistance = XMVectorGetX(XMVector3Length(vLookPos - vPos)); } void CCamera_Cinematic::Clear_Lerp_Rotation() { @@ -370,6 +374,7 @@ void CCamera_Cinematic::Clear_Lerp_Rotation() m_vLerpRotiationTimer = {}; m_vLerpRotQStart = {}; m_vLerpRotQEnd = {}; + m_fMaintainingDistance = {}; } void CCamera_Cinematic::Lerp_FovY(_float fTimeDelta) { @@ -427,6 +432,9 @@ void CCamera_Cinematic::Rotation(_fvector vRotQ) _vector vLookDir = XMVector3Rotate(XMVectorSet(0.f, 0.f, 1.f, 0.f), vRotQ); if (true == m_pLookTargetPart->IsStalking()) { // 스토킹 중이면 팔로우가 움직이고 아니면 룩타겟이 움직임 + if (true == m_bLerpRotiation) { + fDistance = m_fMaintainingDistance; + } m_pFollowTargetPart->Set_WorldPostion(XMVectorSetW(vLookPos - (fDistance * vLookDir), 1.f)); } else { diff --git a/Jusin154_Team3D/Client/Private/Camera_Gaze.cpp b/Jusin154_Team3D/Client/Private/Camera_Gaze.cpp index 184c98758..07388152a 100644 --- a/Jusin154_Team3D/Client/Private/Camera_Gaze.cpp +++ b/Jusin154_Team3D/Client/Private/Camera_Gaze.cpp @@ -254,6 +254,10 @@ void CCamera_Gaze::Describe_Entity() m_iPriority = iPriority; } if (GUI::CollapsingHeader("Camera_Gaze_Describe")) { + _float fFovYDegree = XMConvertToDegrees(m_fFovy); + if (GUI::SliderFloat("FOV", &fFovYDegree, 0.01f, 89.f, "%.2f")) { + m_fFovy = XMConvertToRadians(fFovYDegree); + } m_pTransformCom->Describe_Entity(); GUI::Text("LOOK_SRC %.2f, %.2f, %.2f", m_vLookPos_Src.x, m_vLookPos_Src.y, m_vLookPos_Src.z); GUI::Text("LOOK_DST %.2f, %.2f, %.2f", m_vLookPos_Dest.x, m_vLookPos_Dest.y, m_vLookPos_Dest.z); diff --git a/Jusin154_Team3D/Client/Private/EffectPool.cpp b/Jusin154_Team3D/Client/Private/EffectPool.cpp index dc6df249b..4e6735079 100644 --- a/Jusin154_Team3D/Client/Private/EffectPool.cpp +++ b/Jusin154_Team3D/Client/Private/EffectPool.cpp @@ -121,7 +121,7 @@ HRESULT CEffectPool::Initialize(void* pArg) #endif // #ifdef 기무리 m_isActiveEffectCreate = true; - m_isActiveMonsterEffectCreate = false; + m_isActiveMonsterEffectCreate = true; #endif // #ifdef 나 m_isActiveEffectCreate = true; diff --git a/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp b/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp index 1164bb08e..7a968b1c3 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp @@ -307,6 +307,7 @@ _vector CGoblin_Mage::Get_LockOnPos() void CGoblin_Mage::OnCollision(CGameObject* pOther, void* pDesc) { + return; if (true == m_bDead) { return; } diff --git a/Jusin154_Team3D/Client/Private/InstancedProp.cpp b/Jusin154_Team3D/Client/Private/InstancedProp.cpp index 1d7d39eb3..ae093962e 100644 --- a/Jusin154_Team3D/Client/Private/InstancedProp.cpp +++ b/Jusin154_Team3D/Client/Private/InstancedProp.cpp @@ -27,10 +27,10 @@ void CInstancedProp::Late_Update(_float fTimeDelta) } m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this); -#ifdef Bin - m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_NEAR, this); - m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_MIDDLE, this); -#endif // Bin +//#ifdef Bin +// m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_NEAR, this); +// m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_MIDDLE, this); +//#endif // Bin } HRESULT CInstancedProp::Render() diff --git a/Jusin154_Team3D/Client/Private/Land.cpp b/Jusin154_Team3D/Client/Private/Land.cpp index 7bbf48841..32b5f7e63 100644 --- a/Jusin154_Team3D/Client/Private/Land.cpp +++ b/Jusin154_Team3D/Client/Private/Land.cpp @@ -32,10 +32,10 @@ void CLand::Late_Update(_float fTimeDelta) if (m_pGameInstance->IsIn_WorldFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_fRaduis)) { m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this); -#ifdef Bin - m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_NEAR, this); - m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_MIDDLE, this); -#endif // Bin +//#ifdef Bin +// m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_NEAR, this); +// m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_MIDDLE, this); +//#endif // Bin for (auto& pInstanceProp : m_InstanceProps){ pInstanceProp->Late_Update(fTimeDelta); } diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp index 595793bab..269199a21 100644 --- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp +++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp @@ -126,7 +126,7 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg) _bool bLoadNPC = { true }; #ifdef _DEBUG #ifdef 기무리 - bLoadNPC = true; + bLoadNPC = false; #endif #endif // _DEBUG if (true == bLoadNPC) { @@ -1160,8 +1160,8 @@ HRESULT CLevel_GamePlay::Ready_Layer_Npc() isLoad_NPC = false; #endif // #ifdef 기무리 - isLoad_NPC = true; - isLoad_RandomNPC = true; + isLoad_NPC = false; + isLoad_RandomNPC = false; #endif // #ifdef 나 isLoad_RandomNPC = true; diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp index 59e8c346e..d49aade29 100644 --- a/Jusin154_Team3D/Client/Private/Loader.cpp +++ b/Jusin154_Team3D/Client/Private/Loader.cpp @@ -565,8 +565,8 @@ HRESULT CLoader::Loading_For_GamePlay() #ifdef 기무리 isLoad_Background = true; isLoad_Hogwart = true; - isLoad_UI_SEQUANTIAL = true; - isLoad_NPC = true; + isLoad_UI_SEQUANTIAL = false; + isLoad_NPC = false; isLoad_Monster = true; #endif // #ifdef 나 @@ -1343,7 +1343,7 @@ HRESULT CLoader::Loading_For_GamePlay() TEXT("Prototype_Component_Troll_Model") )); jobCharacterModels.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(), + MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/ConjuredDragon/ConjuredDragon.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), TEXT("Prototype_Component_Ranrok_Model") )); } diff --git a/Jusin154_Team3D/Client/Private/MapObject_Render.cpp b/Jusin154_Team3D/Client/Private/MapObject_Render.cpp index 8e9c8d0f3..9bf92e59c 100644 --- a/Jusin154_Team3D/Client/Private/MapObject_Render.cpp +++ b/Jusin154_Team3D/Client/Private/MapObject_Render.cpp @@ -89,10 +89,10 @@ void CMapObject_Render::Late_Update(_float fTimeDelta) m_iNumMeshe = m_pModelComs[m_iLodIndex]->Get_NumMeshes(); m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this); -#ifdef Bin - m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_NEAR, this); - m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_MIDDLE, this); -#endif // Bin +//#ifdef Bin +// m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_NEAR, this); +// m_pGameInstance->Add_RenderGroup(RENDER::SHADOW_MIDDLE, this); +//#endif // Bin } } diff --git a/Jusin154_Team3D/Client/Private/Player.cpp b/Jusin154_Team3D/Client/Private/Player.cpp index 11b9d3c00..7252f7001 100644 --- a/Jusin154_Team3D/Client/Private/Player.cpp +++ b/Jusin154_Team3D/Client/Private/Player.cpp @@ -58,6 +58,10 @@ HRESULT CPlayer::Initialize(void* pArg) #if 진우 m_isDebugMode = false; // 디버그 무적 모드 #endif + +#if 기무리 + m_isDebugMode = true; // 디버그 무적 모드 +#endif #if 나 m_isDebugMode = true; // 디버그 무적 모드 #endif diff --git a/Jusin154_Team3D/Client/Private/ThestralCarriage.cpp b/Jusin154_Team3D/Client/Private/ThestralCarriage.cpp index c0f442291..94e4cde37 100644 --- a/Jusin154_Team3D/Client/Private/ThestralCarriage.cpp +++ b/Jusin154_Team3D/Client/Private/ThestralCarriage.cpp @@ -201,21 +201,21 @@ void CThestralCarriage::Trigger(CTimeSocket& Socket) } break; case TIMESOCKET_FUNC::SET_FSMSTATE: { - // if (pContents->vFlags.b[0]) { - // m_iAnimationIndex = 0; - // m_pModelCom->Set_AnimationIndex(m_iAnimationIndex); - // m_pModelCom->IsRootBone(false); - // } - // else if (pContents->vFlags.b[1]) { - // m_iAnimationIndex = 1; - // m_pModelCom->Set_AnimationIndex(m_iAnimationIndex); - // m_pModelCom->IsRootBone(false); - // } - // else if (pContents->vFlags.b[2]) { - // m_iAnimationIndex = 2; - // m_pModelCom->Set_AnimationIndex(m_iAnimationIndex); - // m_pModelCom->IsRootBone(false); - // } + if (pContents->vFlags.b[0]) { + m_iAnimationIndex = 0; + m_pModelCom->Set_AnimationIndex(m_iAnimationIndex); + m_pModelCom->IsRootBone(false); + } + else if (pContents->vFlags.b[1]) { + m_iAnimationIndex = 1; + m_pModelCom->Set_AnimationIndex(m_iAnimationIndex); + m_pModelCom->IsRootBone(false); + } + else if (pContents->vFlags.b[2]) { + m_iAnimationIndex = 2; + m_pModelCom->Set_AnimationIndex(m_iAnimationIndex); + m_pModelCom->IsRootBone(false); + } } break; case TIMESOCKET_FUNC::BIND_SOCKET_MATRIX: { diff --git a/Jusin154_Team3D/Client/Public/CamPosition_Shoulder.h b/Jusin154_Team3D/Client/Public/CamPosition_Shoulder.h index b27d1b591..22d88854b 100644 --- a/Jusin154_Team3D/Client/Public/CamPosition_Shoulder.h +++ b/Jusin154_Team3D/Client/Public/CamPosition_Shoulder.h @@ -73,6 +73,10 @@ class CCamPosition_Shoulder final : public CCamPosition _float2 m_vMoveLerpPositions = { }; _float2 m_vMoveLerpTimer = { 0.f, TIMER_SHORT_LERP }; + + //_int m_iSpellFovLerp = { 0 }; + //_float3 m_vSpellFovLerpTimer = { 0.f, 1.f, 2.f }; + //_float3 m_vSpellFovLerpDegree = { 60.f, 30.f, 60.f }; #pragma endregion _float2 m_vCameraShakeTimer = { 0.f, 0.3f }; diff --git a/Jusin154_Team3D/Client/Public/Camera_Cinematic.h b/Jusin154_Team3D/Client/Public/Camera_Cinematic.h index 102fd0af0..09d8a17e8 100644 --- a/Jusin154_Team3D/Client/Public/Camera_Cinematic.h +++ b/Jusin154_Team3D/Client/Public/Camera_Cinematic.h @@ -49,8 +49,8 @@ class CCamera_Cinematic final : public CCamera void Start_Lerp_Translation(_float fTimeMaximum, _float3& vTrans); void Clear_Lerp_Translation(); void Lerp_Rotation(_float fTimeDelta); - void Start_Lerp_Rotation(_float fTimeMaximum, PSX::PxTransform pxTransform); - void Start_Lerp_Rotation(_float fTimeMaximum, _float4& vRotQ); + void Start_Lerp_Rotation(_float fTimeMaximum, PSX::PxTransform pxTransform, _bool bMainTainDistance); + void Start_Lerp_Rotation(_float fTimeMaximum, _float4& vRotQ, _bool bMainTainDistance); void Clear_Lerp_Rotation(); @@ -82,6 +82,7 @@ class CCamera_Cinematic final : public CCamera _bool m_bLerpFovY = { false }; _float2 m_vFovYLerp = { 60.f, 60.f }; _float2 m_vLerpFovYTimer = { }; + _float m_fMaintainingDistance = { }; #ifdef _DEBUG unique_ptr m_pSubShape = { nullptr }; unique_ptr> m_Batch = { nullptr }; diff --git a/Jusin154_Team3D/Client/Public/Player.h b/Jusin154_Team3D/Client/Public/Player.h index ee204f874..4fe1a62c7 100644 --- a/Jusin154_Team3D/Client/Public/Player.h +++ b/Jusin154_Team3D/Client/Public/Player.h @@ -294,7 +294,7 @@ class CPlayer final : public CUnit void Behavior_Broom_HoverEnter(); HRESULT Behavior_Broom_HoverExitCheck(_float fTimeDelta); void Behavior_Broom_HoverExit(); - + void Behavior_Broom_FlyEnter(); HRESULT Behavior_Broom_FlyExitCheck(_float fTimeDelta); void Behavior_Broom_FlyExit(); diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/CarriageIntro.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/CarriageIntro.xml index 4982d2544..7db6bf716 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/CarriageIntro.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/CarriageIntro.xml @@ -152,8 +152,8 @@ - - + + @@ -226,8 +226,8 @@ - - + + @@ -263,8 +263,8 @@ - - + + @@ -332,6 +332,80 @@ + + + + + + + + + + + true + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + + + + + + + + + + + + false + false + true + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + @@ -370,12 +444,12 @@ - + - - + + @@ -400,23 +474,23 @@ - + - + - - + + - false + true false false false @@ -437,266 +511,7 @@ - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - + @@ -705,344 +520,6 @@ --> - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - @@ -1054,9 +531,47 @@ - true + false false - false + true + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + + + + + + + + + + + + + false + false + true false false false diff --git a/Jusin154_Team3D/Editor/Private/Level_Logo.cpp b/Jusin154_Team3D/Editor/Private/Level_Logo.cpp index cf0dea8d1..2b7e782da 100644 --- a/Jusin154_Team3D/Editor/Private/Level_Logo.cpp +++ b/Jusin154_Team3D/Editor/Private/Level_Logo.cpp @@ -60,7 +60,7 @@ void CLevel_Logo::Update(_float fTimeDelta) return; #endif // gimch #ifdef 기무리 - if (FAILED(m_pGameInstance->Change_Level(CLevel_Loading::Create(m_pDevice, m_pContext, LEVEL::LOADING, LEVEL::EFFECT)))) + if (FAILED(m_pGameInstance->Change_Level(CLevel_Loading::Create(m_pDevice, m_pContext, LEVEL::LOADING, LEVEL::OBJECT)))) return; #endif // 기무리 #ifdef 진우 diff --git a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp index 5a2bbca19..b3821e2c4 100644 --- a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp @@ -102,10 +102,15 @@ HRESULT CLoader::Loading_For_ObjectViewer() 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(), + MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/ConjuredDragon/ConjuredDragon.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), TEXT("Prototype_Component_ConjuredDragon_Model") )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Monster/ConjuredDragon/ConjuredDragon_Anim.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + // TEXT("Prototype_Component_ConjuredDragon_Model") + //)); + //futures.emplace_back(Deferred_ModelLoad( // MODEL::ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.fbx", XMMatrixIdentity(), // TEXT("Prototype_Component_trsoll_Model") diff --git a/Jusin154_Team3D/Engine/Private/Renderer.cpp b/Jusin154_Team3D/Engine/Private/Renderer.cpp index b3b63508e..5d8a29839 100644 --- a/Jusin154_Team3D/Engine/Private/Renderer.cpp +++ b/Jusin154_Team3D/Engine/Private/Renderer.cpp @@ -353,7 +353,7 @@ void CRenderer::Render_Decal() if (FAILED(m_pGameInstance->Begin_MRT_NonClear(TEXT("MRT_Decal")))) { return; } - + m_eType = RENDER::DECAL; for (auto& pRenderObject : m_RenderObjects[ENUM_CLASS(RENDER::DECAL)]) { if (nullptr != pRenderObject) { @@ -451,6 +451,7 @@ void CRenderer::Render_Combined() COMPUTE_TIMEDELTA("Timer_Render_Combined"); EVENTSCOPE_("Render_Combined"); + if (FAILED(m_pGameInstance->Begin_MRT(TEXT("MRT_Combined")))) { return; } @@ -541,7 +542,7 @@ void CRenderer::Render_EnvironmentPostProcess() if (FAILED(m_pGameInstance->Begin_MRT(TEXT("MRT_ENV_Blur_X")))) { // Target_ENV_Blur_X return; } - + m_pShader->Bind_Matrix("g_WorldMatrix", &m_ScreenWorldMatrix); m_pShader->Bind_Matrix("g_ViewMatrix", &m_ScreenViewMatrix); m_pShader->Bind_Matrix("g_ProjMatrix", &m_ScreenProjMatrix); @@ -660,7 +661,7 @@ void CRenderer::Render_Effect() if (FAILED(m_pGameInstance->Begin_MRT(TEXT("MRT_WB")))) { return; } - + m_eType = RENDER::EFFECT; for (auto& pRenderObject : m_RenderObjects[ENUM_CLASS(RENDER::EFFECT)]) { if (nullptr != pRenderObject) @@ -682,7 +683,7 @@ void CRenderer::Render_WeightBlend() COMPUTE_TIMEDELTA("Timer_Render_WeightBlend"); EVENTSCOPE_("Render_WeightBlend"); // Bind_Resorces - + m_pWeightBlendShader->Bind_Matrix("g_WorldMatrix", &m_ScreenWorldMatrix); m_pWeightBlendShader->Bind_Matrix("g_ViewMatrix", &m_ScreenViewMatrix); m_pWeightBlendShader->Bind_Matrix("g_ProjMatrix", &m_ScreenProjMatrix); @@ -834,7 +835,7 @@ void CRenderer::Render_SSAO() COMPUTE_TIMEDELTA("Timer_Render_SSAO"); EVENTSCOPE_("Render_SSAO"); _uint iKernelSize = SSAO_SAMPLE_NUMBER; - + if (FAILED(m_pGameInstance->Begin_MRT(TEXT("MRT_SSAO_OCCLUSION")))) { return; } @@ -983,7 +984,7 @@ void CRenderer::Render_Blur_Mesh() { COMPUTE_TIMEDELTA("Timer_Render_Blur_Mesh"); EVENTSCOPE_("Render_Blur_Mesh"); - + m_eType = RENDER::BLUR; m_RenderObjects[ENUM_CLASS(RENDER::BULR_MESH)].sort([](CGameObject* pSour, CGameObject* pDest)->_bool { return pSour->Get_Depth() > pDest->Get_Depth(); }); @@ -1015,6 +1016,7 @@ void CRenderer::Render_PostProcessing() /* POSTPROCESSING */ COMPUTE_TIMEDELTA("Timer_Render_PostProcessing"); EVENTSCOPE_("Render_PostProcessing"); + { ID3D11Texture2D* pBackBuffer = { nullptr }; m_pGameInstance->Get_BackBufferPTR(&pBackBuffer); @@ -1088,7 +1090,7 @@ void CRenderer::Render_PostProcessing() } } m_pShader->Begin(ENUM_CLASS(SHADER_PASS_DEFERRED::MOTIONBLUR)); - + m_pVIBuffer->Bind_Resources(); m_pVIBuffer->Render(); if (false == m_bMB) { diff --git a/Jusin154_Team3D/Engine/Public/TimeSocket.h b/Jusin154_Team3D/Engine/Public/TimeSocket.h index d6ce50e17..dea6320db 100644 --- a/Jusin154_Team3D/Engine/Public/TimeSocket.h +++ b/Jusin154_Team3D/Engine/Public/TimeSocket.h @@ -49,6 +49,7 @@ typedef enum class typeTimeSocket_Func { // CHARACTER SET_ANIMSTATE, + SET_ANIMTRACKPOSITION, SET_FSMSTATE, BIND_SOCKET_MATRIX, UNBIND_SOCKET_MATRIX, @@ -97,10 +98,11 @@ static constexpr pair g_SocketFuncTypeTable[ENUM_C {"SHAKE", TIMESOCKET_FUNC::SHAKE}, // CHARACTER - {"SET_ANIMSTATE", TIMESOCKET_FUNC::SET_ANIMSTATE}, - {"SET_FSMSTATE", TIMESOCKET_FUNC::SET_FSMSTATE}, - {"BIND_SOCKET_MATRIX", TIMESOCKET_FUNC::BIND_SOCKET_MATRIX}, - {"UNBIND_SOCKET_MATRIX",TIMESOCKET_FUNC::UNBIND_SOCKET_MATRIX}, + {"SET_ANIMSTATE", TIMESOCKET_FUNC::SET_ANIMSTATE}, + {"SET_ANIMTRACKPOSITION", TIMESOCKET_FUNC::SET_ANIMTRACKPOSITION}, + {"SET_FSMSTATE", TIMESOCKET_FUNC::SET_FSMSTATE}, + {"BIND_SOCKET_MATRIX", TIMESOCKET_FUNC::BIND_SOCKET_MATRIX}, + {"UNBIND_SOCKET_MATRIX", TIMESOCKET_FUNC::UNBIND_SOCKET_MATRIX}, // EFFECT