From 8b6e66819df9e3ce9a902694e90e9934a9bf3ec8 Mon Sep 17 00:00:00 2001 From: GiJungSUk Date: Wed, 7 Jan 2026 13:50:19 +0900 Subject: [PATCH] commit --- Jusin154_Team3D/Client/Private/Level_Field.cpp | 6 ++---- Jusin154_Team3D/Client/Private/Level_GamePlay.cpp | 13 ++++++++----- Jusin154_Team3D/Client/Private/Level_Logo.cpp | 3 +++ Jusin154_Team3D/Client/Private/Light_Main.cpp | 15 ++++++++++++--- .../Client/Private/PlayerRobe_Initialize.cpp | 2 ++ Jusin154_Team3D/Client/Private/Ranrok.cpp | 12 ++++++------ .../Data/Effect/Avadakedavra/Circle_1.bin | 2 +- .../Data/Effect/Ranrok/RanrokPoint/Smoke.bin | 4 ++-- .../Effect/Ranrok/RanrokPulse/BottomSplatter2.bin | 2 +- .../Effect/Ranrok/RanrokPulse/Bottom_Decal.bin | 2 +- .../Data/Effect/Ranrok/RanrokPulse/Rock_PT.bin | 2 +- .../Editor/Private/Level_EffectViewer.cpp | 11 +++++++++-- Jusin154_Team3D/Editor/Private/Loader.cpp | 3 +++ Jusin154_Team3D/Engine/Private/Mesh.cpp | 9 ++++++++- 14 files changed, 59 insertions(+), 27 deletions(-) diff --git a/Jusin154_Team3D/Client/Private/Level_Field.cpp b/Jusin154_Team3D/Client/Private/Level_Field.cpp index 7a1b1cff9..4820a3961 100644 --- a/Jusin154_Team3D/Client/Private/Level_Field.cpp +++ b/Jusin154_Team3D/Client/Private/Level_Field.cpp @@ -225,12 +225,10 @@ HRESULT CLevel_Field::Ready_Layer_SkyBox() HRESULT CLevel_Field::Ready_Background() { - _float4 vColor = _float4(0.2f, 0.246f, 0.253f, 1.f); - m_pGameInstance->Set_FogColor(vColor); - m_pGameInstance->Set_Fog(10.f, 8.f); - m_pGameInstance->Setting_Volumetirc(1.812f, 0.003f, 0.56f, 1.f, 0.031f); + + CInfoInstance::GetInstance()->Load_MapObjects("Dungeon_Map_Data", LAYER_BACKGROUND); CInfoInstance::GetInstance()->Load_WorldDecal("Duengon_Decal_Data", LAYER_BACKGROUND); CInfoInstance::GetInstance()->Load_PointLights("Duengon_PointLight_Data", LAYER_BACKGROUND); diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp index 99fd6b626..610d68505 100644 --- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp +++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp @@ -325,18 +325,20 @@ HRESULT CLevel_GamePlay::Ready_Background() #if 진우 #else - if(isReady_Hogsmeade) + +#endif + + if (isReady_Hogsmeade) { if (FAILED(Ready_Layer_Hogsmeade())) return E_FAIL; } - if(isReady_Hogwart) + if (isReady_Hogwart) { if (FAILED(Ready_Layer_Hogwart())) return E_FAIL; } -#endif if (FAILED(Ready_IntstanceProp())) return E_FAIL; @@ -804,7 +806,8 @@ HRESULT CLevel_GamePlay::Ready_Layer_Player(const _wstring& strLayerTag) isLoad_RandomNPC = true; #endif // gimch #ifdef 진우 - isLoad_RandomNPC = true; + isLoad_RandomNPC = false; + isLoad_NPC = false; #endif // #ifdef 기무리 isLoad_NPC = false; @@ -903,7 +906,7 @@ HRESULT CLevel_GamePlay::Ready_Layer_Monster() #endif // gimch #ifdef 진우 - isLoad_Monster = true; + isLoad_Monster = false; #endif // #ifdef 기무리 isLoad_Monster = true; diff --git a/Jusin154_Team3D/Client/Private/Level_Logo.cpp b/Jusin154_Team3D/Client/Private/Level_Logo.cpp index 0dbf4fd1d..abbf41173 100644 --- a/Jusin154_Team3D/Client/Private/Level_Logo.cpp +++ b/Jusin154_Team3D/Client/Private/Level_Logo.cpp @@ -46,6 +46,9 @@ void CLevel_Logo::Update(_float fTimeDelta) return; } } + + + } HRESULT CLevel_Logo::Render() diff --git a/Jusin154_Team3D/Client/Private/Light_Main.cpp b/Jusin154_Team3D/Client/Private/Light_Main.cpp index 235ee5384..86b3fa2c6 100644 --- a/Jusin154_Team3D/Client/Private/Light_Main.cpp +++ b/Jusin154_Team3D/Client/Private/Light_Main.cpp @@ -98,12 +98,21 @@ HRESULT CLight_Main::Ready_Components(void* pArg) { __super::Ready_Components(nullptr); - _matrix LIGHT_WorldMatrixDoNotModify = - _matrix(0.819145918f, 0.f, -0.573572040f, 0.f, + + if (NEXT_LEVEL == ENUM_CLASS(LEVEL::GAMEPLAY)) + { + _matrix LIGHT_WorldMatrixDoNotModify = + _matrix(0.819145918f, 0.f, -0.573572040f, 0.f, 0.553958654f, 0.258784860f, 0.791134834f, 0.f , 0.148416296f, -0.965690017f, 0.211960629f, 0.f , 0.f, 0.f, 0.f, 1.f); - m_pTransformCom->Set_WorldMatrix(LIGHT_WorldMatrixDoNotModify); + m_pTransformCom->Set_WorldMatrix(LIGHT_WorldMatrixDoNotModify); + } + else if (NEXT_LEVEL == ENUM_CLASS(LEVEL::FIELD)) + { + m_pTransformCom->Rotation(XMConvertToRadians(-4.f), XMConvertToRadians(271.f), 0.f); + + } LIGHT_DESC* pLightDescArg = static_cast(pArg); diff --git a/Jusin154_Team3D/Client/Private/PlayerRobe_Initialize.cpp b/Jusin154_Team3D/Client/Private/PlayerRobe_Initialize.cpp index 23fd682c4..314330ffe 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,5 @@ void CPlayerRobe::Free() m_pSubShape.release(); m_pSubShape = nullptr; } +#endif // _DEBUG } diff --git a/Jusin154_Team3D/Client/Private/Ranrok.cpp b/Jusin154_Team3D/Client/Private/Ranrok.cpp index c6610d785..610a11ed5 100644 --- a/Jusin154_Team3D/Client/Private/Ranrok.cpp +++ b/Jusin154_Team3D/Client/Private/Ranrok.cpp @@ -402,10 +402,10 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc) Add_Event(pairAnimInfo.first, [&]() {m_bDisolve = true; }, - 0.15f); + 0.25f); Add_Event(pairAnimInfo.first, [&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); }, - 0.5f); + 0.55f); m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); return; } @@ -418,10 +418,10 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc) Add_Event(pairAnimInfo.first, [&]() {m_bDisolve = true; }, - 0.15f); + 0.25f); Add_Event(pairAnimInfo.first, [&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); }, - 0.5f); + 0.55f); m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); return; } @@ -435,10 +435,10 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc) Add_Event(pairAnimInfo.first, [&]() {m_bDisolve = true; }, - 0.15f); + 0.25f); Add_Event(pairAnimInfo.first, [&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); }, - 0.5f); + 0.55f); m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); return; } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Avadakedavra/Circle_1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Avadakedavra/Circle_1.bin index 8fea3892c..0d476871e 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Avadakedavra/Circle_1.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Avadakedavra/Circle_1.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f4b4b0ad3a97cf97ef143611c6079d6f4325be0d228683999cea32b3881ee336 +oid sha256:4d431eeeb354c31cb1a24071130e036b91accfb9dfe8728b823b4dc3d784d878 size 1231 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/Smoke.bin index e4dac9e45..22e865634 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/Smoke.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPoint/Smoke.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:836e5bd978a28877d58a2a04f35ae7b1c12d1e0695e031fe6bf6ead309ef52a2 -size 1296 +oid sha256:d132ae5f2687479c0f1c6d6d8191cd98ce497906c5fc265bf6f65590e807a7c9 +size 1287 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/BottomSplatter2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/BottomSplatter2.bin index a869f6c71..e66c6a2c6 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/BottomSplatter2.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/BottomSplatter2.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d83905230177e85d8af39235b52b489e709d575eda2da53523c7fe18c07db9d7 +oid sha256:3a885f02b56b66f32883ad4f0386c6c511df511c5d172390a06c0625c18123cd size 1210 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin index 3dafdea5c..c1152e0ad 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3498ce843154813d20f8b9633b88bf5e8f8f2f1b4a6bf05d99322abab81bc8ba +oid sha256:7a7b5c89cb56630436e52f4df48192e2aad373626eea2a4b735d1f443d91eab3 size 1217 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Rock_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Rock_PT.bin index 206c6b0d8..e7a680fe3 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Rock_PT.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Rock_PT.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3cde890983244a19238162ac3badf4877057dda1dd83ae95d87ed3dbd72d6df9 +oid sha256:c6ba6509f7cff453fb884036d0ce5676f79c979c25687528ae65d048e067a7b4 size 1194 diff --git a/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp index e3518b164..9c5261843 100644 --- a/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp @@ -111,6 +111,7 @@ HRESULT CLevel_EffectViewer::Initialize() m_pGameInstance->Setting_Volumetirc(1.812f, 0.003f, 0.56f, 1.f, 0.031f); + return S_OK; } @@ -164,8 +165,12 @@ HRESULT CLevel_EffectViewer::Ready_Layer_Light() return E_FAIL; } - _float4 vDiffuse = _float4(0.607f, 0.658f, 0.698f, 0.f); - _float4 vAmbient = _float4(0.1f, 0.13f, 0.13f, 0.f); + //_float4 vDiffuse = _float4(0.607f, 0.658f, 0.698f, 0.f); + //_float4 vAmbient = _float4(0.1f, 0.13f, 0.13f, 0.f); + //_float4 vSpecular = _float4(0.05f, 0.05f, 0.05f, 0.f); + + _float4 vDiffuse = _float4(0.361f, 0.451f, 0.451f, 0.204f); + _float4 vAmbient = _float4(0.161f, 0.161f, 0.161f, 0.0f); _float4 vSpecular = _float4(0.05f, 0.05f, 0.05f, 0.f); pLight->Get_Component()->Set_Color(vDiffuse, vAmbient, vSpecular); @@ -228,6 +233,8 @@ HRESULT CLevel_EffectViewer::Ready_Layer_BackGround(const _wstring& strLayerTag) m_pGameInstance->Set_Fog(10.f, 5.f); m_pInfoInstance->Load_MapObjects("Dungeon_Map_Data"); + CInfoInstance::GetInstance()->Load_PointLights("Duengon_PointLight_Data"); + return S_OK; } diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp index 6f1b59325..7cfaf1ce4 100644 --- a/Jusin154_Team3D/Editor/Private/Loader.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader.cpp @@ -1922,6 +1922,9 @@ HRESULT CLoader::Loading_For_Effect() return E_FAIL; } + if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CLightSpawner::Create(m_pDevice, m_pContext)))) + return E_FAIL; + if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CGoblin_Dagger::Create(m_pDevice, m_pContext)))) { return E_FAIL; diff --git a/Jusin154_Team3D/Engine/Private/Mesh.cpp b/Jusin154_Team3D/Engine/Private/Mesh.cpp index 8efa6d820..f8df543d1 100644 --- a/Jusin154_Team3D/Engine/Private/Mesh.cpp +++ b/Jusin154_Team3D/Engine/Private/Mesh.cpp @@ -280,9 +280,12 @@ 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) { @@ -303,8 +306,12 @@ HRESULT CMesh::Ready_VertexBuffer_For_NonAnim(SaveMesh* SaveMesh, _fmatrix PreTr XMStoreFloat3(&pVertices[i].vBinormal, XMVector3Normalize(XMVector3TransformNormal(XMLoadFloat3(&pVertices[i].vBinormal), PreTransformMatrix))); + pVertices[i].vTexcoord = SaveMesh->Vertices[i].UV; +#ifdef DEBUG memcpy(&m_VertexTexcoords[i], &pVertices[i].vTexcoord, sizeof(_float2)); +#endif + } D3D11_SUBRESOURCE_DATA InitialVBData{};