diff --git a/Jusin154_Team3D/Client/Default/Client.cpp b/Jusin154_Team3D/Client/Default/Client.cpp index eef769517..8037920d6 100644 --- a/Jusin154_Team3D/Client/Default/Client.cpp +++ b/Jusin154_Team3D/Client/Default/Client.cpp @@ -10,12 +10,16 @@ HINSTANCE g_hInstance; HWND g_hWnd; WCHAR szTitle[MAX_LOADSTRING]; WCHAR szWindowClass[MAX_LOADSTRING]; +_bool g_bFullscreen = false; +RECT g_rcWindowed = {}; + ATOM MyRegisterClass(HINSTANCE hInstance); BOOL InitInstance(HINSTANCE, int); LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); INT_PTR CALLBACK About(HWND, UINT, WPARAM, LPARAM); +void ToggleFullscreen(); extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); int APIENTRY wWinMain(_In_ HINSTANCE hInstance, @@ -197,30 +201,24 @@ BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) g_hWnd = hWnd; #ifndef _DEBUG - int screenX = GetSystemMetrics(SM_CXSCREEN); - int screenY = GetSystemMetrics(SM_CYSCREEN); + { + g_bFullscreen = true; - HWND hWnd = CreateWindowW( - szWindowClass, - szTitle, - WS_POPUP, - 0, 0, - screenX, screenY, - nullptr, - nullptr, - hInstance, - nullptr - ); + SetWindowLong(g_hWnd, GWL_STYLE, GetWindowLong(g_hWnd, GWL_STYLE) & ~WS_OVERLAPPEDWINDOW); - if (!hWnd) - return FALSE; + _int screenX = GetSystemMetrics(SM_CXSCREEN); + _int screenY = GetSystemMetrics(SM_CYSCREEN); - g_hWnd = hWnd; + SetWindowPos( + g_hWnd, + HWND_TOP, + 0, 0, + screenX, screenY, + SWP_NOOWNERZORDER | SWP_FRAMECHANGED + ); + } +#endif - ShowWindow(hWnd, SW_SHOW); - UpdateWindow(hWnd); - -#endif // !_DEBUG return TRUE; } @@ -235,9 +233,61 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) case WM_DESTROY: PostQuitMessage(0); break; + case WM_SYSKEYDOWN: + { + if (wParam == VK_RETURN && (lParam & (1 << 29))) + { + ToggleFullscreen(); + return 0; + } + } + break; + default: return DefWindowProc(hWnd, message, wParam, lParam); } return 0; } + + +void ToggleFullscreen() +{ + DWORD style = GetWindowLong(g_hWnd, GWL_STYLE); + + if (!g_bFullscreen) + { + GetWindowRect(g_hWnd, &g_rcWindowed); + + SetWindowLong(g_hWnd, GWL_STYLE, style & ~WS_OVERLAPPEDWINDOW); + + _int screenX = GetSystemMetrics(SM_CXSCREEN); + _int screenY = GetSystemMetrics(SM_CYSCREEN); + + SetWindowPos( + g_hWnd, + HWND_TOP, + 0, 0, + screenX, screenY, + SWP_NOOWNERZORDER | SWP_FRAMECHANGED + ); + + g_bFullscreen = true; + } + else + { + SetWindowLong(g_hWnd, GWL_STYLE, style | WS_OVERLAPPEDWINDOW); + + SetWindowPos( + g_hWnd, + HWND_NOTOPMOST, + g_rcWindowed.left, + g_rcWindowed.top, + g_rcWindowed.right - g_rcWindowed.left, + g_rcWindowed.bottom - g_rcWindowed.top, + SWP_NOOWNERZORDER | SWP_FRAMECHANGED + ); + + g_bFullscreen = false; + } +} diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj b/Jusin154_Team3D/Client/Default/Client.vcxproj index 97732e967..14e466596 100644 --- a/Jusin154_Team3D/Client/Default/Client.vcxproj +++ b/Jusin154_Team3D/Client/Default/Client.vcxproj @@ -180,6 +180,7 @@ call Update_Resources.bat + @@ -455,6 +456,7 @@ call Update_Resources.bat + diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters index 5f762b15f..138084022 100644 --- a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters +++ b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters @@ -841,6 +841,9 @@ 02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_Nomal_Hit + + 02.GameObjects\NPC\Ally\RandomNpc + @@ -1748,6 +1751,9 @@ {15ea8015-5b0a-4678-bf02-55b042ef4de4} + + + {88b62177-01fc-424d-a444-4fb5fd4b2db5} @@ -2537,6 +2543,9 @@ 02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_Nomal_Hit + + + 02.GameObjects\NPC\Ally\RandomNpc diff --git a/Jusin154_Team3D/Client/Private/Broom.cpp b/Jusin154_Team3D/Client/Private/Broom.cpp index d6369f97b..65a9953b5 100644 --- a/Jusin154_Team3D/Client/Private/Broom.cpp +++ b/Jusin154_Team3D/Client/Private/Broom.cpp @@ -81,8 +81,9 @@ void CBroom::Update(_float fTimeDelta) Update_CameraCoordinateSystem(); - if(!m_pParentUnit->IsAI()) - PlayerInput(); + if (!m_pParentUnit->IsAI()) { + PlayerInput(fTimeDelta); + } else { m_fAITime += fTimeDelta; @@ -133,8 +134,6 @@ void CBroom::Update(_float fTimeDelta) } - - } void CBroom::Late_Update(_float fTimeDelta) @@ -278,8 +277,10 @@ void CBroom::Update_CameraCoordinateSystem() } -void CBroom::PlayerInput() +void CBroom::PlayerInput(_float fTimeDelta) { + if (!m_bRide) + return; m_Input = {}; m_Input.Z = m_pGameInstance->Key_Pressing(DIK_W) ? 1.f : 0.f; @@ -295,7 +296,33 @@ void CBroom::PlayerInput() m_bHoverToggle = !m_bHoverToggle; } - m_Input.bTurbo = m_pGameInstance->Mouse_Pressing(DIM_LBUTTON); + if (m_pGameInstance->Mouse_Pressing(DIM_LBUTTON)) + { + if (m_fTurboBoost != 0.f) { + m_fTurboBoost -= fTimeDelta; + if (m_fTurboBoost <= 0.f) { + m_fTurboBoost = 0.f; + } + m_Input.bTurbo = true; + } + else { + m_Input.bTurbo = false; + } + m_fTurboBoostChargeDelay = 0.f; + } + else { + m_fTurboBoostChargeDelay += fTimeDelta; + if (m_fTurboBoostChargeDelay >= 1.f) + { + m_fTurboBoost += fTimeDelta; + if (m_fTurboBoost >= 5.f) + { + m_fTurboBoost = 5.f; + } + } + m_Input.bTurbo = false; + } + m_bTurbo = m_Input.bTurbo; } diff --git a/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp b/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp index c51f70450..f6c751d22 100644 --- a/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp +++ b/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp @@ -269,6 +269,8 @@ void CBroomRaceManager::Check_RingPassed() for (auto& racer : m_Racers) { + if (racer.curRing >= (_uint)m_pRaceRings.size()) + continue; CRaceRing* pRing = m_pRaceRings[racer.curRing]; _vector ringPos = pRing->Get_WorldPostion(); @@ -277,7 +279,6 @@ void CBroomRaceManager::Check_RingPassed() pRing->Get_Component()->Get_State(STATE::RIGHT); ringFwd = XMVector3Normalize(ringFwd); - _vector currPos = racer.pAI ? racer.pAI->Get_WorldPostion() : racer.pRacer->Get_WorldPostion(); _vector prevPos = XMLoadFloat4(&racer.prevPos); @@ -306,14 +307,24 @@ void CBroomRaceManager::Check_RingPassed() if (dist <= PASS_RADIUS) { - if (racer.pRacer) { - pRing->Set_Target(false); - } + racer.curRing++; - racer.curRing = (racer.curRing + 1) % m_pRaceRings.size(); + if (racer.curRing >= m_pRaceRings.size()) + { + racer.curRing = (_uint)m_pRaceRings.size(); - if (racer.pRacer) { - m_pRaceRings[racer.curRing]->Set_Target(true); + if (racer.pAI) { + racer.pAI->Get_Broom()->Set_Hover(true); + racer.pAI->Get_Broom()->Set_Move(false); + } + else if (racer.pRacer) { + m_iLastRing++; + racer.pRacer->Get_Broom()->Set_Hover(true); + racer.pRacer->Get_Broom()->Set_Move(false); + } + + XMStoreFloat4(&racer.prevPos, currPos); + continue; } racer.pAI ? SetTargetRing(racer.pAI) : SetTargetRing(racer.pRacer); @@ -328,7 +339,6 @@ void CBroomRaceManager::Finish() { } - void CBroomRaceManager::SetTargetRing(CGameObject* pRacer) { for (auto& racer : m_Racers) @@ -337,11 +347,6 @@ void CBroomRaceManager::SetTargetRing(CGameObject* pRacer) { if (racer.pAI == pRacer) { - if (racer.curRing == m_pRaceRings.size() - 1 ) { - racer.pAI->Get_Broom()->Set_Hover(true); - racer.pAI->Get_Broom()->Set_Move(false); - } - if (racer.pAI) { racer.pAI->Set_RaceRing(m_pRaceRings[racer.curRing]); @@ -352,16 +357,12 @@ void CBroomRaceManager::SetTargetRing(CGameObject* pRacer) { if (racer.pRacer == pRacer) { - if (racer.curRing == m_pRaceRings.size() - 1) { - racer.pRacer->Get_Broom()->Set_Hover(true); - racer.pRacer->Get_Broom()->Set_Move(false); - } racer.pRacer->Set_RaceRing(m_pRaceRings[racer.curRing]); m_pInfoInstance->Event_CallBack(TEXT("CurrentRing")); m_iLastRing++; + } } - } } @@ -431,6 +432,7 @@ HRESULT CBroomRaceManager::Load_RaceRing() return E_FAIL; } + return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/BroomRacerAI.cpp b/Jusin154_Team3D/Client/Private/BroomRacerAI.cpp index b6f4f0a56..487b014a3 100644 --- a/Jusin154_Team3D/Client/Private/BroomRacerAI.cpp +++ b/Jusin154_Team3D/Client/Private/BroomRacerAI.cpp @@ -269,7 +269,7 @@ HRESULT CBroomRacerAI::Ready_Components() m_strModelPrototypeTag = TEXT("Prototype_Component_Npc_Model"); break; case 2: - m_strModelPrototypeTag = TEXT("Prototype_Component_Ghost_Peeves_Model"); + m_strModelPrototypeTag = TEXT("Prototype_Component_ChiyoKogawa_Model"); break; default: break; diff --git a/Jusin154_Team3D/Client/Private/Camera_Model.cpp b/Jusin154_Team3D/Client/Private/Camera_Model.cpp index 75023281f..8c75ab782 100644 --- a/Jusin154_Team3D/Client/Private/Camera_Model.cpp +++ b/Jusin154_Team3D/Client/Private/Camera_Model.cpp @@ -17,6 +17,16 @@ CCamera_Model::CCamera_Model(const CCamera_Model& rhs) void CCamera_Model::Priority_Update(_float fTimeDelta) { + m_pTransformCom->RewindMomentum(); + _float3 vCamPos = {}; + _float3 vCamMomentum = {}; + XMStoreFloat3(&vCamPos, m_pTransformCom->Get_State(STATE::POSITION)); + XMStoreFloat3(&vCamMomentum, m_pTransformCom->Get_CurrentMomentum()); +#ifdef _DEBUG + GUI::Text("Cam_Model Coord %.2f, %.2f, %.2f", vCamPos.x, vCamPos.y, vCamPos.z); + GUI::Text("v %.2f, %.2f, %.2f", vCamPos.x, vCamPos.y, vCamPos.z); +#endif // _DEBUG + m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom); #ifdef _DEBUG m_pGameInstance->Bind_Camera(NEXT_LEVEL, CAMERA_MODEL, false); #endif // _DEBUG @@ -24,13 +34,7 @@ void CCamera_Model::Priority_Update(_float fTimeDelta) if (FAILED(m_pGameInstance->IsBinded_Camera(CAMERA_MODEL))) { return; } - m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom); - _float3 vCamPos = {}; - XMStoreFloat3(&vCamPos, m_pTransformCom->Get_State(STATE::POSITION)); -#ifdef _DEBUG - GUI::Text("Cam_Model Coord %.2f, %.2f, %.2f", vCamPos.x, vCamPos.y, vCamPos.z); -#endif // _DEBUG __super::Bind_Matrices(); } @@ -39,12 +43,15 @@ void CCamera_Model::Update(_float fTimeDelta) { #ifdef _DEBUG Describe_Entity(); + _matrix matBoneSKT = m_pModelCom->Get_BoneMatrix(m_pModelCom->Get_BoneIndex("ctrl_1")); + m_pTransformCom->Set_WorldMatrix(matBoneSKT); + #endif // _DEBUG } void CCamera_Model::Late_Update(_float fTimeDelta) { - m_pGameInstance->Add_RenderGroup(RENDER::NONLIGHT, this); + m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this); } HRESULT CCamera_Model::Render() @@ -61,24 +68,10 @@ HRESULT CCamera_Model::Render() return E_FAIL; } - if (FAILED(m_pShaderCom->Bind_Matrices( - "g_OffsetMatrix", - m_pModelCom->Get_OffsetMatrix(i).data(), - (_int)m_pModelCom->Get_OffsetMatrix(i).size() - ))) - { - return E_FAIL; - } - - if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_MESH::DEFAULT)))) { return E_FAIL; } - m_pModelCom->Bind_OutPut_SRV_VS(31, 0); - m_pModelCom->Bind_OutPut_SRV_VS_Prev(32, 0); - - if (FAILED(m_pModelCom->Render(i))) { return E_FAIL; } @@ -103,6 +96,7 @@ HRESULT CCamera_Model::Initialize(void* pArg) if (FAILED(Ready_Components(pArg))) { return E_FAIL; } + m_pModelCom->Set_DisableRootMotionScale(true); m_matInitial = *m_pTransformCom->Get_WorldMatrixPtr(); m_bActive = true; @@ -190,6 +184,8 @@ void CCamera_Model::Describe_Entity() { _float3 vPosition = {}; GUI::Begin("CameraAnim List"); + //GUI::Text("%f", m_pModelCom->Get_CurrentTrackProgressRatio()); + for (_int i = 0; i < m_pModelCom->Get_AnimSize(); i++) { if (GUI::Button(m_pModelCom->Get_AnimList(i))) diff --git a/Jusin154_Team3D/Client/Private/Effect_Container.cpp b/Jusin154_Team3D/Client/Private/Effect_Container.cpp index 7fdaf54e6..7e4ff00e1 100644 --- a/Jusin154_Team3D/Client/Private/Effect_Container.cpp +++ b/Jusin154_Team3D/Client/Private/Effect_Container.cpp @@ -665,6 +665,7 @@ _int CEffect_Container::CollisionCheck() case PXOBJECT::MONSTER: case PXOBJECT::GOBLIN_WARRIOR: case PXOBJECT::GOBLIN_MAGICIAN: + case PXOBJECT::GOBLIN_ASSASSIN: case PXOBJECT::TROLL: case PXOBJECT::RANROK: case PXOBJECT::WALL: diff --git a/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp b/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp index 2838f4cee..b35ee6116 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp @@ -92,6 +92,14 @@ void CGoblin_Assassin::Update(_float fTimeDelta) m_pFSM->Update_State(fTimeDelta); + m_vCaptureTimer.x += fTimeDelta; + if (m_vCaptureTimer.y < m_vCaptureTimer.x) { + m_vCaptureTimer.x = 0.f; + if (FAILED(m_pModelCom->Capture_BoneBuffer(m_pMotionTrailCom, *m_pTransformCom->Get_WorldMatrixPtr()))) { + assert(false); + } + } + m_pModelCom->Play_Animation(fTimeDelta * m_fEasing, m_pTransformCom); __super::Update(fTimeDelta); @@ -208,19 +216,6 @@ HRESULT CGoblin_Assassin::Render() Render_OutLine(); } -#ifdef _DEBUG - //if (true == m_pCharacter_Controller->IsActive()) { - // if (FAILED(m_pCharacter_Controller->Render())) { - // return E_FAIL; - // } - //} - //else { - // if (FAILED(m_pRigidBody->Render())) { - // return E_FAIL; - // } - //} -#endif - if (0.f < m_fDeadRatio) { _bool bDisolve = false; if (FAILED(m_pShaderCom->Bind_RawValue("g_bDisolve", &bDisolve, sizeof(_bool)))) { @@ -235,6 +230,10 @@ HRESULT CGoblin_Assassin::Render() m_pShaderCom->Bind_RawValue("g_fDisolveRatio", &zero, sizeof(_float)); } + if (FAILED(m_pMotionTrailCom->Render(m_pShaderCom))) { + return E_FAIL; + } + return S_OK; } @@ -327,7 +326,7 @@ HRESULT CGoblin_Assassin::Render_Shadow(SHADOW eType) return E_FAIL; } - if (FAILED(m_pModelCom->Begin(i, m_pShaderCom))) { + if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_NPC_PBR_ANIM::SHADOW)))) { return E_FAIL; } @@ -341,6 +340,30 @@ HRESULT CGoblin_Assassin::Render_Shadow(SHADOW eType) return S_OK; } +HRESULT CGoblin_Assassin::Render_MotionTrail(ID3D11ShaderResourceView* pSRV) +{ + _uint iNumMeshes = m_pModelCom->Get_NumMeshes(); + for (_uint i = 0; i < iNumMeshes; i++) { + if (FAILED(m_pShaderCom->Bind_Matrices("g_OffsetMatrix", m_pModelCom->Get_OffsetMatrix(i).data(), + (_int)m_pModelCom->Get_OffsetMatrix(i).size()))) { + return E_FAIL; + } + if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom))) { + return E_FAIL; + } + if (FAILED(m_pModelCom->Begin(i, m_pShaderCom))) { + return E_FAIL; + } + + m_pContext->VSSetShaderResources(26, 1, &pSRV); + + if (FAILED(m_pModelCom->Render(i))) { + return E_FAIL; + } + } + return S_OK; +} + _vector CGoblin_Assassin::Get_LockOnPos() { if (nullptr != m_pCharacter_Controller && true == m_pCharacter_Controller->IsActive()) { @@ -507,6 +530,16 @@ HRESULT CGoblin_Assassin::Ready_Components() if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("STAT_GOBLIN_ASSASSIN"), (CComponent**)&m_pStat))) { return E_FAIL; } + + + { + CMotion_Trail::MOTIONTRAIL_RENDERFUNC funcDesc{}; + funcDesc.funcRenderCall = [this](ID3D11ShaderResourceView* pSRV) { Render_MotionTrail(pSRV); }; + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_Goblin_Assassin_MotionTrail"), (CComponent**)&m_pMotionTrailCom, &funcDesc))) { + return E_FAIL; + } + } + return S_OK; } @@ -653,7 +686,7 @@ void CGoblin_Assassin::Free() if (nullptr != m_pCallBack_HitReport) { m_pCallBack_HitReport->Finalize(); } - + SAFE_RELEASE(m_pMotionTrailCom); SAFE_RELEASE(m_pCharacter_Controller); SAFE_RELEASE(m_pRigidBody); SAFE_RELEASE(m_pSmoke); diff --git a/Jusin154_Team3D/Client/Private/Goblin_States.cpp b/Jusin154_Team3D/Client/Private/Goblin_States.cpp index 217c75f62..9d54baa58 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_States.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_States.cpp @@ -128,7 +128,7 @@ HRESULT CGoblin::Behavior_MoveExitCheck(_float fTimeDelta) pair<_uint, _bool> pairAnimInfo = {}; _uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex(); - if (m_fTargetDistance >= 7.f) + if (m_fTargetDistance >= 6.f) { pairAnimInfo = m_Animation[STATEANIM::JOG_FWD]; m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); @@ -178,6 +178,8 @@ HRESULT CGoblin::Behavior_MoveExitCheck(_float fTimeDelta) for (_uint i = 0; i < ENUM_CLASS(GOBLIN_SKILL::END); i++) { + if (i == ENUM_CLASS(GOBLIN_SKILL::THROW)) + continue; if (m_fSkillCoolTime[i] == 0.f) { m_pFSM->Change_State(FSMSTATE::COMBAT); diff --git a/Jusin154_Team3D/Client/Private/InstancedProp.cpp b/Jusin154_Team3D/Client/Private/InstancedProp.cpp index aaab466ab..0a89ecc4f 100644 --- a/Jusin154_Team3D/Client/Private/InstancedProp.cpp +++ b/Jusin154_Team3D/Client/Private/InstancedProp.cpp @@ -89,9 +89,6 @@ HRESULT CInstancedProp::Initialize(void* pArg) if (FAILED(Ready_Components(pArg))) return E_FAIL; - - m_iNumMesh = m_pVIBufferInstanceCom->Get_NumMesh(); - return S_OK; } @@ -107,8 +104,16 @@ HRESULT CInstancedProp::Ready_Components(void* pArg) reinterpret_cast(&m_pVIBufferInstanceCom)))) return E_FAIL; + m_iNumMesh = m_pVIBufferInstanceCom->Get_NumMesh(); + + if(pDesc->bEnableRigidbody) + { + if (FAILED(ReadyForPhysX())) + return E_FAIL; + } + /* Laod Instance Data */ - if(FAILED(Load_InstancedProp(pDesc->strInstanceDataPath.c_str()))) + if(FAILED(Load_InstancedProp(pDesc->strInstanceDataPath.c_str(), pDesc))) return E_FAIL; m_isShake = pDesc->isShake; @@ -143,7 +148,16 @@ HRESULT CInstancedProp::Bind_ShaderResources() return S_OK; } -HRESULT CInstancedProp::Load_InstancedProp(const _char* pFilePath) +HRESULT CInstancedProp::ReadyForPhysX() +{ + if (FAILED(m_pVIBufferInstanceCom->Ready_PhysXMeshes(NEXT_LEVEL))) { + return E_FAIL; + } + + return S_OK; +} + +HRESULT CInstancedProp::Load_InstancedProp(const _char* pFilePath, INSTANCE_PROP_DESC* pDesc) { ifstream FileIn(pFilePath, ios::binary); @@ -155,19 +169,52 @@ HRESULT CInstancedProp::Load_InstancedProp(const _char* pFilePath) vector<_float4x4> WorldMatrices = {}; - _uint iNumWorldMatrix = 0; + m_iNumInstacne = 0; - FileIn.read(reinterpret_cast(&iNumWorldMatrix), sizeof(_uint)); - WorldMatrices.reserve(iNumWorldMatrix); + FileIn.read(reinterpret_cast(&m_iNumInstacne), sizeof(_uint)); + WorldMatrices.reserve(m_iNumInstacne); + m_RigidBody.reserve(m_iNumInstacne); _float4x4 WorldMatrix = {}; - for (_uint i = 0; i < iNumWorldMatrix; ++i) +#pragma region FOR RIGIDBODY + CRigidBody_Static::RIGIDBODY_STATIC_DESC Desc{}; + + Desc.iSubKind = ENUM_CLASS(PXOBJECT::TERRAIN); + + vector<_wstring> RigidBodyTags; + + + for (_uint i = 0; i < m_iNumMesh; ++i) + { + RigidBodyTags.push_back(CMyTools::ToWstring(m_pVIBufferInstanceCom->Get_MeshName(i)) + to_wstring(i)); + } +#pragma endregion + + for (_uint i = 0; i < m_iNumInstacne; ++i) { FileIn.read(reinterpret_cast(&WorldMatrix), sizeof(_float4x4)); WorldMatrices.push_back(WorldMatrix); + + if(pDesc->bEnableRigidbody) + { + for (_uint i = 0; i < m_iNumMesh; ++i) + { + CRigidBody_Static* pRigidBody = { nullptr }; + CRigidBody_Static::RIGIDBODY_STATIC_DESC Desc = {}; + Desc.pMeshName = RigidBodyTags[i].c_str(); + Desc.pWorldMatrix = &WorldMatrix; + if (FAILED(__super::Add_Asset_Component(NEXT_LEVEL, RigidBodyTags[i], (CComponent**)&pRigidBody, &Desc))) { + return E_FAIL; + } + + m_RigidBody.push_back(pRigidBody); + } + + } } + FileIn.close(); if (FAILED(m_pVIBufferInstanceCom->Load_WorldData(WorldMatrices))) @@ -209,6 +256,11 @@ void CInstancedProp::Free() { __super::Free(); + for (auto& pRigidBody : m_RigidBody) + { + SAFE_RELEASE(pRigidBody); + } + SAFE_RELEASE(m_pShaderCom); SAFE_RELEASE(m_pVIBufferInstanceCom); } diff --git a/Jusin154_Team3D/Client/Private/InstancedProp_Light.cpp b/Jusin154_Team3D/Client/Private/InstancedProp_Light.cpp index cbac1c878..646f8e4b9 100644 --- a/Jusin154_Team3D/Client/Private/InstancedProp_Light.cpp +++ b/Jusin154_Team3D/Client/Private/InstancedProp_Light.cpp @@ -111,16 +111,22 @@ HRESULT CInstancedProp_Light::Initialize(void* pArg) if (FAILED(__super::Initialize(pArg))) return E_FAIL; + m_bEnableRigidbody = pDesc->bEnableRigidbody; m_iGlassMeshIndex = pDesc->iGlassMeshIndex; if (FAILED(Ready_Components(pArg))) return E_FAIL; - - Load_InstancedProp(pDesc->strInstanceDataPath.c_str()); - m_iNumMesh = m_pVIBufferInstanceCom->Get_NumMesh(); + if(m_bEnableRigidbody) + { + if (FAILED(ReadyForPhysX())) + return E_FAIL; + } + + if (FAILED(Load_InstancedProp(pDesc->strInstanceDataPath.c_str()))) + return E_FAIL; return S_OK; } @@ -133,7 +139,7 @@ HRESULT CInstancedProp_Light::Ready_Components(void* pArg) INSTANCE_PROP_LIGHT_DESC* pDesc = static_cast(pArg); /* Com_VIBuffer_Instance_Model */ - if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, pDesc->strPrototypeTag, + if (FAILED(__super::Add_Asset_Component(NEXT_LEVEL, pDesc->strPrototypeTag, reinterpret_cast(&m_pVIBufferInstanceCom)))) return E_FAIL; @@ -180,6 +186,15 @@ HRESULT CInstancedProp_Light::Bind_ShaderResources() return S_OK; } +HRESULT CInstancedProp_Light::ReadyForPhysX() +{ + if (FAILED(m_pVIBufferInstanceCom->Ready_PhysXMeshes(NEXT_LEVEL))) { + return E_FAIL; + } + + return S_OK; +} + HRESULT CInstancedProp_Light::Load_InstancedProp(const _char* pFilePath) { ifstream FileIn(pFilePath, ios::binary); @@ -192,18 +207,47 @@ HRESULT CInstancedProp_Light::Load_InstancedProp(const _char* pFilePath) vector<_float4x4> WorldMatrices = {}; - _uint iNumWorldMatrix = 0; +#pragma region FOR RIGIDBODY + CRigidBody_Static::RIGIDBODY_STATIC_DESC Desc{}; - FileIn.read(reinterpret_cast(&iNumWorldMatrix), sizeof(_uint)); - WorldMatrices.reserve(iNumWorldMatrix); + Desc.iSubKind = ENUM_CLASS(PXOBJECT::TERRAIN); + + vector<_wstring> RigidBodyTags; + + + for (_uint i = 0; i < m_iNumMesh; ++i) + { + RigidBodyTags.push_back(CMyTools::ToWstring(m_pVIBufferInstanceCom->Get_MeshName(i)) + to_wstring(i)); + } +#pragma endregion + + FileIn.read(reinterpret_cast(&m_iNumInstacne), sizeof(_uint)); + WorldMatrices.reserve(m_iNumInstacne); _float4x4 WorldMatrix = {}; - for (_uint i = 0; i < iNumWorldMatrix; ++i) + for (_uint i = 0; i < m_iNumInstacne; ++i) { FileIn.read(reinterpret_cast(&WorldMatrix), sizeof(_float4x4)); WorldMatrices.push_back(WorldMatrix); + + if (m_bEnableRigidbody) + { + for (_uint i = 0; i < m_iNumMesh; ++i) + { + CRigidBody_Static* pRigidBody = { nullptr }; + CRigidBody_Static::RIGIDBODY_STATIC_DESC Desc = {}; + Desc.pMeshName = RigidBodyTags[i].c_str(); + Desc.pWorldMatrix = &WorldMatrix; + if (FAILED(__super::Add_Asset_Component(NEXT_LEVEL, RigidBodyTags[i], (CComponent**)&pRigidBody, &Desc))) { + return E_FAIL; + } + + m_RigidBody.push_back(pRigidBody); + } + + } } FileIn.close(); @@ -246,6 +290,11 @@ void CInstancedProp_Light::Free() { __super::Free(); + for (auto& pRigidBody : m_RigidBody) + { + SAFE_RELEASE(pRigidBody); + } + SAFE_RELEASE(m_pShaderCom); SAFE_RELEASE(m_pVIBufferInstanceCom); SAFE_RELEASE(m_pGlassTextureCom); diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp index 77e67fe80..7a4f46c04 100644 --- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp +++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp @@ -32,6 +32,7 @@ #include "NPC_EleazarFig.h" #include "BroomRacerAI.h" #include "Ranrok.h" +#include "RandomNpc.h" #pragma endregion @@ -328,9 +329,9 @@ HRESULT CLevel_GamePlay::Ready_Background() isReady_Hogwart = true; #endif // gimch #ifdef Bin - isReady_Background = true; - isReady_Hogsmeade = true; - isReady_Hogwart = true; + isReady_Background = false; + isReady_Hogsmeade = false; + isReady_Hogwart = false; #endif // #ifdef 진우 isReady_Background = false; @@ -451,7 +452,8 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp() /* InstanceProp Oak_Tree*/ Desc.isShake = true; - Desc.vRadius = _float2(0.015f, 0.04f); + Desc.bEnableRigidbody = true; + Desc.vRadius = _float2(0.015f, 0.02f); Desc.vSpeed = _float2(0.3f, 1.f); Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_OakTree_MedA"; Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/OakTree_MedA.bin"; @@ -461,6 +463,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp() /* BearBerry */ Desc.isShake = true; + Desc.bEnableRigidbody = false; Desc.vRadius = _float2(0.015f, 0.02f); Desc.vSpeed = _float2(0.6f, 1.f); Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_BearBerry_A"; @@ -471,6 +474,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp() /* SM_HM_OwlPost_Window_A */ Desc.isShake = false; + Desc.bEnableRigidbody = false; Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_HM_OwlPost_Window_A"; Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/OwlPost_Window.bin"; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGSMEADE, &Desc))) @@ -478,6 +482,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp() ///* WA_Rectangle_Double_A */ Desc.isShake = false; + Desc.bEnableRigidbody = false; Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WA_Rectangle_Double_A"; Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Rectangle_Double_A.bin"; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGSMEADE, &Desc))) @@ -485,6 +490,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp() ///* WC_Retangle_Double_A */ Desc.isShake = false; + Desc.bEnableRigidbody = false; Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WC_Retangle_Double_A"; Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WC_Retangle_Double_A.bin"; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGSMEADE, &Desc))) @@ -492,6 +498,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp() ///* WA_Square_Double_C */ Desc.isShake = false; + Desc.bEnableRigidbody = false; Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WA_Square_Double_C"; Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WA_Square_Double_C.bin"; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGSMEADE, &Desc))) @@ -499,6 +506,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp() /* Quid_Window_A */ Desc.isShake = false; + Desc.bEnableRigidbody = false; Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_Quid_Window_A"; Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Quid_Window_A.bin"; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGSMEADE, &Desc))) @@ -506,6 +514,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp() /* Ollivanders_Box_Window */ Desc.isShake = false; + Desc.bEnableRigidbody = false; Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_Ollivanders_Box_Window"; Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Ollivanders_Box.bin"; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGSMEADE, &Desc))) @@ -513,6 +522,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp() /* WC_L_DoubleS_A */ Desc.isShake = false; + Desc.bEnableRigidbody = false; Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WC_L_DoubleS_A"; Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WC_L_DoubleS_A.bin"; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGSMEADE, &Desc))) @@ -520,6 +530,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp() /* WC_Round_Double_A */ Desc.isShake = false; + Desc.bEnableRigidbody = false; Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WC_Round_Double_A"; Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WC_Round_Double_A.bin"; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGSMEADE, &Desc))) @@ -527,6 +538,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp() /* SM_HM_Door1a */ Desc.isShake = false; + Desc.bEnableRigidbody = true; Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door1a"; Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Door1a.bin"; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGSMEADE, &Desc))) @@ -534,6 +546,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp() /* SM_HM_Door2b */ Desc.isShake = false; + Desc.bEnableRigidbody = true; Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door2b"; Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Door2b.bin"; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGSMEADE, &Desc))) @@ -541,6 +554,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp() /* OakTree_TallA */ Desc.isShake = false; + Desc.bEnableRigidbody = true; Desc.vRadius = _float2(0.015f, 0.016f); Desc.vSpeed = _float2(0.01f, 0.1f); Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_OakTree_TallA"; @@ -550,6 +564,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp() /* Shrub_B */ Desc.isShake = true; + Desc.bEnableRigidbody = false; Desc.vRadius = _float2(0.015f, 0.04f); Desc.vSpeed = _float2(0.3f, 1.f); Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_Shrub_B"; @@ -559,6 +574,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp() /* BogMyrtle_A */ Desc.isShake = true; + Desc.bEnableRigidbody = false; Desc.vRadius = _float2(0.015f, 0.04f); Desc.vSpeed = _float2(0.3f, 1.f); Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_BogMyrtle_A"; @@ -568,6 +584,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp() /* Dogwood_B */ Desc.isShake = true; + Desc.bEnableRigidbody = true; Desc.vRadius = _float2(0.015f, 0.02f); Desc.vSpeed = _float2(0.3f, 1.f); Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_Dogwood_B"; @@ -577,6 +594,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp() /* ScotsPine_LargeA */ Desc.isShake = false; + Desc.bEnableRigidbody = true; Desc.vRadius = _float2(0.015f, 0.02f); Desc.vSpeed = _float2(0.3f, 1.f); Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_ScotsPine_LargeA"; @@ -589,6 +607,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp() /* LightPost */ LightDesc.isShake = false; + LightDesc.bEnableRigidbody = true; LightDesc.iGlassMeshIndex = 0; LightDesc.vRadius = _float2(0.f, 0.f); LightDesc.vSpeed = _float2(0.f, 0.f); @@ -599,6 +618,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp() /* LightPost_Floating */ LightDesc.isShake = false; + LightDesc.bEnableRigidbody = true; LightDesc.iGlassMeshIndex = 1; LightDesc.vRadius = _float2(0.f, 0.f); LightDesc.vSpeed = _float2(0.f, 0.f); @@ -697,21 +717,24 @@ HRESULT CLevel_GamePlay::Ready_Layer_Player(const _wstring& strLayerTag) } _bool isLoad_NPC = { true }; + _bool isLoad_RandomNPC = { true }; #ifdef _DEBUG #ifdef gimch - + isLoad_RandomNPC = true; #endif // gimch #ifdef 진우 - + isLoad_RandomNPC = true; #endif // #ifdef 기무리 isLoad_NPC = true; + isLoad_RandomNPC = true; #endif // #ifdef 나 - + isLoad_RandomNPC = true; #endif // #ifdef Bin isLoad_NPC = true; + isLoad_RandomNPC = true; #endif // Bin #endif // _DEBUG @@ -734,6 +757,25 @@ HRESULT CLevel_GamePlay::Ready_Layer_Player(const _wstring& strLayerTag) } } } + + if (true == isLoad_NPC) + { + for (_uint i = 0; i < 7; i++) + { + { + CRandomNpc::NPCDESC NPCDesc{}; + _float X = m_pGameInstance->Real_Random_Float(22.f, 29.f); + _float Z = m_pGameInstance->Real_Random_Float(20.f, 29.f); + NPCDesc.vPos = _float4(X, -0.4f, Z, 1.f); + NPCDesc.vRotQ = _float4(0.f, 0.f, 0.f, 1.f); + NPCDesc.iIndex = i; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &NPCDesc))) { + return E_FAIL; + } + } + } + } + return S_OK; } @@ -780,7 +822,7 @@ HRESULT CLevel_GamePlay::Ready_Layer_Monster() #endif // #ifdef Bin - + isLoad_Monster = true; #endif // Bin #endif // _DEBUG if (true == isLoad_Monster) { diff --git a/Jusin154_Team3D/Client/Private/Light_Main.cpp b/Jusin154_Team3D/Client/Private/Light_Main.cpp index 82c6a5ca2..235ee5384 100644 --- a/Jusin154_Team3D/Client/Private/Light_Main.cpp +++ b/Jusin154_Team3D/Client/Private/Light_Main.cpp @@ -68,7 +68,7 @@ HRESULT CLight_Main::Capture_PreShadow() vector<_float3> vNeededPos = {}; vNeededPos.reserve(12); { - // 외곽이 더 많아지면 많아질수록 더 정밀한 경계가 가능 + // 외곽이 더 많아지면 많아질수록 더 정밀한 경계가 가능함 // 하지만 더 실제보다 멀리 외곽을 두르면 필요한 것보다 더 많이 찍게 됨 // 결국 딱 맞춰서 찍는게 제일 중요함 vNeededPos.emplace_back(_float3(-112.f, 155.f, 362.f)); @@ -97,7 +97,13 @@ HRESULT CLight_Main::Capture_PreShadow() HRESULT CLight_Main::Ready_Components(void* pArg) { __super::Ready_Components(nullptr); - m_pTransformCom->Rotation(60.f, 0.f, 0.f); + + _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); LIGHT_DESC* pLightDescArg = static_cast(pArg); diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp index 3479a9cbe..30a8a39e3 100644 --- a/Jusin154_Team3D/Client/Private/Loader.cpp +++ b/Jusin154_Team3D/Client/Private/Loader.cpp @@ -41,6 +41,7 @@ #include "NPC_EleazarFig.h" #include "BroomRacerAI.h" #include "Ranrok.h" +#include "RandomNpc.h" #ifdef _DEBUG #include "Camera_Model.h" @@ -414,9 +415,9 @@ HRESULT CLoader::Loading_For_GamePlay() isLoad_UI_SEQUANTIAL = false; #endif // #ifdef Bin - isLoad_Background = true; - isLoad_Hogwart = true; - isLoad_UI_SEQUANTIAL = true; + isLoad_Background = false; + isLoad_Hogwart = false; + isLoad_UI_SEQUANTIAL = false; #endif // Bin #endif // _DEBUG @@ -1938,6 +1939,23 @@ HRESULT CLoader::Loading_For_GamePlay() Desc1.vLocalTranslation = { 0.f, 0.f, 0.f }; } + CRigidBody_Dynamic::RIGIDBODY_PROTOTYPE_DYNAMIC_DESC RanrokDesc{}; + { + RanrokDesc.eType = ACTOR::BOX; + RanrokDesc.ePxRigidBodyFlags = { /*PSX::PxRigidBodyFlag::eKINEMATIC*/ }; + RanrokDesc.ePxShapeFlags = { PSX::PxShapeFlag::eVISUALIZATION | PSX::PxShapeFlag::eSCENE_QUERY_SHAPE | PSX::PxShapeFlag::eSIMULATION_SHAPE }; + RanrokDesc.ePxMaterialTypes = { PXMATERIAL::DEFAULT }; + RanrokDesc.vMatInfo = { 0.5f, 0.5f, 0.6f }; + RanrokDesc.fContactOffset = { 0.05f }; + RanrokDesc.vhalfGeometryInfo = { 0.5f, 0.5f, 0.5f }; + RanrokDesc.fDensity = 1.f; + RanrokDesc.pxMassCenter = PSX::PxTransform(PSX::PxIDENTITY()); + RanrokDesc.eLockFlag = {}; + RanrokDesc.vAutoDamping = { 1.f, 1.f }; + RanrokDesc.vLocalRotQ = { 0.f, 0.f, 0.f, 1.f }; + RanrokDesc.vLocalTranslation = { 0.f, 5.f, 0.f }; + } + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_HEAVY_WALL"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, Desc)))) { return E_FAIL; } @@ -1947,7 +1965,9 @@ HRESULT CLoader::Loading_For_GamePlay() if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_SHIELD"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, Desc1)))) { return E_FAIL; } - + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_RANROK"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, RanrokDesc)))) { + return E_FAIL; + } Desc.ePxRigidBodyFlags = { PSX::PxRigidBodyFlag::eKINEMATIC }; if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_BOX_KIN"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, Desc)))) { return E_FAIL; @@ -2010,8 +2030,43 @@ HRESULT CLoader::Loading_For_GamePlay() return E_FAIL; } + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_ChiyoKogawa_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_MatildaWeasely_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_SatyavatiShah_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { + return E_FAIL; + } + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Ghost_Peeves_Model"), - CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.bin", XMMatrixScaling(0.1f, 0.1f, 0.1f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_PhineasBlack_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_M_Student_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/M_Student/M_Student.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_F_Student_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/F_Student/F_Student.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Elf_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Elf/Elf.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { return E_FAIL; } } @@ -2070,7 +2125,7 @@ HRESULT CLoader::Loading_For_GamePlay() } if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Camera_Model"), - CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Camera/Camera.bin", XMMatrixIdentity())))) { + CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Object/Camera/Camera.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationX(XMConvertToRadians(-90.f)) * XMMatrixIdentity())))) { return E_FAIL; } } @@ -2872,12 +2927,21 @@ HRESULT CLoader::Loading_For_GamePlay() } #pragma region MAP_INSTANCE + + _string strMaterailPath = "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml"; + /* For.Prototype_Component_VIBuffer_Model_Instancel_SM_OakTree_MedA */ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(NEXT_LEVEL, TEXT("Prototype_Component_VIBuffer_Model_Instancel_SM_OakTree_MedA"), - CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, - "../Bin/Resources/Models/InstanceProp/SM_OakTree_MedA.bin", - "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) - return E_FAIL; + { + CVIBuffer_Model_Instance* pModel_Instance = CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, + "../Bin/Resources/Models/InstanceProp/SM_OakTree_MedA.bin", strMaterailPath.c_str()); + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(NEXT_LEVEL, TEXT("Prototype_Component_VIBuffer_Model_Instancel_SM_OakTree_MedA"), + pModel_Instance))) + return E_FAIL; + + if (FAILED(Ready_RigidBody_Static(pModel_Instance))) + return E_FAIL; + } /* For.Prototype_Component_VIBuffer_Model_Instancel_SM_BearBerry_A */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(NEXT_LEVEL, TEXT("Prototype_Component_VIBuffer_Model_Instancel_SM_BearBerry_A"), @@ -2935,22 +2999,43 @@ HRESULT CLoader::Loading_For_GamePlay() return E_FAIL; /* For.Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door1a*/ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(NEXT_LEVEL, TEXT("Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door1a"), - CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, - "../Bin/Resources/Models/InstanceProp/SM_HM_Door1a.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) - return E_FAIL; + { + CVIBuffer_Model_Instance* pModel_Instance = CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, + "../Bin/Resources/Models/InstanceProp/SM_HM_Door1a.bin", strMaterailPath.c_str()); + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(NEXT_LEVEL, TEXT("Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door1a"), + pModel_Instance))) + return E_FAIL; + + if (FAILED(Ready_RigidBody_Static(pModel_Instance))) + return E_FAIL; + } /* For.Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door2b*/ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(NEXT_LEVEL, TEXT("Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door2b"), - CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, - "../Bin/Resources/Models/InstanceProp/SM_HM_Door2b.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) - return E_FAIL; + { + CVIBuffer_Model_Instance* pModel_Instance = CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, + "../Bin/Resources/Models/InstanceProp/SM_HM_Door2b.bin", strMaterailPath.c_str()); + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(NEXT_LEVEL, TEXT("Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door2b"), + pModel_Instance))) + return E_FAIL; + + if (FAILED(Ready_RigidBody_Static(pModel_Instance))) + return E_FAIL; + } /* For.Prototype_Component_VIBuffer_Model_Instancel_OakTree_TallA*/ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(NEXT_LEVEL, TEXT("Prototype_Component_VIBuffer_Model_Instancel_OakTree_TallA"), - CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, - "../Bin/Resources/Models/InstanceProp/SM_OakTree_TallA.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) - return E_FAIL; + { + CVIBuffer_Model_Instance* pModel_Instance = CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, + "../Bin/Resources/Models/InstanceProp/SM_OakTree_TallA.bin", strMaterailPath.c_str()); + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(NEXT_LEVEL, TEXT("Prototype_Component_VIBuffer_Model_Instancel_OakTree_TallA"), + pModel_Instance))) + return E_FAIL; + + if (FAILED(Ready_RigidBody_Static(pModel_Instance))) + return E_FAIL; + } /* For.Prototype_Component_VIBuffer_Model_Instancel_Shrub_B*/ if (FAILED(m_pGameInstance->Add_Asset_Prototype(NEXT_LEVEL, TEXT("Prototype_Component_VIBuffer_Model_Instancel_Shrub_B"), @@ -2965,28 +3050,56 @@ HRESULT CLoader::Loading_For_GamePlay() return E_FAIL; /* For.Prototype_Component_VIBuffer_Model_Instancel_Dogwood_B*/ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(NEXT_LEVEL, TEXT("Prototype_Component_VIBuffer_Model_Instancel_Dogwood_B"), - CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, - "../Bin/Resources/Models/InstanceProp/SM_Dogwood_B.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) - return E_FAIL; + { + CVIBuffer_Model_Instance* pModel_Instance = CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, + "../Bin/Resources/Models/InstanceProp/SM_Dogwood_B.bin", strMaterailPath.c_str()); + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(NEXT_LEVEL, TEXT("Prototype_Component_VIBuffer_Model_Instancel_Dogwood_B"), + pModel_Instance))) + return E_FAIL; + + if (FAILED(Ready_RigidBody_Static(pModel_Instance))) + return E_FAIL; + } /* For.Prototype_Component_VIBuffer_Model_Instancel_ScotsPine_LargeA*/ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(NEXT_LEVEL, TEXT("Prototype_Component_VIBuffer_Model_Instancel_ScotsPine_LargeA"), - CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, - "../Bin/Resources/Models/InstanceProp/SM_ScotsPine_LargeA_Master.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) - return E_FAIL; + { + CVIBuffer_Model_Instance* pModel_Instance = CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, + "../Bin/Resources/Models/InstanceProp/SM_ScotsPine_LargeA_Master.bin", strMaterailPath.c_str()); + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(NEXT_LEVEL, TEXT("Prototype_Component_VIBuffer_Model_Instancel_ScotsPine_LargeA"), + pModel_Instance))) + return E_FAIL; + + if (FAILED(Ready_RigidBody_Static(pModel_Instance))) + return E_FAIL; + } /* For.Prototype_Component_VIBuffer_Model_Instancel_LightPost */ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_LightPost"), - CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, - "../Bin/Resources/Models/InstanceProp/SM_HM_LightPost.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) - return E_FAIL; + { + CVIBuffer_Model_Instance* pModel_Instance = CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, + "../Bin/Resources/Models/InstanceProp/SM_HM_LightPost.bin", strMaterailPath.c_str()); + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(NEXT_LEVEL, TEXT("Prototype_Component_VIBuffer_Model_Instancel_LightPost"), + pModel_Instance))) + return E_FAIL; + + if (FAILED(Ready_RigidBody_Static(pModel_Instance))) + return E_FAIL; + } /* For.Prototype_Component_VIBuffer_Model_Instancel_Light_Post_Floating */ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_Light_Post_Floating"), - CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, - "../Bin/Resources/Models/InstanceProp/SM_HM_Light_Post_Floating.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) - return E_FAIL; + { + CVIBuffer_Model_Instance* pModel_Instance = CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, + "../Bin/Resources/Models/InstanceProp/SM_HM_Light_Post_Floating.bin", strMaterailPath.c_str()); + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(NEXT_LEVEL, TEXT("Prototype_Component_VIBuffer_Model_Instancel_Light_Post_Floating"), + pModel_Instance))) + return E_FAIL; + + if (FAILED(Ready_RigidBody_Static(pModel_Instance))) + return E_FAIL; + } #pragma endregion /* For.Prototype_Component_South_Hogwart_Land_LOD1 */ @@ -3160,6 +3273,11 @@ HRESULT CLoader::Loading_For_GamePlay() return E_FAIL; } + /* For.Prototype_GameObject_RandomNpc */ + if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CRandomNpc::Create(m_pDevice, m_pContext)))) { + return E_FAIL; + } + #ifdef _DEBUG if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CCamera_Model::Create(m_pDevice, m_pContext)))) { return E_FAIL; @@ -3285,6 +3403,17 @@ HRESULT CLoader::Loading_For_GamePlay() } } + { + CModel* pModelOriginal = (CModel*)m_pGameInstance->Find_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Goblin_Assassin_Model")); + CMotion_Trail::MODELCAPTURE_DESC Desc{}; + Desc.fMaxCaptureLifeTime = 2.f; + Desc.iMaximumCapture = 4; + Desc.iNumBones = pModelOriginal->Get_BoneAbsoluteCount(); + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Goblin_Assassin_MotionTrail"), CMotion_Trail::Create(m_pDevice, m_pContext, &Desc)))) { + return E_FAIL; + } + } + m_strMessage = TEXT("로딩이 완료되었습니다.."); m_isFinished = true; @@ -3610,6 +3739,30 @@ void CLoader::Ready_MapModels(vector*>>& jobMapModel } +HRESULT CLoader::Ready_RigidBody_Static(CVIBuffer_Model_Instance* pModel_Instance) +{ + _uint iNumMesh = pModel_Instance->Get_NumMesh(); + for (_uint i = 0; i < iNumMesh; ++i) + { + CRigidBody_Static::RIGIDBODY_STATIC_PROTOTYPEDESC Desc{}; // + { + Desc.eType = ACTOR::TRIANGLEMESH; + Desc.ePxRigidBodyFlags = {}; + Desc.ePxShapeFlags = { PSX::PxShapeFlag::eVISUALIZATION | PSX::PxShapeFlag::eSCENE_QUERY_SHAPE | PSX::PxShapeFlag::eSIMULATION_SHAPE }; + Desc.ePxMaterialTypes = PXMATERIAL::DEFAULT; + Desc.vMatInfo = _float3(0.5f, 0.5f, 0.6f); + Desc.fContactOffset = 0.001f; + } + CRigidBody_Static* pRigid = CRigidBody_Static::Create(m_pDevice, m_pContext, Desc); + if (FAILED(m_pGameInstance->Add_Asset_Prototype(NEXT_LEVEL, CMyTools::ToWstring(pModel_Instance->Get_MeshName(i) + to_string(i)), pRigid))) { + return E_FAIL; + } + } + + + return S_OK; +} + CLoader* CLoader::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, LEVEL eNextLevelID) { CLoader* pInstance = new CLoader(pDevice, pContext); diff --git a/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp b/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp index 99b509f2e..371a2eaf0 100644 --- a/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp +++ b/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp @@ -387,6 +387,12 @@ ON_COLLISION_INFO CMapElement_Interactable::CollisionCheck(_fvector StartPos, _f m_bHit = true; } break; + case PXOBJECT::GOBLIN_ASSASSIN: + { + pUserData->pOwner->OnCollision(this, &tagCollInfo); + m_bHit = true; + } + break; case PXOBJECT::TROLL: { pUserData->pOwner->OnCollision(this, &tagCollInfo); diff --git a/Jusin154_Team3D/Client/Private/MapElement_Static.cpp b/Jusin154_Team3D/Client/Private/MapElement_Static.cpp index f74831165..38854ab5e 100644 --- a/Jusin154_Team3D/Client/Private/MapElement_Static.cpp +++ b/Jusin154_Team3D/Client/Private/MapElement_Static.cpp @@ -181,6 +181,7 @@ void CMapElement_Static::ConvertToPhysX() CRigidBody_Static::RIGIDBODY_STATIC_DESC Desc = {}; Desc.iSubKind = ENUM_CLASS(PXOBJECT::TERRAIN); Desc.pMeshName = wstrName.c_str(); + Desc.pWorldMatrix = m_pTransformCom->Get_WorldMatrixPtr(); if (FAILED(__super::Add_Asset_Component(NEXT_LEVEL, wstrName, (CComponent**)&pRigidBody, &Desc))) { assert(false); } diff --git a/Jusin154_Team3D/Client/Private/MapObject_Collision.cpp b/Jusin154_Team3D/Client/Private/MapObject_Collision.cpp index a1faabc72..805c557be 100644 --- a/Jusin154_Team3D/Client/Private/MapObject_Collision.cpp +++ b/Jusin154_Team3D/Client/Private/MapObject_Collision.cpp @@ -188,6 +188,7 @@ void CMapObject_Collision::ConvertToPhysX() CRigidBody_Static::RIGIDBODY_STATIC_DESC Desc = {}; Desc.iSubKind = ENUM_CLASS(PXOBJECT::TERRAIN); Desc.pMeshName = wstrName.c_str(); + Desc.pWorldMatrix = m_pTransformCom->Get_WorldMatrixPtr(); if (FAILED(__super::Add_Asset_Component(NEXT_LEVEL, wstrName, (CComponent**)&pRigidBody, &Desc))) { assert(false); } diff --git a/Jusin154_Team3D/Client/Private/MapObject_Render.cpp b/Jusin154_Team3D/Client/Private/MapObject_Render.cpp index 1cb0b22f9..a993d244c 100644 --- a/Jusin154_Team3D/Client/Private/MapObject_Render.cpp +++ b/Jusin154_Team3D/Client/Private/MapObject_Render.cpp @@ -187,6 +187,7 @@ void CMapObject_Render::ConvertToPhysX() CRigidBody_Static::RIGIDBODY_STATIC_DESC Desc = {}; Desc.iSubKind = ENUM_CLASS(PXOBJECT::TERRAIN); Desc.pMeshName = wstrName.c_str(); + Desc.pWorldMatrix = m_pTransformCom->Get_WorldMatrixPtr(); if (FAILED(__super::Add_Asset_Component(NEXT_LEVEL, wstrName, (CComponent**)&pRigidBody, &Desc))) { assert(false); } diff --git a/Jusin154_Team3D/Client/Private/NPC_EleazarFig.cpp b/Jusin154_Team3D/Client/Private/NPC_EleazarFig.cpp index cef6f3c2f..a07507f8c 100644 --- a/Jusin154_Team3D/Client/Private/NPC_EleazarFig.cpp +++ b/Jusin154_Team3D/Client/Private/NPC_EleazarFig.cpp @@ -109,7 +109,7 @@ HRESULT CNPC_EleazarFig::Render_Shadow(SHADOW eType) { return E_FAIL; } - if (FAILED(m_pModelCom->Begin(i, m_pShaderCom))) { + if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_NPC_PBR_ANIM::SHADOW)))) { return E_FAIL; } diff --git a/Jusin154_Team3D/Client/Private/NPC_Ollivander.cpp b/Jusin154_Team3D/Client/Private/NPC_Ollivander.cpp index 2ea612b2f..eaf298607 100644 --- a/Jusin154_Team3D/Client/Private/NPC_Ollivander.cpp +++ b/Jusin154_Team3D/Client/Private/NPC_Ollivander.cpp @@ -109,7 +109,7 @@ HRESULT CNPC_Ollivander::Render_Shadow(SHADOW eType) { return E_FAIL; } - if (FAILED(m_pModelCom->Begin(i, m_pShaderCom))) { + if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_NPC_PBR_ANIM::SHADOW)))) { return E_FAIL; } diff --git a/Jusin154_Team3D/Client/Private/Player.cpp b/Jusin154_Team3D/Client/Private/Player.cpp index 24b7cddb9..486fdd440 100644 --- a/Jusin154_Team3D/Client/Private/Player.cpp +++ b/Jusin154_Team3D/Client/Private/Player.cpp @@ -345,10 +345,13 @@ HRESULT CPlayer::Render_Shadow(SHADOW eType) if (FAILED(Bind_ShaderParameters(i))) { return E_FAIL; } + if (i == ENUM_CLASS(PLAYER_MESH_ORDER::ROBE_CLOTH)){ +#ifdef 기무리 if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_NPC_PBR_ANIM::SHADOW_LEGACY)))) { return E_FAIL; } +#endif // 기무리 } else { if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_NPC_PBR_ANIM::SHADOW)))) { @@ -543,6 +546,8 @@ HRESULT CPlayer::Ready_Parts() //m_pModelCom->Play_Animation() //XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("broomSocket")); +#ifdef 기무리 + { CPlayerRobe::PlayerRobe_DESC Desc{}; Desc.pModel = m_pModelCom; @@ -553,6 +558,8 @@ HRESULT CPlayer::Ready_Parts() } } +#endif // 기무리 + return S_OK; } @@ -619,7 +626,8 @@ HRESULT CPlayer::Bind_ShaderParameters(_uint iMeshOrder) fMixerFactor = 0.658333f; iColorMixerMethod = 1; break; -#ifdef _DEBUG +#ifdef 기무리 + case PLAYER_MESH_ORDER::ROBE_CLOTH: { CMesh* pMesh = m_pModelCom->Get_Mesh(ENUM_CLASS(PLAYER_MESH_ORDER::ROBE_CLOTH)); @@ -662,7 +670,7 @@ HRESULT CPlayer::Bind_ShaderParameters(_uint iMeshOrder) } } break; -#endif // _DEBUG +#endif // 기무리 default: break; diff --git a/Jusin154_Team3D/Client/Private/PlayerRobe.cpp b/Jusin154_Team3D/Client/Private/PlayerRobe.cpp index b9bde8795..72906c3ac 100644 --- a/Jusin154_Team3D/Client/Private/PlayerRobe.cpp +++ b/Jusin154_Team3D/Client/Private/PlayerRobe.cpp @@ -29,7 +29,7 @@ void CPlayerRobe::Update(_float fTimeDelta) XMLoadFloat4x4(m_pParentTransformCom->Get_WorldMatrixPtr()); m_pRobeMainAnchor->Move_Kinematic(SocketMatrixFixed, false); - m_pRobeMainAnchor->Get_Actor()->wakeUp(); + //m_pRobeMainAnchor->Get_Actor()->wakeUp(); Update_LegsPosition(); Update_RobeSocketPosition(); @@ -235,112 +235,6 @@ HRESULT CPlayerRobe::Render_BonePhysX() } #endif // _DEBUG -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: - 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 = 5.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: - 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 = 5.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: - 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: - 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::RMIDDLE_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::RMIDDLE_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_END: - case PLAYER_JOINT_ORDER::TMIDDLE_TO_TL_END: - break; - case PLAYER_JOINT_ORDER::LMIDDLE_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::LMIDDLE_TO_L_END: - case PLAYER_JOINT_ORDER::LMIDDLE_TO_LL_END: - break; - default: - break; - } - m_JointDescriptions[i].ApplyToJoint(*m_pDynamicJoints[i]); - } - return S_OK; -} HRESULT CPlayerRobe::Ready_Components() { __super::Ready_Components(nullptr); @@ -672,7 +566,6 @@ HRESULT CPlayerRobe::Initialize(void* pArg) JointDesc.ApplyToJoint(*m_pDynamicJoints[i]); m_JointDescriptions[i] = JointDesc; } - //Update_RobeJoints(); #ifdef _DEBUG m_pSubShape = (GeometricPrimitive::CreateSphere(m_pContext, 0.05f, 22, false, false)); diff --git a/Jusin154_Team3D/Client/Private/RandomNpc.cpp b/Jusin154_Team3D/Client/Private/RandomNpc.cpp new file mode 100644 index 000000000..39ba55f75 --- /dev/null +++ b/Jusin154_Team3D/Client/Private/RandomNpc.cpp @@ -0,0 +1,319 @@ +#include "pch.h" +#include "RandomNpc.h" + +#include "GameInstance.h" +#include "InfoInstance.h" +#include "Player.h" +#include "NPCInteraction.h" + +CRandomNpc::CRandomNpc(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) + : CUnit(pDevice, pContext) +{ +} + +CRandomNpc::CRandomNpc(const CRandomNpc& Prototype) + : CUnit(Prototype), + m_pInfoInstance(CInfoInstance::GetInstance()) +{ +} + +HRESULT CRandomNpc::Initialize_Prototype() +{ + return S_OK; +} + +HRESULT CRandomNpc::Initialize(void* pArg) +{ + if (FAILED(__super::Initialize(pArg))) { + return E_FAIL; + } + + NPCDESC* pDesc = static_cast(pArg); + m_iIndex = pDesc->iIndex; + + if (FAILED(Ready_Components(pArg))) { + return E_FAIL; + } + + _vector vPos = XMLoadFloat4(&pDesc->vPos); + m_pTransformCom->Set_State(STATE::POSITION, vPos); + m_pTransformCom->Rotation(XMLoadFloat4(&pDesc->vRotQ)); + + m_pModelCom->Set_AnimationIndex(0, true); + return S_OK; +} + +void CRandomNpc::Priority_Update(_float fTimeDelta) +{ + m_pTransformCom->RewindMomentum(); + m_iEntered -= 1; + if (m_iEntered < 0) { + m_iEntered = 0; + } + __super::Priority_Update(fTimeDelta); +} + +void CRandomNpc::Update(_float fTimeDelta) +{ + m_pFSM->Update_State(fTimeDelta); + m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom); + __super::Update(fTimeDelta); +#ifdef _DEBUG + Describe_Entity(); +#endif // _DEBUG + + m_pNPCInteraction->Set_Visible(0 < m_iEntered); + m_pRigidBody->Set_Position(m_pTransformCom->Get_State(STATE::POSITION), true); +} + +void CRandomNpc::Late_Update(_float fTimeDelta) +{ + m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this); + + Set_Shadow(m_pGameInstance->IsIn_ShadowViewFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_pTransformCom->Get_Radius())); + + __super::Late_Update(fTimeDelta); +} + +HRESULT CRandomNpc::Render() +{ + if (FAILED(Bind_ShaderResources())) { + return E_FAIL; + } + + _uint iNumMeshes = m_pModelCom->Get_NumMeshes(); + + for (_uint i = 0; i < iNumMeshes; i++) + { + if (FAILED(m_pShaderCom->Bind_Matrices( + "g_OffsetMatrix", + m_pModelCom->Get_OffsetMatrix(i).data(), + (_int)m_pModelCom->Get_OffsetMatrix(i).size() + ))) + { + return E_FAIL; + } + + if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom))) { + return E_FAIL; + } + if (FAILED(m_pModelCom->Begin(i, m_pShaderCom))) { + return E_FAIL; + } + + m_pModelCom->Bind_OutPut_SRV_VS(26, 0); + m_pModelCom->Bind_OutPut_SRV_VS_Prev(27, 0); + + if (FAILED(m_pModelCom->Render(i))) { + return E_FAIL; + } + } + + return S_OK; +} + +HRESULT CRandomNpc::Render_Shadow(SHADOW eType) +{ + if (FAILED(m_pShaderCom->Bind_Matrix("g_WorldMatrix", m_pTransformCom->Get_WorldMatrixPtr()))) { + return E_FAIL; + } + if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ViewMatrix", D3DTS::VIEW, eType))) { + return E_FAIL; + } + if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ProjMatrix", D3DTS::PROJ, eType))) { + return E_FAIL; + } + _uint iNumMeshes = m_pModelCom->Get_NumMeshes(); + + for (_uint i = 0; i < iNumMeshes; i++) + { + if (FAILED(m_pShaderCom->Bind_Matrices( + "g_OffsetMatrix", + m_pModelCom->Get_OffsetMatrix(i).data(), + (_int)m_pModelCom->Get_OffsetMatrix(i).size() + ))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_NPC_PBR_ANIM::SHADOW)))) { + return E_FAIL; + } + + m_pModelCom->Bind_OutPut_SRV_VS(26, 0); + m_pModelCom->Bind_OutPut_SRV_VS_Prev(27, 0); + + if (FAILED(m_pModelCom->Render(i))) { + return E_FAIL; + } + } + + return S_OK; +} + +void CRandomNpc::OnRayCollision(CGameObject* pCaster, _uint iCastedOrder, _float fDistance, _float3 vCastedWorldPos) +{ + CPlayer* pPlayer = dynamic_cast(pCaster); + if (nullptr == pPlayer) { + return; + } + if (fDistance < m_fEncounterDistance) { + m_iEntered = 4; + } +} + +HRESULT CRandomNpc::Bind_ShaderResources() +{ + if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_PrevWorldMatrix", m_pTransformCom->Get_PrevWorldMatrixPtr()))) { + return E_FAIL; + } + if (FAILED(m_pGameInstance->Bind_PrevMatrix(m_pShaderCom, "g_PrevViewMatrix", D3DTS::VIEW))) { + return E_FAIL; + } + if (FAILED(m_pGameInstance->Bind_PrevMatrix(m_pShaderCom, "g_PrevProjMatrix", D3DTS::PROJ))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) { + return E_FAIL; + } + return S_OK; +} + +HRESULT CRandomNpc::Ready_Components(void* pArg) +{ + CTransform::TRANSFORM_DESC Desc = {}; + + Desc.fSpeedPerSec = 10.f; + Desc.fRotationPerSec = XMConvertToRadians(180.0f); + Desc.fRadius = 10.f; + + if (FAILED(__super::Ready_Components(&Desc))) { + return E_FAIL; + } + + switch (m_iIndex) + { + case 0: + m_strModelPrototypeTag = TEXT("Prototype_Component_MatildaWeasely_Model"); + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("MATILDAWEASELY"), (CComponent**)&m_pNpcStat))) { + return E_FAIL; + } + break; + case 1: + m_strModelPrototypeTag = TEXT("Prototype_Component_SatyavatiShah_Model"); + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("SATYAVATI"), (CComponent**)&m_pNpcStat))) { + return E_FAIL; + } + break; + case 2: + m_strModelPrototypeTag = TEXT("Prototype_Component_Ghost_Peeves_Model"); + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PEEVES"), (CComponent**)&m_pNpcStat))) { + return E_FAIL; + } + break; + case 3: + m_strModelPrototypeTag = TEXT("Prototype_Component_PhineasBlack_Model"); + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHINEASBLACK"), (CComponent**)&m_pNpcStat))) { + return E_FAIL; + } + break; + case 4: + m_strModelPrototypeTag = TEXT("Prototype_Component_M_Student_Model"); + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("M_STUDENT"), (CComponent**)&m_pNpcStat))) { + return E_FAIL; + } + break; + case 5: + m_strModelPrototypeTag = TEXT("Prototype_Component_F_Student_Model"); + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("F_STUDENT"), (CComponent**)&m_pNpcStat))) { + return E_FAIL; + } + break; + case 6: + m_strModelPrototypeTag = TEXT("Prototype_Component_Elf_Model"); + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("ELF"), (CComponent**)&m_pNpcStat))) { + return E_FAIL; + } + break; + } + + /* Com_Model */ + if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, m_strModelPrototypeTag, + reinterpret_cast(&m_pModelCom)))) { + return E_FAIL; + } + + /* Com_Shader */ + if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, FX_NPC_PBR_ANIM, + reinterpret_cast(&m_pShaderCom)))) { + return E_FAIL; + } + + { // DO + CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{}; + Desc.iSubKind = ENUM_CLASS(PXOBJECT::OLLIVANDER); + Desc.bAutoOwnerTranslation = false; + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_NPC_HITBOX"), (CComponent**)&m_pRigidBody, &Desc))) { + return E_FAIL; + } + } + + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, &m_pNPCInteraction))) { + return E_FAIL; + } + + m_pNPCInteraction->NpcInfo(m_pNpcStat->Get_Stat().pNpc_Name); + + return S_OK; +} + +CRandomNpc* CRandomNpc::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) +{ + CRandomNpc* pInstance = new CRandomNpc(pDevice, pContext); + + if (FAILED(pInstance->Initialize_Prototype())) + { + MSG_BOX("Failed to Created : CRandomNpc"); + SAFE_RELEASE(pInstance); + } + return pInstance; +} + +CGameObject* CRandomNpc::Clone(void* pArg, CGameObject* pOwner) +{ + CRandomNpc* pInstance = new CRandomNpc(*this); + + if (FAILED(pInstance->Initialize(pArg))) + { + MSG_BOX("Failed to Cloned : CRandomNpc"); + SAFE_RELEASE(pInstance); + } + return pInstance; +} + +void CRandomNpc::Free() +{ + __super::Free(); + + SAFE_RELEASE(m_pNpcStat); + SAFE_RELEASE(m_pRigidBody); + if (nullptr != m_pInfoInstance) { + CInfoInstance* pInfo = m_pInfoInstance; + m_pInfoInstance = nullptr; + } +} +#ifdef _DEBUG + +void CRandomNpc::Describe_Entity() +{ +} + +#endif // _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Ranrok.cpp b/Jusin154_Team3D/Client/Private/Ranrok.cpp index dc6e2474e..4fb21779a 100644 --- a/Jusin154_Team3D/Client/Private/Ranrok.cpp +++ b/Jusin154_Team3D/Client/Private/Ranrok.cpp @@ -109,14 +109,17 @@ void CRanrok::Update(_float fTimeDelta) m_pFSM->Update_State(fTimeDelta); - m_vCaptureTimer.x += fTimeDelta; - if (m_vCaptureTimer.y < m_vCaptureTimer.x) { - m_vCaptureTimer.x = 0.f; - if (FAILED(m_pModelCom->Capture_BoneBuffer(m_pMotionTrailCom, *m_pTransformCom->Get_WorldMatrixPtr()))) { - assert(false); + if (m_bMotionTrail) { + m_vCaptureTimer.x += fTimeDelta; + if (m_vCaptureTimer.y < m_vCaptureTimer.x) { + m_vCaptureTimer.x = 0.f; + if (FAILED(m_pModelCom->Capture_BoneBuffer(m_pMotionTrailCom, *m_pTransformCom->Get_WorldMatrixPtr()))) { + assert(false); + } } } + m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom); __super::Update(fTimeDelta); @@ -257,7 +260,7 @@ HRESULT CRanrok::Render_Shadow(SHADOW eType) return E_FAIL; } - if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_ANIM::SHADOW)))) { + if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_NPC_PBR_ANIM::SHADOW)))) { return E_FAIL; } @@ -298,13 +301,18 @@ HRESULT CRanrok::Render_MotionTrail(ID3D11ShaderResourceView* pSRV) _vector CRanrok::Get_LockOnPos() { + _vector Offset = XMVectorZero(); + //if (m_ePhase == ENUM_CLASS(RANROK_PHASE::PHASE_AIR)) + //{ + // Offset = XMVectorSetY(Offset, 10.f); + //} if (nullptr != m_pCharacter_Controller && true == m_pCharacter_Controller->IsActive()) { - return m_pCharacter_Controller->Get_Position(); + return m_pCharacter_Controller->Get_Position() + Offset; } else if (nullptr != m_pRigidBody) { - return m_pRigidBody->Get_Position(); + return m_pRigidBody->Get_Position() + Offset; } - return Get_WorldPostion(); + return Get_WorldPostion() + Offset; } void CRanrok::OnCollision(CGameObject* pOther, void* pDesc) @@ -319,7 +327,7 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc) ON_COLLISION_INFO* CollisionDesc = static_cast(pDesc); - //m_DamageInfo.vTarget_Pos = m_pCharacter_Controller->Get_HeadPosition(); + XMStoreFloat4(&m_DamageInfo.vTarget_Pos, m_pCharacter_Controller->Get_HeadPosition()); CEffect_Container* pEffect_Container = dynamic_cast(pOther); @@ -373,37 +381,58 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc) } - /*m_DamageInfo.fDamage = damagePair.first; - m_pInfoInstance->Event_CallBack(TEXT("Monster_Hit"), &m_DamageInfo);*/ + m_DamageInfo.fDamage = damagePair.first; + m_pInfoInstance->Event_CallBack(TEXT("Monster_Hit"), &m_DamageInfo); if (0 == damagePair.second) { m_pFSM->Change_State(FSMSTATE::DEAD); return; } _float curr = Get_HpRatio(); - + pair<_uint, _bool> pairAnimInfo = {}; if (m_fPrevHpRatio > 0.85f && curr <= 0.85f) { - m_pFSM->Change_State(FSMSTATE::TUCKED); + pairAnimInfo = m_Animation[STATEANIM::HIT_BWD2]; m_fPrevHpRatio = curr; + Add_Event(pairAnimInfo.first, + [&]() {m_bDisolve = true; }, + 0.75f); + Add_Event(pairAnimInfo.first, + [&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); }, + 0.95f); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); return; } else if (m_fPrevHpRatio > 0.7f && curr <= 0.7f) { - m_pFSM->Change_State(FSMSTATE::TUCKED); + pairAnimInfo = m_Animation[STATEANIM::HIT_BWD2]; m_fPrevHpRatio = curr; + Add_Event(pairAnimInfo.first, + [&]() {m_bDisolve = true; }, + 0.75f); + Add_Event(pairAnimInfo.first, + [&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); }, + 0.95f); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); return; } else if (m_fPrevHpRatio > 0.5f && curr <= 0.5f) { + pairAnimInfo = m_Animation[STATEANIM::HIT_BWD2]; m_ePhase = ENUM_CLASS(RANROK_PHASE::PHASE_GROUND); - m_pFSM->Change_State(FSMSTATE::TUCKED); m_fPrevHpRatio = curr; + Add_Event(pairAnimInfo.first, + [&]() {m_bDisolve = true; }, + 0.75f); + Add_Event(pairAnimInfo.first, + [&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); }, + 0.95f); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); return; } m_fPrevHpRatio = curr; - if (IsHitStateDisabled() && IsHitSpellDisabled()) { + if (!IsHitStateDisabled() || IsHitSpellDisabled()) { m_pFSM->Change_State(FSMSTATE::HIT); } } @@ -462,7 +491,7 @@ HRESULT CRanrok::Ready_Components() { // DO CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{}; Desc.iSubKind = ENUM_CLASS(PXOBJECT::RANROK); - if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_BOX"), (CComponent**)&m_pRigidBody, &Desc))) { + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_RANROK"), (CComponent**)&m_pRigidBody, &Desc))) { return E_FAIL; } m_pGameInstance->Detach_Actor(*m_pRigidBody->Get_Actor(), NEXT_LEVEL); @@ -624,9 +653,9 @@ HRESULT CRanrok::Render_Nonblend() } } - if (m_bDrawOutLine) { + /*if (m_bDrawOutLine) { Render_OutLine(); - } + }*/ #ifdef _DEBUG if (true == m_pCharacter_Controller->IsActive()) { @@ -656,8 +685,10 @@ HRESULT CRanrok::Render_Nonblend() } #ifndef 진우 - if (FAILED(m_pMotionTrailCom->Render(m_pShaderCom))) { - return E_FAIL; + if (m_bMotionTrail) { + if (FAILED(m_pMotionTrailCom->Render(m_pShaderCom))) { + return E_FAIL; + } } #endif return S_OK; diff --git a/Jusin154_Team3D/Client/Private/Ranrok_States.cpp b/Jusin154_Team3D/Client/Private/Ranrok_States.cpp index 80b92b532..fe928df36 100644 --- a/Jusin154_Team3D/Client/Private/Ranrok_States.cpp +++ b/Jusin154_Team3D/Client/Private/Ranrok_States.cpp @@ -627,6 +627,7 @@ void CRanrok::Behavior_SwipeEnter() { pair<_uint, _bool> pairAnimInfo = {}; m_pFSM->Enable_State(FSMSTATE::SWIPE); + if (m_ePhase == ENUM_CLASS(RANROK_PHASE::PHASE_GROUND)) { if (m_fCross > 0.f) @@ -639,6 +640,9 @@ void CRanrok::Behavior_SwipeEnter() m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); } + Add_Event(pairAnimInfo.first, + [this]() {m_bMotionTrail = true; }, + 0.3f); m_fSkillCoolTime[ENUM_CLASS(RANROK_SKILL::SWIPE)] = m_fMaxSkillCoolTime[ENUM_CLASS(RANROK_SKILL::SWIPE)]; m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); } @@ -660,6 +664,7 @@ HRESULT CRanrok::Behavior_SwipeExitCheck(_float fTimeDelta) void CRanrok::Behavior_SwipeExit() { m_pFSM->Disable_State(FSMSTATE::SWIPE); + m_bMotionTrail = false; } // FireBurst 란록은 평상시에 맞지않는데 특정 구체를 파괴해서 란록한테 피해를 입히면 버스트상태가 해제되고 이제 마법에 맞는다. 그리고 특정시간이 지나면 이 파이어버스트 상태가 되면서 다시 맞지않는다. void CRanrok::Behavior_SkillEnter() @@ -847,7 +852,7 @@ HRESULT CRanrok::Behavior_TuckedExitCheck(_float fTimeDelta) { pair<_uint, _bool> pairAnimInfo = {}; _int iCurrAnimIndex = m_pModelCom->Get_AnimIndex(); - if (m_fDisolveTime >= 0.1f) { + if (m_fDisolveTime >= 0.25f) { MoveTo(fTimeDelta); } @@ -929,6 +934,7 @@ void CRanrok::Behavior_HitEnter() m_pFSM->Enable_State(FSMSTATE::HIT); m_bLookAt = false; + if (m_ePhase == ENUM_CLASS(RANROK_PHASE::PHASE_AIR)) { pairAnimInfo = m_Animation[STATEANIM::HIT_BWD]; // 스몰 diff --git a/Jusin154_Team3D/Client/Private/Terrain.cpp b/Jusin154_Team3D/Client/Private/Terrain.cpp index 96c9a21ea..7adfede7d 100644 --- a/Jusin154_Team3D/Client/Private/Terrain.cpp +++ b/Jusin154_Team3D/Client/Private/Terrain.cpp @@ -39,6 +39,7 @@ HRESULT CTerrain::Initialize(void* pArg) CRigidBody_Static::RIGIDBODY_STATIC_DESC Desc{}; Desc.pMeshName = pDesc->strRigidBody_MeshName.c_str(); Desc.iSubKind = ENUM_CLASS(PXOBJECT::TERRAIN); + Desc.pWorldMatrix = m_pTransformCom->Get_WorldMatrixPtr(); /* Com_RigidBody */ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, pDesc->strRigidBody_ComponentTag, reinterpret_cast(&m_pRigidBody), &Desc))) { diff --git a/Jusin154_Team3D/Client/Private/Troll.cpp b/Jusin154_Team3D/Client/Private/Troll.cpp index 186518c16..35a0c10de 100644 --- a/Jusin154_Team3D/Client/Private/Troll.cpp +++ b/Jusin154_Team3D/Client/Private/Troll.cpp @@ -333,7 +333,7 @@ HRESULT CTroll::Render_Shadow(SHADOW eType) return E_FAIL; } - if (FAILED(m_pModelCom->Begin(i, m_pShaderCom))) { + if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_NPC_PBR_ANIM::SHADOW)))) { return E_FAIL; } diff --git a/Jusin154_Team3D/Client/Public/Broom.h b/Jusin154_Team3D/Client/Public/Broom.h index 2fa0115c9..0ac63a9fd 100644 --- a/Jusin154_Team3D/Client/Public/Broom.h +++ b/Jusin154_Team3D/Client/Public/Broom.h @@ -39,6 +39,8 @@ class CBroom final : public CUnit void Set_AISpeed(_float speedMul, _float accelMul); void Set_Move(_bool bMove) { m_bMove = bMove; } _bool Get_Move() { return m_bMove; } + void Add_TurboBoost(_float fAmount) { m_fTurboBoost += fAmount; } + _float Get_TurboBoost() { return m_fTurboBoost; } HRESULT Ready_Child(); private: @@ -64,6 +66,8 @@ class CBroom final : public CUnit _float m_fDecel = 1.f; _float m_fTurnDecel = 0.3f; _float m_fVerticalSpeed = 0.f; + _float m_fTurboBoost = {5.f}; + _float m_fTurboBoostChargeDelay = {}; _float m_fFlyAccel = 1.f; _float m_fFlyDecel = 1.f; @@ -96,7 +100,7 @@ class CBroom final : public CUnit HRESULT Bind_ShaderResources(); void Update_CameraCoordinateSystem(); - void PlayerInput(); + void PlayerInput(_float fTimeDelta); public: static CBroom* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Client/Public/Goblin.h b/Jusin154_Team3D/Client/Public/Goblin.h index 2d3fdd991..32bd72771 100644 --- a/Jusin154_Team3D/Client/Public/Goblin.h +++ b/Jusin154_Team3D/Client/Public/Goblin.h @@ -75,7 +75,7 @@ class CGoblin final : public CMonster virtual void Add_FSM(); _float m_fSkillCoolTime[ENUM_CLASS(GOBLIN_SKILL::END)] = {}; - _float m_fMaxSkillCoolTime[ENUM_CLASS(GOBLIN_SKILL::END)] = { 5.f,2.f,15.f }; + _float m_fMaxSkillCoolTime[ENUM_CLASS(GOBLIN_SKILL::END)] = { 10.f,2.f,15.f }; _bool m_bStep = { true }; _float m_fTpTime = {}; diff --git a/Jusin154_Team3D/Client/Public/Goblin_Assassin.h b/Jusin154_Team3D/Client/Public/Goblin_Assassin.h index d1f2cd41e..ede27e23a 100644 --- a/Jusin154_Team3D/Client/Public/Goblin_Assassin.h +++ b/Jusin154_Team3D/Client/Public/Goblin_Assassin.h @@ -28,6 +28,7 @@ class CGoblin_Assassin final : public CMonster virtual HRESULT Render() override; virtual HRESULT Render_OutLine(); virtual HRESULT Render_Shadow(SHADOW eType) override; + HRESULT Render_MotionTrail(ID3D11ShaderResourceView* pSRV); virtual _vector Get_LockOnPos() override; virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr)override; virtual void OnHit(CGameObject* pOther, CGameObject* pCaller = nullptr)override; @@ -74,7 +75,7 @@ class CGoblin_Assassin final : public CMonster virtual void Add_FSM(); _float m_fSkillCoolTime[ENUM_CLASS(GOBLIN_ASSASSIN_SKILL::END)] = {}; - _float m_fMaxSkillCoolTime[ENUM_CLASS(GOBLIN_ASSASSIN_SKILL::END)] = { 8.f,15.f }; + _float m_fMaxSkillCoolTime[ENUM_CLASS(GOBLIN_ASSASSIN_SKILL::END)] = { 10.f,15.f }; _bool m_bStep = { true }; _float m_fTpTime = {}; @@ -95,7 +96,7 @@ class CGoblin_Assassin final : public CMonster _float m_fMoveDecisionLimit = 1.2f; _float4 m_vDashDir = {}; - + _float2 m_vCaptureTimer = { 0.f, 0.1f }; void Behavior_IdleEnter(); HRESULT Behavior_IdleExitCheck(); diff --git a/Jusin154_Team3D/Client/Public/InstancedProp.h b/Jusin154_Team3D/Client/Public/InstancedProp.h index e40ff16b0..a1003cf15 100644 --- a/Jusin154_Team3D/Client/Public/InstancedProp.h +++ b/Jusin154_Team3D/Client/Public/InstancedProp.h @@ -16,11 +16,12 @@ class CInstancedProp final : public CGameObject public: typedef struct tagInstancedPropDesc { - _bool isShake; - _float2 vRadius; - _float2 vSpeed; - _wstring strPrototypeTag; - _string strInstanceDataPath; + _bool isShake; + _bool bEnableRigidbody; + _float2 vRadius; + _float2 vSpeed; + _wstring strPrototypeTag; + _string strInstanceDataPath; }INSTANCE_PROP_DESC; private: CInstancedProp(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); @@ -37,7 +38,9 @@ class CInstancedProp final : public CGameObject private: _bool m_isShake = {}; _uint m_iNumMesh = {}; + _uint m_iNumInstacne = {}; + vector m_RigidBody = { nullptr }; CVIBuffer_Model_Instance* m_pVIBufferInstanceCom = { nullptr }; CShader* m_pShaderCom = { nullptr }; @@ -47,12 +50,14 @@ class CInstancedProp final : public CGameObject virtual HRESULT Ready_Components(void* pArg) override; virtual HRESULT Bind_ShaderResources() override; - HRESULT Load_InstancedProp(const _char* pFilePath); + HRESULT ReadyForPhysX(); + HRESULT Load_InstancedProp(const _char* pFilePath, INSTANCE_PROP_DESC* pDesc); public: static CInstancedProp* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; virtual void Free() override; + #ifdef _DEBUG void Describe_Entity() override; #endif // _DEBUG diff --git a/Jusin154_Team3D/Client/Public/InstancedProp_Light.h b/Jusin154_Team3D/Client/Public/InstancedProp_Light.h index e407ddd30..a84af2d13 100644 --- a/Jusin154_Team3D/Client/Public/InstancedProp_Light.h +++ b/Jusin154_Team3D/Client/Public/InstancedProp_Light.h @@ -17,12 +17,14 @@ class CInstancedProp_Light final : public CGameObject typedef struct tagInstancedPropLightDesc { _bool isShake; + _bool bEnableRigidbody; _uint iGlassMeshIndex{}; _float2 vRadius; _float2 vSpeed; _wstring strPrototypeTag; - _string strInstanceDataPath; + _string strInstanceDataPath; }INSTANCE_PROP_LIGHT_DESC; + private: CInstancedProp_Light(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); CInstancedProp_Light(const CInstancedProp_Light& rhs); @@ -35,23 +37,25 @@ class CInstancedProp_Light final : public CGameObject virtual HRESULT Render() override; virtual HRESULT Render_Bloom() override; - private: _bool m_bLightOn = { true }; + _bool m_bEnableRigidbody = { }; + + _uint m_iNumMesh = {}; + _uint m_iNumInstacne = {}; + _uint m_iGlassMeshIndex = {}; + + _float m_fGlassRatio = { 0.5f }; + _float m_fBloomStrength = { 15.f }; + CVIBuffer_Model_Instance* m_pVIBufferInstanceCom = { nullptr }; CShader* m_pShaderCom = { nullptr }; CTexture* m_pGlassTextureCom = { nullptr }; CTexture* m_pMaskTextureCom = { nullptr }; CTexture* m_pEmissiveTextureCom = { nullptr }; - - _uint m_iNumMesh = {}; - _uint m_iGlassMeshIndex = {}; - - _float m_fGlassRatio = { 0.5f }; - _float m_fBloomStrength = { 15.f }; - + vector m_RigidBody = { nullptr }; private: virtual HRESULT Initialize_Prototype() override; @@ -59,12 +63,14 @@ class CInstancedProp_Light final : public CGameObject virtual HRESULT Ready_Components(void* pArg) override; virtual HRESULT Bind_ShaderResources() override; + HRESULT ReadyForPhysX(); HRESULT Load_InstancedProp(const _char* pFilePath); public: static CInstancedProp_Light* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; virtual void Free() override; + #ifdef _DEBUG void Describe_Entity() override; #endif // _DEBUG diff --git a/Jusin154_Team3D/Client/Public/Loader.h b/Jusin154_Team3D/Client/Public/Loader.h index cb0ecf432..c6c51748f 100644 --- a/Jusin154_Team3D/Client/Public/Loader.h +++ b/Jusin154_Team3D/Client/Public/Loader.h @@ -6,6 +6,7 @@ NS_BEGIN(Engine) class CGameInstance; class CModel; +class CVIBuffer_Model_Instance; NS_END NS_BEGIN(Client) @@ -43,6 +44,7 @@ class CLoader final : public CBase future*> Deferred_FolderLoad(const _char* pDirectoryPath, const _char* pFileExt, _bool bUseTag); future*> Deferred_ModelLoad(MODEL eType, const _char* pDirectoryPath, _fmatrix PreTransform, const _tchar* pPrototypeTag); void Ready_MapModels(vector*>>& jobMapModels); + HRESULT Ready_RigidBody_Static(CVIBuffer_Model_Instance* pModel_Instance); public: static CLoader* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, LEVEL eNextLevelID); diff --git a/Jusin154_Team3D/Client/Public/RandomNpc.h b/Jusin154_Team3D/Client/Public/RandomNpc.h new file mode 100644 index 000000000..268534e85 --- /dev/null +++ b/Jusin154_Team3D/Client/Public/RandomNpc.h @@ -0,0 +1,58 @@ +#pragma once + +#include "Client_Define.h" +#include "Unit.h" +#include "NPC_Ollivander.h" + +NS_BEGIN(Client) + +class CRandomNpc final : public CUnit +{ +public: + typedef struct tagNpcInitDesc { + _float4 vPos; + _float4 vRotQ; + _int iIndex; + }NPCDESC; +protected: + CRandomNpc(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + CRandomNpc(const CRandomNpc& Prototype); + virtual ~CRandomNpc() = default; + +public: + virtual void Priority_Update(_float fTimeDelta) override; + virtual void Update(_float fTimeDelta) override; + virtual void Late_Update(_float fTimeDelta) override; + virtual HRESULT Render() override; + virtual HRESULT Render_Shadow(SHADOW eType) override; + virtual void OnRayCollision(CGameObject* pCaster, _uint iCastedOrder, _float fDistance, _float3 vCastedWorldPos)override; +protected: + CInfoInstance* m_pInfoInstance = { nullptr }; + CRigidBody_Dynamic* m_pRigidBody = { nullptr }; + CUnit* m_pPlayerAllyUnit = { nullptr }; + CRandomNpc* m_pNPC_Ollivander = { nullptr }; + + class CNPCInteraction* m_pNPCInteraction = { nullptr }; + + CNPCStat* m_pNpcStat = { nullptr }; + _int m_iEntered = { 0 }; + _float2 m_vEnteringTimer = { 0.f, 1.f }; + _float m_fEncounterDistance = { 8.f }; + _int m_iIndex = {}; +protected: + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; + HRESULT Ready_Components(void* pArg); + HRESULT Bind_ShaderResources() override; + +public: + static CRandomNpc* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + virtual CGameObject* Clone(void* pArg, CGameObject* pOwner = nullptr); + virtual void Free() override; +#ifdef _DEBUG + virtual void Describe_Entity() override; + +#endif // _DEBUG +}; + +NS_END diff --git a/Jusin154_Team3D/Client/Public/Ranrok.h b/Jusin154_Team3D/Client/Public/Ranrok.h index 43e32d17c..56572fe0c 100644 --- a/Jusin154_Team3D/Client/Public/Ranrok.h +++ b/Jusin154_Team3D/Client/Public/Ranrok.h @@ -113,8 +113,9 @@ class CRanrok final : public CMonster _float m_fHeadAimWeight = {}; _float m_fPrevHpRatio = {}; _int m_iBreathRand = {}; + _bool m_bMotionTrail = {}; - _float2 m_vCaptureTimer = { 0.f, 0.3f }; + _float2 m_vCaptureTimer = { 0.f, 0.1f }; class CEffect_Container* m_pRanrok_Point = { nullptr }; _float m_fTuckedSpeed = { 90.f }; diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/AnimList/Ranrok.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/AnimList/Ranrok.xml index c91b8a316..daf1c7bab 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/AnimList/Ranrok.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/AnimList/Ranrok.xml @@ -62,7 +62,7 @@ - + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Hogsmeade_HeightMap.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Hogsmeade_HeightMap.bin index c83e18247..c7b23053b 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Hogsmeade_HeightMap.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Hogsmeade_HeightMap.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5d1403c26882c44252bc1a63ed0528c901904c7233bae4d4628f98bf4b2bfee2 +oid sha256:bf3f9ae0a13102dda45fda801e0bfd162db42eca532822d996f5a9a1707f1949 size 1052676 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/NpcStat.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/NpcStat.xml index 194e17680..364c376e4 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/NpcStat.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/NpcStat.xml @@ -1,4 +1,12 @@  + + + + + + + + \ No newline at end of file diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/BaseFlattenNormalMap.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/BaseFlattenNormalMap.png new file mode 100644 index 000000000..d8e1fd944 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/BaseFlattenNormalMap.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa.bin new file mode 100644 index 000000000..d5074a218 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27d59d8e1e45ebefe1cea5864e26e62c768568155113352a77ed5127224e90b4 +size 6367437 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa.fbx new file mode 100644 index 000000000..c17054b3c --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bc349959db9f10f33159e6b7c1f5dd23f811af38f528428954b8189578be8ba +size 2791228 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa.xml new file mode 100644 index 000000000..72f8502a8 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa.xml @@ -0,0 +1,250 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa_Anim.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa_Anim.bin new file mode 100644 index 000000000..234882a3e --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa_Anim.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:805fb3567080dfb82920403635660287f275c9927462d231decab2ab122a5ebc +size 19482903 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa_Anim.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa_Anim.fbx new file mode 100644 index 000000000..b013feabd --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa_Anim.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ae6b99c07fd9ba1b2ca9778e133411143fe2f4785acd52f18c4a40f0c7bb101 +size 58329564 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Adult_F_Head_ChiyoKogawa_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Adult_F_Head_ChiyoKogawa_D.png new file mode 100644 index 000000000..f1a831a1d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Adult_F_Head_ChiyoKogawa_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Adult_F_Head_ChiyoKogawa_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Adult_F_Head_ChiyoKogawa_N.dds new file mode 100644 index 000000000..b1acaab9d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Adult_F_Head_ChiyoKogawa_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Adult_F_Head_ChiyoKogawa_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Adult_F_Head_ChiyoKogawa_SRXO.dds new file mode 100644 index 000000000..c7fadb978 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Adult_F_Head_ChiyoKogawa_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_DefaultGrey_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_DefaultGrey_D.png new file mode 100644 index 000000000..b414d5691 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_DefaultGrey_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Eye_Iris_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Eye_Iris_D.png new file mode 100644 index 000000000..4bf9d62f9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Eye_Iris_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Eye_Sclera_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Eye_Sclera_D.png new file mode 100644 index 000000000..6e082532d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Eye_Sclera_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_HUM_F_Hair_PROHair01_Asuka_DAO_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_HUM_F_Hair_PROHair01_Asuka_DAO_MSK.dds new file mode 100644 index 000000000..3cebc015a Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_HUM_F_Hair_PROHair01_Asuka_DAO_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_HUM_F_Hair_PROHair01_Asuka_THV_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_HUM_F_Hair_PROHair01_Asuka_THV_MSK.dds new file mode 100644 index 000000000..d10a8cf21 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_HUM_F_Hair_PROHair01_Asuka_THV_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_HUM_Head_Teeth_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_HUM_Head_Teeth_D.dds new file mode 100644 index 000000000..24effbef3 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_HUM_Head_Teeth_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_HUM_Head_Teeth_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_HUM_Head_Teeth_N.dds new file mode 100644 index 000000000..4d226e763 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_HUM_Head_Teeth_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_HUM_Head_Teeth_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_HUM_Head_Teeth_SRXO.dds new file mode 100644 index 000000000..a404651ed Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_HUM_Head_Teeth_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Professor_Chiyo_Kogawa_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Professor_Chiyo_Kogawa_D.dds new file mode 100644 index 000000000..f26f2a216 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Professor_Chiyo_Kogawa_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Professor_Chiyo_Kogawa_MRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Professor_Chiyo_Kogawa_MRO.dds new file mode 100644 index 000000000..9719119a5 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Professor_Chiyo_Kogawa_MRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Professor_Chiyo_Kogawa_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Professor_Chiyo_Kogawa_N.dds new file mode 100644 index 000000000..14d625e8b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/ChiyoKogawa/T_Professor_Chiyo_Kogawa_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/BaseFlattenNormalMap.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/BaseFlattenNormalMap.png new file mode 100644 index 000000000..d8e1fd944 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/BaseFlattenNormalMap.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.bin new file mode 100644 index 000000000..e1d321de2 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:30618a538659bc3eeb7bd3a5bb10b15f5097c9f08ced6110728e96197afde9b2 +size 3333724 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.fbx new file mode 100644 index 000000000..5bd46cdef --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05cc21bbb21c1315e0970c35820c6572f538569869841920f6d9fa23036ffdc6 +size 2743516 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.xml new file mode 100644 index 000000000..11d78bb72 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/Elf.xml @@ -0,0 +1,217 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_DefaultGrey_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_DefaultGrey_D.png new file mode 100644 index 000000000..b414d5691 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_DefaultGrey_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_Eye_Iris_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_Eye_Iris_D.png new file mode 100644 index 000000000..4bf9d62f9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_Eye_Iris_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_Eye_Sclera_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_Eye_Sclera_D.png new file mode 100644 index 000000000..6e082532d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_Eye_Sclera_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HUM_Head_Teeth_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HUM_Head_Teeth_D.dds new file mode 100644 index 000000000..24effbef3 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HUM_Head_Teeth_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HUM_Head_Teeth_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HUM_Head_Teeth_N.dds new file mode 100644 index 000000000..4d226e763 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HUM_Head_Teeth_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HUM_Head_Teeth_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HUM_Head_Teeth_SRXO.dds new file mode 100644 index 000000000..a404651ed Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HUM_Head_Teeth_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_Body_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_Body_D.dds new file mode 100644 index 000000000..bf8bdbc32 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_Body_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_Body_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_Body_N.dds new file mode 100644 index 000000000..d615af902 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_Body_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_Body_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_Body_SRXO.dds new file mode 100644 index 000000000..1158aff4b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_Body_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Head1_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Head1_D.dds new file mode 100644 index 000000000..04e59a99c Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Head1_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Head1_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Head1_N.dds new file mode 100644 index 000000000..e8c755b8a Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Head1_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Head1_SRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Head1_SRO.dds new file mode 100644 index 000000000..f8d41ff11 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Head1_SRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_PillowCase03_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_PillowCase03_D.dds new file mode 100644 index 000000000..4ebe3b278 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_PillowCase03_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_PillowCase03_MRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_PillowCase03_MRO.dds new file mode 100644 index 000000000..67945ef99 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_PillowCase03_MRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_PillowCase03_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_PillowCase03_N.dds new file mode 100644 index 000000000..1b7285cab Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Elf/T_HouseElf_M_Upp_PillowCase03_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/BaseFlattenNormalMap.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/BaseFlattenNormalMap.png new file mode 100644 index 000000000..d8e1fd944 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/BaseFlattenNormalMap.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/F_Student.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/F_Student.bin new file mode 100644 index 000000000..764e00b1c --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/F_Student.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a9946c448139e5828004d645648abbd7b4d3c79e37f57ed2e2371fc7a43cdd9 +size 5707513 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/F_Student.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/F_Student.fbx new file mode 100644 index 000000000..ebe2ce224 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/F_Student.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f3ddfc862329fbe60ccbcf6f063c8b72765fec906b6e8ff00c76f71eed5a8b65 +size 2602092 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/F_Student.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/F_Student.xml new file mode 100644 index 000000000..4b1bc0b33 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/F_Student.xml @@ -0,0 +1,300 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/F_Student_Anim.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/F_Student_Anim.bin new file mode 100644 index 000000000..b444bf738 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/F_Student_Anim.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f626c05db29897952b1e38972bd76a2fd47e5a901bc492971445f82e0e1df69d +size 24528380 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/F_Student_Anim.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/F_Student_Anim.fbx new file mode 100644 index 000000000..ee7602618 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/F_Student_Anim.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9774faaf4dc7694680df695b19fe610991fe934e6c744562dce144f16ac18daf +size 20997020 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_DefaultGrey_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_DefaultGrey_D.png new file mode 100644 index 000000000..b414d5691 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_DefaultGrey_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Eye_Iris_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Eye_Iris_D.png new file mode 100644 index 000000000..4bf9d62f9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Eye_Iris_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Eye_Sclera_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Eye_Sclera_D.png new file mode 100644 index 000000000..6e082532d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Eye_Sclera_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Hair_StuHair14_SideBun_DAO_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Hair_StuHair14_SideBun_DAO_MSK.dds new file mode 100644 index 000000000..9f7db1d8a Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Hair_StuHair14_SideBun_DAO_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Hair_StuHair14_SideBun_THV_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Hair_StuHair14_SideBun_THV_MSK.dds new file mode 100644 index 000000000..f98ab8bc7 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Hair_StuHair14_SideBun_THV_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Low_StuUni02_Preview_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Low_StuUni02_Preview_D.dds new file mode 100644 index 000000000..a3604a2ca Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Low_StuUni02_Preview_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Low_StuUni02_Preview_MRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Low_StuUni02_Preview_MRO.dds new file mode 100644 index 000000000..3c879205b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Low_StuUni02_Preview_MRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Low_StuUni02_Preview_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Low_StuUni02_Preview_N.dds new file mode 100644 index 000000000..3a910e3c7 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Low_StuUni02_Preview_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Shoes_StuShoes02_Preview_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Shoes_StuShoes02_Preview_D.dds new file mode 100644 index 000000000..d5f826b86 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Shoes_StuShoes02_Preview_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Shoes_StuShoes02_Preview_MRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Shoes_StuShoes02_Preview_MRO.dds new file mode 100644 index 000000000..168f1e2b5 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Shoes_StuShoes02_Preview_MRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Shoes_StuShoes02_Preview_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Shoes_StuShoes02_Preview_N.dds new file mode 100644 index 000000000..792951bde Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Shoes_StuShoes02_Preview_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Upp_StuUni01_Preview_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Upp_StuUni01_Preview_D.dds new file mode 100644 index 000000000..f31efec51 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Upp_StuUni01_Preview_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Upp_StuUni01_Preview_MRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Upp_StuUni01_Preview_MRO.dds new file mode 100644 index 000000000..178036866 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Upp_StuUni01_Preview_MRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Upp_StuUni01_Preview_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Upp_StuUni01_Preview_N.dds new file mode 100644 index 000000000..921c47f07 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_HUM_F_Upp_StuUni01_Preview_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Young_F_Arms_Ivory02_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Young_F_Arms_Ivory02_D.dds new file mode 100644 index 000000000..0c5301c50 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Young_F_Arms_Ivory02_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Young_F_Arms_Ivory_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Young_F_Arms_Ivory_N.dds new file mode 100644 index 000000000..9fae5ab52 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Young_F_Arms_Ivory_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Young_F_Arms_Ivory_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Young_F_Arms_Ivory_SRXO.dds new file mode 100644 index 000000000..e69415338 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Young_F_Arms_Ivory_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Young_F_Head_Generic00_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Young_F_Head_Generic00_N.dds new file mode 100644 index 000000000..2c9251211 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Young_F_Head_Generic00_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Young_F_Head_Ivory_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Young_F_Head_Ivory_D.png new file mode 100644 index 000000000..588f23307 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Young_F_Head_Ivory_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Young_F_Head_Ivory_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Young_F_Head_Ivory_SRXO.dds new file mode 100644 index 000000000..e9675a865 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/F_Student/T_Young_F_Head_Ivory_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.bin index bed108392..c2ed6fdf9 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:89714a23c6f418c533029f0af1bd2e38a20e57bce367c5546047a3c8496d35f8 -size 19993985 +oid sha256:67ff0dfb4171ae863c571cf232259562042bb1af80b5ee412d34c4727d4bf1e1 +size 6592747 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.fbx index fc1fa14a0..a6c3b913a 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:97a26ad1e1082ebd3c53bf35f781e6329966a7ef6a6f3999ea5512b671c054b6 -size 64858588 +oid sha256:6d3898e14a8e493d6155442860aa955d5b8901e8bcf6c23f06138650ea6d891f +size 3051436 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves_Anim.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves_Anim.bin new file mode 100644 index 000000000..8eddf6218 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves_Anim.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7587aee29faa1bd5b3a7df6517de09b2514b872a3573ccd6c41415a5c38be849 +size 24520343 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves_Anim.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves_Anim.fbx new file mode 100644 index 000000000..ab92e80ac --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves_Anim.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5498c98b793b7a7c1deedfedbe3ce6925407a0ac9b0f863214a539aca039570 +size 20983852 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/BaseFlattenNormalMap.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/BaseFlattenNormalMap.png new file mode 100644 index 000000000..d8e1fd944 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/BaseFlattenNormalMap.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student.bin new file mode 100644 index 000000000..9d9cbd9c7 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7188bce54066811777cbeeb38cda81beb6b160fc2699eaf10fc8385b0c21dce8 +size 5294885 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student.fbx new file mode 100644 index 000000000..a405d2525 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e8af03027538ded7cb0876f3cb4c0c21d0dc4299903f82131c3759eca0adc2c +size 2464460 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student.xml new file mode 100644 index 000000000..d2fe87dfd --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student.xml @@ -0,0 +1,249 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student_Anim.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student_Anim.bin new file mode 100644 index 000000000..5698e1765 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student_Anim.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66d2e06e9d4816c04a05225c6e1abadb630093469f575b1861b820cb2956801d +size 66576968 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student_Anim.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student_Anim.fbx new file mode 100644 index 000000000..a6784bc74 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student_Anim.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58e5398a7061ed28e77e0f327ca0b2ce2dc485561cdc896bb7f5be6cdce3cd90 +size 242206876 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student_Rct.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student_Rct.fbx new file mode 100644 index 000000000..7d4d320f6 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student_Rct.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ea7ca88d205aea246397c8460ed0efcc59bd15397ba6780287e0f44f330ab03 +size 208509068 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Adult_M_Arms_Ivory_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Adult_M_Arms_Ivory_D.png new file mode 100644 index 000000000..9da2a19ea Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Adult_M_Arms_Ivory_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Adult_M_Arms_Ivory_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Adult_M_Arms_Ivory_N.dds new file mode 100644 index 000000000..ce4f7d3de Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Adult_M_Arms_Ivory_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Adult_M_Arms_Ivory_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Adult_M_Arms_Ivory_SRXO.dds new file mode 100644 index 000000000..a09af5b44 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Adult_M_Arms_Ivory_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_DefaultGrey_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_DefaultGrey_D.png new file mode 100644 index 000000000..b414d5691 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_DefaultGrey_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Eye_Iris_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Eye_Iris_D.png new file mode 100644 index 000000000..4bf9d62f9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Eye_Iris_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Eye_Sclera_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Eye_Sclera_D.png new file mode 100644 index 000000000..6e082532d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Eye_Sclera_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Hair_ChunkHair03_Barnum_DAO_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Hair_ChunkHair03_Barnum_DAO_MSK.dds new file mode 100644 index 000000000..2e66c1ca9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Hair_ChunkHair03_Barnum_DAO_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Hair_ChunkHair03_Barnum_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Hair_ChunkHair03_Barnum_N.dds new file mode 100644 index 000000000..7e37a14a9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Hair_ChunkHair03_Barnum_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Hair_ChunkHair03_Barnum_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Hair_ChunkHair03_Barnum_SRXO.dds new file mode 100644 index 000000000..e76f1ddfb Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Hair_ChunkHair03_Barnum_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Hair_ChunkHair03_Barnum_THV_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Hair_ChunkHair03_Barnum_THV_MSK.dds new file mode 100644 index 000000000..4b7e0c4ee Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Hair_ChunkHair03_Barnum_THV_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Low_StuUni03_Preview_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Low_StuUni03_Preview_D.dds new file mode 100644 index 000000000..d6efe4e42 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Low_StuUni03_Preview_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Low_StuUni03_Preview_MRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Low_StuUni03_Preview_MRO.dds new file mode 100644 index 000000000..4fc6dd03d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Low_StuUni03_Preview_MRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Low_StuUni03_Preview_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Low_StuUni03_Preview_N.dds new file mode 100644 index 000000000..0fbc3b5ed Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Low_StuUni03_Preview_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Shoes_StuShoes01_Preview_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Shoes_StuShoes01_Preview_D.dds new file mode 100644 index 000000000..161523d32 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Shoes_StuShoes01_Preview_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Shoes_StuShoes01_Preview_MRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Shoes_StuShoes01_Preview_MRO.dds new file mode 100644 index 000000000..d1118d069 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Shoes_StuShoes01_Preview_MRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Shoes_StuShoes01_Preview_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Shoes_StuShoes01_Preview_N.dds new file mode 100644 index 000000000..0ba43f926 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Shoes_StuShoes01_Preview_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Upp_StuUni03_Preview_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Upp_StuUni03_Preview_D.dds new file mode 100644 index 000000000..69c682bf3 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Upp_StuUni03_Preview_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Upp_StuUni03_Preview_MRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Upp_StuUni03_Preview_MRO.dds new file mode 100644 index 000000000..07f3fa674 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Upp_StuUni03_Preview_MRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Upp_StuUni03_Preview_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Upp_StuUni03_Preview_N.dds new file mode 100644 index 000000000..760ad316d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_HUM_M_Upp_StuUni03_Preview_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Young_M_Head_Generic00_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Young_M_Head_Generic00_SRXO.dds new file mode 100644 index 000000000..1949b9740 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Young_M_Head_Generic00_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Young_M_Head_Ivory_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Young_M_Head_Ivory_D.png new file mode 100644 index 000000000..b4ef295a6 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Young_M_Head_Ivory_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Young_M_Head_SC_SF_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Young_M_Head_SC_SF_N.dds new file mode 100644 index 000000000..1bb32a3f6 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/T_Young_M_Head_SC_SF_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/BaseFlattenNormalMap.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/BaseFlattenNormalMap.png new file mode 100644 index 000000000..d8e1fd944 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/BaseFlattenNormalMap.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely.bin new file mode 100644 index 000000000..f911850ab --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:afe1d6c2a3ba7373f85e7f03929f54d94847fdd0c43009c42687a1222ad9c7a5 +size 6144388 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely.fbx new file mode 100644 index 000000000..ed8279c8c --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ee1834acc50686b3df2fc7d2f8d602ce4476c74c5e93723cc3fab7cebef6752 +size 3004572 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely.xml new file mode 100644 index 000000000..ae9ff304f --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely.xml @@ -0,0 +1,276 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely_Anim.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely_Anim.bin new file mode 100644 index 000000000..e7329336d --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely_Anim.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cdb02cf9775ef266576a8d611877e3b605ffe813c3099710fe358252c35e9d5b +size 24606882 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely_Anim.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely_Anim.fbx new file mode 100644 index 000000000..4b012dfee --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely_Anim.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:56cb72de832d32b026b48dd055e447a815c50817d83cec31dcb0064ac17a28c9 +size 20338204 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_DefaultGrey_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_DefaultGrey_D.png new file mode 100644 index 000000000..b414d5691 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_DefaultGrey_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Eye_Iris_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Eye_Iris_D.png new file mode 100644 index 000000000..4bf9d62f9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Eye_Iris_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Eye_Sclera_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Eye_Sclera_D.png new file mode 100644 index 000000000..6e082532d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Eye_Sclera_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_F_Hair_ProHair02_Matilda_DAO_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_F_Hair_ProHair02_Matilda_DAO_MSK.dds new file mode 100644 index 000000000..68f0ce04c Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_F_Hair_ProHair02_Matilda_DAO_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_F_Hair_ProHair02_Matilda_THV_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_F_Hair_ProHair02_Matilda_THV_MSK.dds new file mode 100644 index 000000000..358bdd1e6 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_F_Hair_ProHair02_Matilda_THV_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_Head_Teeth_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_Head_Teeth_D.dds new file mode 100644 index 000000000..24effbef3 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_Head_Teeth_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_Head_Teeth_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_Head_Teeth_N.dds new file mode 100644 index 000000000..4d226e763 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_Head_Teeth_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_Head_Teeth_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_Head_Teeth_SRXO.dds new file mode 100644 index 000000000..a404651ed Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_Head_Teeth_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_M_Acc_Glasses01_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_M_Acc_Glasses01_D.dds new file mode 100644 index 000000000..4c20ec900 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_M_Acc_Glasses01_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_M_Acc_Glasses01_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_M_Acc_Glasses01_N.dds new file mode 100644 index 000000000..00692a518 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_M_Acc_Glasses01_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_M_Acc_Glasses01_SRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_M_Acc_Glasses01_SRO.dds new file mode 100644 index 000000000..404f133d3 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_HUM_M_Acc_Glasses01_SRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Old_F_Head_MWeasley2_WithHands_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Old_F_Head_MWeasley2_WithHands_N.dds new file mode 100644 index 000000000..afb2bed3b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Old_F_Head_MWeasley2_WithHands_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Old_F_Head_MWeasley_WithHands_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Old_F_Head_MWeasley_WithHands_D.dds new file mode 100644 index 000000000..2148b4e1e Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Old_F_Head_MWeasley_WithHands_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Old_F_Head_MWeasley_WithHands_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Old_F_Head_MWeasley_WithHands_N.dds new file mode 100644 index 000000000..f934ea627 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Old_F_Head_MWeasley_WithHands_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Old_F_Head_MWeasley_WithHands_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Old_F_Head_MWeasley_WithHands_SRXO.dds new file mode 100644 index 000000000..6bc37ad95 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Old_F_Head_MWeasley_WithHands_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Professor_MatildaWeasley_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Professor_MatildaWeasley_D.dds new file mode 100644 index 000000000..577f4a645 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Professor_MatildaWeasley_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Professor_MatildaWeasley_MRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Professor_MatildaWeasley_MRO.dds new file mode 100644 index 000000000..0bf976b2d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Professor_MatildaWeasley_MRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Professor_MatildaWeasley_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Professor_MatildaWeasley_N.dds new file mode 100644 index 000000000..30961fec5 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/MatildaWeasely/T_Professor_MatildaWeasley_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/BaseFlattenNormalMap.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/BaseFlattenNormalMap.png new file mode 100644 index 000000000..d8e1fd944 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/BaseFlattenNormalMap.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.bin new file mode 100644 index 000000000..2eb91d69c --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11f2c5bb62b72f94660bb3ea535998d05f4412f9db984d63d0eceb7eb759b25a +size 7617689 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.fbx new file mode 100644 index 000000000..6d41aca00 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d47f0e5cc7f9b390ae62700a1838309f19a36f14707a3b625f4f464a1c69090 +size 3172380 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.xml new file mode 100644 index 000000000..9b882f55e --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.xml @@ -0,0 +1,250 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack_Anim.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack_Anim.bin new file mode 100644 index 000000000..7737cbf3e --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack_Anim.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9e13a3fa99b0912d5526a8fe47974679eb8063aa31ddf8027b0ee443778a13ce +size 26060806 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack_Anim.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack_Anim.fbx new file mode 100644 index 000000000..082454353 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack_Anim.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:858c4dd36d6880563609062f889f09213bb91475120a64a12be42b9954494db8 +size 20493532 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_Adult_M_Head_PhineasBlack_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_Adult_M_Head_PhineasBlack_D.dds new file mode 100644 index 000000000..bd275c53e Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_Adult_M_Head_PhineasBlack_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_Adult_M_Head_PhineasBlack_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_Adult_M_Head_PhineasBlack_SRXO.dds new file mode 100644 index 000000000..093c67664 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_Adult_M_Head_PhineasBlack_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_DefaultGrey_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_DefaultGrey_D.png new file mode 100644 index 000000000..b414d5691 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_DefaultGrey_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_Eye_Iris_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_Eye_Iris_D.png new file mode 100644 index 000000000..4bf9d62f9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_Eye_Iris_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_Eye_Sclera_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_Eye_Sclera_D.png new file mode 100644 index 000000000..6e082532d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_Eye_Sclera_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_HUM_Head_Teeth_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_HUM_Head_Teeth_D.dds new file mode 100644 index 000000000..24effbef3 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_HUM_Head_Teeth_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_HUM_Head_Teeth_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_HUM_Head_Teeth_N.dds new file mode 100644 index 000000000..4d226e763 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_HUM_Head_Teeth_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_HUM_Head_Teeth_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_HUM_Head_Teeth_SRXO.dds new file mode 100644 index 000000000..a404651ed Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_HUM_Head_Teeth_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_HUM_M_Hair_PROHair05_HMBlack_DAO_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_HUM_M_Hair_PROHair05_HMBlack_DAO_MSK.dds new file mode 100644 index 000000000..08ac871e1 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_HUM_M_Hair_PROHair05_HMBlack_DAO_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_HUM_M_Hair_PROHair05_HMBlack_THV_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_HUM_M_Hair_PROHair05_HMBlack_THV_MSK.dds new file mode 100644 index 000000000..c22c4f8e2 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_HUM_M_Hair_PROHair05_HMBlack_THV_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_Head_PhineasBlack_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_Head_PhineasBlack_N.dds new file mode 100644 index 000000000..293c61544 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_Head_PhineasBlack_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_ProfBlack_Suit_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_ProfBlack_Suit_D.dds new file mode 100644 index 000000000..ee60da519 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_ProfBlack_Suit_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_ProfBlack_Suit_MROS.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_ProfBlack_Suit_MROS.dds new file mode 100644 index 000000000..f44dc3439 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_ProfBlack_Suit_MROS.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_ProfBlack_Suit_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_ProfBlack_Suit_N.dds new file mode 100644 index 000000000..4aaa3e288 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/PhineasBlack/T_ProfBlack_Suit_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/BaseFlattenNormalMap.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/BaseFlattenNormalMap.png new file mode 100644 index 000000000..d8e1fd944 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/BaseFlattenNormalMap.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.bin new file mode 100644 index 000000000..206e42fc9 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7269d0454e7ce722d99f31fe2a5403c854fd764f2215de4582671bddd8e6d273 +size 6854891 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.fbx new file mode 100644 index 000000000..3690b1141 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:634e2f2fc99cab3ba20303504c9abd963366ea623b79f103befeb338ab3dc1d1 +size 3274492 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.xml new file mode 100644 index 000000000..815d2a167 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.xml @@ -0,0 +1,326 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah_Anim.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah_Anim.bin new file mode 100644 index 000000000..a0568b890 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah_Anim.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff8aa994d383e8f857b625450998f97b711718bc4587f4268ef21a10e8baeeac +size 25316414 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah_Anim.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah_Anim.fbx new file mode 100644 index 000000000..eed074e75 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah_Anim.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3919e26202d846e6c965dbb2b736e93e1342007e8496f3d01a8fa085e4cf0e5f +size 20607084 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_DefaultGrey_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_DefaultGrey_D.png new file mode 100644 index 000000000..b414d5691 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_DefaultGrey_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Eye_Iris_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Eye_Iris_D.png new file mode 100644 index 000000000..4bf9d62f9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Eye_Iris_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Eye_Sclera_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Eye_Sclera_D.png new file mode 100644 index 000000000..6e082532d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Eye_Sclera_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_F_Hair_Shah_DAO_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_F_Hair_Shah_DAO_MSK.dds new file mode 100644 index 000000000..5cbf2b2f7 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_F_Hair_Shah_DAO_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_F_Hair_Shah_THV_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_F_Hair_Shah_THV_MSK.dds new file mode 100644 index 000000000..d653187b3 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_F_Hair_Shah_THV_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_Head_Teeth_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_Head_Teeth_D.dds new file mode 100644 index 000000000..24effbef3 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_Head_Teeth_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_Head_Teeth_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_Head_Teeth_N.dds new file mode 100644 index 000000000..4d226e763 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_Head_Teeth_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_Head_Teeth_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_Head_Teeth_SRXO.dds new file mode 100644 index 000000000..a404651ed Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_Head_Teeth_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_M_Acc_Glasses01_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_M_Acc_Glasses01_D.dds new file mode 100644 index 000000000..4c20ec900 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_M_Acc_Glasses01_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_M_Acc_Glasses01_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_M_Acc_Glasses01_N.dds new file mode 100644 index 000000000..00692a518 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_M_Acc_Glasses01_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_M_Acc_Glasses01_SRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_M_Acc_Glasses01_SRO.dds new file mode 100644 index 000000000..404f133d3 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_HUM_M_Acc_Glasses01_SRO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Old_F_Arms_Tan_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Old_F_Arms_Tan_D.png new file mode 100644 index 000000000..fb5e45ef6 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Old_F_Arms_Tan_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Old_F_Head_SatyavatiShah_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Old_F_Head_SatyavatiShah_D.png new file mode 100644 index 000000000..ce44cc456 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Old_F_Head_SatyavatiShah_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Old_F_Head_SatyavatiShah_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Old_F_Head_SatyavatiShah_N.dds new file mode 100644 index 000000000..cc2020513 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Old_F_Head_SatyavatiShah_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Old_F_Head_SatyavatiShah_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Old_F_Head_SatyavatiShah_SRXO.dds new file mode 100644 index 000000000..453f84b29 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Old_F_Head_SatyavatiShah_SRXO.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Lower_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Lower_D.dds new file mode 100644 index 000000000..2478113e4 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Lower_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Lower_MROS.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Lower_MROS.dds new file mode 100644 index 000000000..0cea336b1 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Lower_MROS.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Lower_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Lower_MSK.dds new file mode 100644 index 000000000..19ed90878 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Lower_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Lower_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Lower_N.dds new file mode 100644 index 000000000..d59812f08 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Lower_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Upper_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Upper_D.dds new file mode 100644 index 000000000..e03a87e04 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Upper_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Upper_MROS.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Upper_MROS.dds new file mode 100644 index 000000000..ec120a464 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Upper_MROS.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Upper_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Upper_MSK.dds new file mode 100644 index 000000000..ca1c11b26 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Upper_MSK.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Upper_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Upper_N.dds new file mode 100644 index 000000000..3c845317e Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Professor_SatyavatiShah_Upper_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Young_F_Arms_Ivory_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Young_F_Arms_Ivory_N.dds new file mode 100644 index 000000000..9fae5ab52 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Young_F_Arms_Ivory_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Young_F_Arms_Pro_SatyavatiShah_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Young_F_Arms_Pro_SatyavatiShah_SRXO.dds new file mode 100644 index 000000000..b146ba57a Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/SatyavatiShah/T_Young_F_Arms_Pro_SatyavatiShah_SRXO.dds differ 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 84a67412b..188c4c219 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:5de12debaa365a050c382275f3f5ea6f0d1837fb91455f97ec7ed6664ca0a125 -size 10647812 +oid sha256:f5bcb7334ffe4bc141c7dac961c6b4b34c5c65ad091dc77e51120d5ae1fd1f66 +size 10732279 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 421a1ac9e..1b271d937 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:78fb82fcf96c82e6150fcbb64add88abc6bc7c622c4b3eee282fe75c3aaf438e -size 6313116 +oid sha256:91f5d61f3bf321945e5c6b0bdf94afc0456cb2a7100cc4a8f846480af8e925cd +size 6356780 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl index 80babe0fc..56284fa88 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl @@ -231,7 +231,11 @@ struct PS_OUT_FLT4_DOUBLE struct PS_OUT_BLUR_X { float4 vBlurX : SV_TARGET0; - float4 vBlurWeight : SV_TARGET1; +}; +struct PS_OUT_BLUR_X_ENV +{ + float4 vBlurX : SV_TARGET0; + float fBlurWeight : SV_TARGET1; }; struct PS_OUT_SSAO_AMBIENT_OCCLUSION { @@ -956,13 +960,12 @@ PS_OUT_BLUR_X PS_MAIN_BLUR_X(PS_IN In) } Out.vBlurX = vColor; - Out.vBlurWeight = 0.f; return Out; } -PS_OUT_BLUR_X PS_MAIN_BLUR_X_ENV(PS_IN In) +PS_OUT_BLUR_X_ENV PS_MAIN_BLUR_X_ENV(PS_IN In) { - PS_OUT_BLUR_X Out; + PS_OUT_BLUR_X_ENV Out; float4 vDepthDesc = float4(0.f, 0.f, 0.f, 1.f); float3 vColor = float3(0.f, 0.f, 0.f); @@ -979,7 +982,7 @@ PS_OUT_BLUR_X PS_MAIN_BLUR_X_ENV(PS_IN In) if (false == AlmostEqual3(vCenter.a, fTerrain)) { // 터레인셀이 아니면 스킵 Out.vBlurX = vOriginal; - Out.vBlurWeight = 0.0f; + Out.fBlurWeight = 0.f; return Out; } @@ -994,7 +997,7 @@ PS_OUT_BLUR_X PS_MAIN_BLUR_X_ENV(PS_IN In) if (fBlurAmount <= FLT_EPSILON3) { // 최소치 이내면 블러 안함 Out.vBlurX = vOriginal; - Out.vBlurWeight = 0.0f; + Out.fBlurWeight = 0.f; return Out; } @@ -1024,7 +1027,7 @@ PS_OUT_BLUR_X PS_MAIN_BLUR_X_ENV(PS_IN In) if (fAcc <= FLT_EPSILON3) { // 블러 실패하면 원본값 씀 Out.vBlurX = vOriginal; - Out.vBlurWeight = 0.0f; + Out.fBlurWeight = 0.f; return Out; } else @@ -1046,7 +1049,7 @@ PS_OUT_BLUR_X PS_MAIN_BLUR_X_ENV(PS_IN In) float3 vFinalColor = lerp(vOriginal.rgb, vBlurAdjusted, fBlendAmount); Out.vBlurX = float4(vColor, fOriginalAlpha); - Out.vBlurWeight = fAcc; + Out.fBlurWeight = fAcc; return Out; } @@ -1157,7 +1160,6 @@ PS_OUT_BLUR_X PS_MAIN_BLUR_Y(PS_IN In) } Out.vBlurX = vColor; - Out.vBlurWeight = 0.f; return Out; } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl index f47253c30..74a75f3aa 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl @@ -200,169 +200,67 @@ VS_OUT VS_MAIN_LEGACY(VS_IN In) float sumW = max(dot(w, 1.0f), 1e-6f); w /= sumW; - uint4 idx = In.vBlendIndex; - - matrix BoneMatrix = (matrix) 0; - matrix TempBoneMatrix = (matrix) 0; - - int MinIdx = 30; - int MaxIdx = 41; - - if (idx.x >= MinIdx && idx.x <= MaxIdx) - //g_RobeBoneMask[idx.x] == 1) - { - TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.x], - mul(g_BoneMatrices[In.vBlendIndex.x], w.x)); - } - else - { - TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.x], - mul(g_BoneBuffer[In.vBlendIndex.x].LocalCombined, w.x)); - } - if (idx.y >= MinIdx && idx.y <= MaxIdx) - //if (g_RobeBoneMask[idx.y] == 1) - { - TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.y], - mul(g_BoneMatrices[In.vBlendIndex.y], w.y)); - } - else - { - TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.y], - mul(g_BoneBuffer[In.vBlendIndex.y].LocalCombined, w.y)); - } - if (idx.z >= MinIdx && idx.z <= MaxIdx) - //if (g_RobeBoneMask[idx.z] == 1) - { - TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.z], - mul(g_BoneMatrices[In.vBlendIndex.z], w.z)); - } - else - { - TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.z], - mul(g_BoneBuffer[In.vBlendIndex.z].LocalCombined, w.z)); - } - if (idx.w >= MinIdx && idx.w <= MaxIdx) - //if (g_RobeBoneMask[idx.w] == 1) - { - TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.w], - mul(g_BoneMatrices[In.vBlendIndex.w], w.w)); - } - else - { - TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.w], - mul(g_BoneBuffer[In.vBlendIndex.w].LocalCombined, w.w)); - } - - BoneMatrix = TempBoneMatrix; - + //uint4 idx = In.vBlendIndex; + //matrix BoneMatrix = (matrix) 0; + //matrix TempBoneMatrix = (matrix) 0; + + //uint MinIdx = 30; + //uint MaxIdx = 41; + + //if (idx.x >= MinIdx && idx.x <= MaxIdx) //{ - // uint iIndex = idx.x; - // float fWeight = w.x; - // if (isRobe) - // { - // if (29 == iIndex) - // { - // BoneMatrix += mul(fWeight, mul(g_OffsetMatrix[iIndex], g_BoneBuffer[iIndex].LocalCombined)); - - // } - // else - // { - // BoneMatrix += mul(fWeight, mul(g_OffsetMatrix[iIndex], g_BoneMatrices[iIndex])); - // } - // } - // else - // { - // BoneMatrix += mul(fWeight, mul(g_OffsetMatrix[iIndex], g_BoneBuffer[iIndex].LocalCombined)); - // } - //} - //{ - // uint iIndex = idx.y; - // float fWeight = w.y; - // if (isRobe) - // { - // if (29 == iIndex) - // { - // BoneMatrix += mul(fWeight, mul(g_OffsetMatrix[iIndex], g_BoneBuffer[iIndex].LocalCombined)); - - // } - // else - // { - // BoneMatrix += mul(fWeight, mul(g_OffsetMatrix[iIndex], g_BoneMatrices[iIndex])); - // } - // } - // else - // { - // BoneMatrix += mul(fWeight, mul(g_OffsetMatrix[iIndex], g_BoneBuffer[iIndex].LocalCombined)); - // } - //} - //{ - // uint iIndex = idx.z; - // float fWeight = w.z; - // if (isRobe) - // { - // if (29 == iIndex) - // { - // BoneMatrix += mul(fWeight, mul(g_OffsetMatrix[iIndex], g_BoneBuffer[iIndex].LocalCombined)); - - // } - // else - // { - // BoneMatrix += mul(fWeight, mul(g_OffsetMatrix[iIndex], g_BoneMatrices[iIndex])); - // } - // } - // else - // { - // BoneMatrix += mul(fWeight, mul(g_OffsetMatrix[iIndex], g_BoneBuffer[iIndex].LocalCombined)); - // } - //} - //{ - // uint iIndex = idx.w; - // float fWeight = w.w; - // if (isRobe) - // { - // if (29 == iIndex) - // { - // BoneMatrix += mul(fWeight, mul(g_OffsetMatrix[iIndex], g_BoneBuffer[iIndex].LocalCombined)); - - // } - // else - // { - // BoneMatrix += mul(fWeight, mul(g_OffsetMatrix[iIndex], g_BoneMatrices[iIndex])); - // } - // } - // else - // { - // BoneMatrix += mul(fWeight, mul(g_OffsetMatrix[iIndex], g_BoneBuffer[iIndex].LocalCombined)); - // } - //} - - //float robeWeight = - // g_RobeBoneMask[idx.x] * w.x - // + g_RobeBoneMask[idx.y] * w.y - // + g_RobeBoneMask[idx.z] * w.z - // + g_RobeBoneMask[idx.w] * w.w; - - //bool isRobe = robeWeight > g_TempWeight; - - //matrix BoneMatrix = (matrix) 0; - - //if (isRobe) - //{ - // BoneMatrix += w.x * mul(g_OffsetMatrix[idx.x], g_BoneMatrices[idx.x]); - // BoneMatrix += w.y * mul(g_OffsetMatrix[idx.y], g_BoneMatrices[idx.y]); - // BoneMatrix += w.z * mul(g_OffsetMatrix[idx.z], g_BoneMatrices[idx.z]); - // BoneMatrix += w.w * mul(g_OffsetMatrix[idx.w], g_BoneMatrices[idx.w]); + // TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.x], + // mul(g_BoneMatrices[In.vBlendIndex.x], w.x)); //} //else //{ - // BoneMatrix += w.x * mul(g_OffsetMatrix[idx.x], g_BoneBuffer[idx.x].LocalCombined); - // BoneMatrix += w.y * mul(g_OffsetMatrix[idx.y], g_BoneBuffer[idx.y].LocalCombined); - // BoneMatrix += w.z * mul(g_OffsetMatrix[idx.z], g_BoneBuffer[idx.z].LocalCombined); - // BoneMatrix += w.w * mul(g_OffsetMatrix[idx.w], g_BoneBuffer[idx.w].LocalCombined); + // TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.x], + // mul(g_BoneBuffer[In.vBlendIndex.x].LocalCombined, w.x)); //} - - + //if (idx.y >= MinIdx && idx.y <= MaxIdx) + //{ + // TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.y], + // mul(g_BoneMatrices[In.vBlendIndex.y], w.y)); + //} + //else + //{ + // TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.y], + // mul(g_BoneBuffer[In.vBlendIndex.y].LocalCombined, w.y)); + //} + //if (idx.z >= MinIdx && idx.z <= MaxIdx) + //{ + // TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.z], + // mul(g_BoneMatrices[In.vBlendIndex.z], w.z)); + //} + //else + //{ + // TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.z], + // mul(g_BoneBuffer[In.vBlendIndex.z].LocalCombined, w.z)); + //} + //if (idx.w >= MinIdx && idx.w <= MaxIdx) + //{ + // TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.w], + // mul(g_BoneMatrices[In.vBlendIndex.w], w.w)); + //} + //else + //{ + // TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.w], + // mul(g_BoneBuffer[In.vBlendIndex.w].LocalCombined, w.w)); + //} + + //BoneMatrix = TempBoneMatrix; + + matrix BoneMatrix = + mul(g_OffsetMatrix[In.vBlendIndex.x], + mul(g_BoneBuffer[In.vBlendIndex.x].LocalCombined, w.x)) + + mul(g_OffsetMatrix[In.vBlendIndex.y], + mul(g_BoneBuffer[In.vBlendIndex.y].LocalCombined, w.y)) + + mul(g_OffsetMatrix[In.vBlendIndex.z], + mul(g_BoneBuffer[In.vBlendIndex.z].LocalCombined, w.z)) + + mul(g_OffsetMatrix[In.vBlendIndex.w], + mul(g_BoneBuffer[In.vBlendIndex.w].LocalCombined, w.w)); + matrix PrevBoneMatrix = mul(g_OffsetMatrix[In.vBlendIndex.x], mul(g_PrevBoneMatrices[In.vBlendIndex.x], w.x)) @@ -402,65 +300,71 @@ VS_OUT VS_MAIN_LEGACY(VS_IN In) VS_OUT_SHADOW VS_MAIN_SHADOW_LEGACY(VS_IN In) { VS_OUT_SHADOW Out = (VS_OUT_SHADOW) 0; - + float4 w = In.vBlendWeight; float sumW = max(dot(w, 1.0f), 1e-6f); w /= sumW; - uint4 idx = In.vBlendIndex; + //uint4 idx = In.vBlendIndex; - matrix BoneMatrix = (matrix) 0; - matrix TempBoneMatrix = (matrix) 0; + //matrix BoneMatrix = (matrix) 0; + //matrix TempBoneMatrix = (matrix) 0; - int MinIdx = 30; - int MaxIdx = 41; + //uint MinIdx = 30; + //uint MaxIdx = 41; - if (idx.x >= MinIdx && idx.x <= MaxIdx) - //g_RobeBoneMask[idx.x] == 1) - { - TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.x], - mul(g_BoneMatrices[In.vBlendIndex.x], w.x)); - } - else - { - TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.x], - mul(g_BoneBuffer[In.vBlendIndex.x].LocalCombined, w.x)); - } - if (idx.y >= MinIdx && idx.y <= MaxIdx) - //if (g_RobeBoneMask[idx.y] == 1) - { - TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.y], - mul(g_BoneMatrices[In.vBlendIndex.y], w.y)); - } - else - { - TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.y], - mul(g_BoneBuffer[In.vBlendIndex.y].LocalCombined, w.y)); - } - if (idx.z >= MinIdx && idx.z <= MaxIdx) - //if (g_RobeBoneMask[idx.z] == 1) - { - TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.z], - mul(g_BoneMatrices[In.vBlendIndex.z], w.z)); - } - else - { - TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.z], - mul(g_BoneBuffer[In.vBlendIndex.z].LocalCombined, w.z)); - } - if (idx.w >= MinIdx && idx.w <= MaxIdx) - //if (g_RobeBoneMask[idx.w] == 1) - { - TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.w], - mul(g_BoneMatrices[In.vBlendIndex.w], w.w)); - } - else - { - TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.w], + //if (idx.x >= MinIdx && idx.x <= MaxIdx) + //{ + // TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.x], + // mul(g_BoneMatrices[In.vBlendIndex.x], w.x)); + //} + //else + //{ + // TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.x], + // mul(g_BoneBuffer[In.vBlendIndex.x].LocalCombined, w.x)); + //} + //if (idx.y >= MinIdx && idx.y <= MaxIdx) + //{ + // TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.y], + // mul(g_BoneMatrices[In.vBlendIndex.y], w.y)); + //} + //else + //{ + // TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.y], + // mul(g_BoneBuffer[In.vBlendIndex.y].LocalCombined, w.y)); + //} + //if (idx.z >= MinIdx && idx.z <= MaxIdx) + //{ + // TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.z], + // mul(g_BoneMatrices[In.vBlendIndex.z], w.z)); + //} + //else + //{ + // TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.z], + // mul(g_BoneBuffer[In.vBlendIndex.z].LocalCombined, w.z)); + //} + //if (idx.w >= MinIdx && idx.w <= MaxIdx) + //{ + // TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.w], + // mul(g_BoneMatrices[In.vBlendIndex.w], w.w)); + //} + //else + //{ + // TempBoneMatrix += mul(g_OffsetMatrix[In.vBlendIndex.w], + // mul(g_BoneBuffer[In.vBlendIndex.w].LocalCombined, w.w)); + //} + + //BoneMatrix = TempBoneMatrix; + + matrix BoneMatrix = + mul(g_OffsetMatrix[In.vBlendIndex.x], + mul(g_BoneBuffer[In.vBlendIndex.x].LocalCombined, w.x)) + + mul(g_OffsetMatrix[In.vBlendIndex.y], + mul(g_BoneBuffer[In.vBlendIndex.y].LocalCombined, w.y)) + + mul(g_OffsetMatrix[In.vBlendIndex.z], + mul(g_BoneBuffer[In.vBlendIndex.z].LocalCombined, w.z)) + + mul(g_OffsetMatrix[In.vBlendIndex.w], mul(g_BoneBuffer[In.vBlendIndex.w].LocalCombined, w.w)); - } - - BoneMatrix = TempBoneMatrix; vector vPosition = mul(vector(In.vPosition, 1.f), BoneMatrix); vector vNormal = mul(vector(In.vNormal, 0.f), BoneMatrix); diff --git a/Jusin154_Team3D/Editor/Private/Effect_Container.cpp b/Jusin154_Team3D/Editor/Private/Effect_Container.cpp index 6975598f0..09a8cd3f8 100644 --- a/Jusin154_Team3D/Editor/Private/Effect_Container.cpp +++ b/Jusin154_Team3D/Editor/Private/Effect_Container.cpp @@ -454,8 +454,6 @@ void CEffect_Container::Update_Event(_float fTimeDelta) pPair.second(); } } - - } ON_COLLISION_INFO CEffect_Container::SweepTarget(_vector StartPos, _vector EndPos, _float fRadius, _bool isTerrainCollision) diff --git a/Jusin154_Team3D/Editor/Private/InstancedProp.cpp b/Jusin154_Team3D/Editor/Private/InstancedProp.cpp index df2bb1763..7c696d9d3 100644 --- a/Jusin154_Team3D/Editor/Private/InstancedProp.cpp +++ b/Jusin154_Team3D/Editor/Private/InstancedProp.cpp @@ -127,8 +127,6 @@ HRESULT CInstancedProp::Ready_Components(void* pArg) reinterpret_cast(&m_pVIBufferInstanceCom)))) return E_FAIL; - - /* Com_Shader */ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, FX_INSTANCE_PROP_MODEL, reinterpret_cast(&m_pShaderCom)))) diff --git a/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp index 83f202bb3..68be8bbd7 100644 --- a/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp @@ -68,9 +68,9 @@ HRESULT CLevel_MapViewer::Initialize() return E_FAIL; } - /*if (FAILED(Ready_Layer_InstanceProp(TEXT("Layer_InstanceProp")))) { + if (FAILED(Ready_Layer_InstanceProp(TEXT("Layer_InstanceProp")))) { return E_FAIL; - }*/ + } //if (FAILED(Ready_Layer_BuildingContainer(TEXT("Layer_Building")))) { // return E_FAIL; @@ -148,7 +148,7 @@ HRESULT CLevel_MapViewer::Ready_Layer_Terrain(const _wstring& strLayerTag) CTerrain::TERRAIN_DESC Desc = {}; ///* Hogsmeade */ - Desc.isEdit = false; + Desc.isEdit = true; Desc.iAlphaSizeX = 2048; Desc.iAlphaSizeY = 2048; Desc.vPosition = _float3(-194, 18.5f, -153.f); @@ -427,27 +427,27 @@ HRESULT CLevel_MapViewer::Ready_Layer_InstanceProp(const _wstring& strLayerTag) CInstancedProp_Light::INSTANCE_PROP_LIGHT_DESC LightDesc = {}; - ///* LightPost */ - //LightDesc.bEditMode = false; - //LightDesc.isShake = false; - //LightDesc.iGlassMeshIndex = 0; - //LightDesc.vRadius = _float2(0.f, 0.f); - //LightDesc.vSpeed = _float2(0.f, 0.f); - //LightDesc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_LightPost"; - //LightDesc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Light_Post_Floating.bin"; - //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &LightDesc))) - // return E_FAIL; + /* LightPost */ + LightDesc.bEditMode = false; + LightDesc.isShake = false; + LightDesc.iGlassMeshIndex = 0; + LightDesc.vRadius = _float2(0.f, 0.f); + LightDesc.vSpeed = _float2(0.f, 0.f); + LightDesc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_LightPost"; + LightDesc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/LightPost.bin"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &LightDesc))) + return E_FAIL; - ///* LightPost_Floating */ - //LightDesc.bEditMode = false; - //LightDesc.isShake = false; - //LightDesc.iGlassMeshIndex = 1; - //LightDesc.vRadius = _float2(0.f, 0.f); - //LightDesc.vSpeed = _float2(0.f, 0.f); - //LightDesc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_Light_Post_Floating"; - //LightDesc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/LightPost.bin"; - //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &LightDesc))) - // return E_FAIL; + /* LightPost_Floating */ + LightDesc.bEditMode = false; + LightDesc.isShake = false; + LightDesc.iGlassMeshIndex = 1; + LightDesc.vRadius = _float2(0.f, 0.f); + LightDesc.vSpeed = _float2(0.f, 0.f); + LightDesc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_Light_Post_Floating"; + LightDesc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Light_Post_Floating.bin"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &LightDesc))) + return E_FAIL; return S_OK; } diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp index 9a4d4c9bd..c125b1433 100644 --- a/Jusin154_Team3D/Editor/Private/Loader.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader.cpp @@ -2952,7 +2952,7 @@ HRESULT CLoader::Loading_For_MapViewer() #pragma endregion -_bool bLoadHogsmeade = false; +_bool bLoadHogsmeade = true; if (bLoadHogsmeade) { #pragma region HOGSMEADE_OBJECT @@ -3342,7 +3342,7 @@ vector> jobFutures; _uint iLoadCount = 44; vector*> Contents(iLoadCount); -_bool isLoad_Map = { false }; +_bool isLoad_Map = { true }; if(isLoad_Map) { { /* Terrain */ diff --git a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp index 47f289944..3d270c958 100644 --- a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp @@ -116,12 +116,6 @@ HRESULT CLoader::Loading_For_ObjectViewer() TEXT("Prototype_Component_Professor_EleazarFig_Model") )); - futures.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.bin",XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - TEXT("Prototype_Component_Ghost_Peeves_Model") - )); - - #pragma endregion futures.emplace_back(Deferred_ModelLoad( @@ -183,10 +177,10 @@ HRESULT CLoader::Loading_For_ObjectViewer() TEXT("Prototype_Component_GerboldOlivander_Model") )); - futures.emplace_back(Deferred_ModelLoad( - MODEL::ANIM, "../Bin/Resources/Models/Object/Camera/Camera.bin", XMMatrixIdentity(), - TEXT("Prototype_Component_Camera_Model") - )); + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Object/Camera/Camera.bin", XMMatrixIdentity(), + // TEXT("Prototype_Component_Camera_Model") + //)); //futures.emplace_back(Deferred_ModelLoad( // MODEL::ANIM, "../Bin/Resources/Models/Object/Camera/Camera_Spell.fbx", XMMatrixIdentity(), @@ -202,11 +196,55 @@ HRESULT CLoader::Loading_For_ObjectViewer() CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Object/Camera/CCL_CameraRig.001.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) return E_FAIL; + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Camera_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Object/Camera/Camera.bin", XMMatrixIdentity())))) + return E_FAIL; + futures.emplace_back(Deferred_ModelLoad( MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(), TEXT("Prototype_Component_Playable_Model") )); + futures.emplace_back(Deferred_ModelLoad( + MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/MatildaWeasely/MatildaWeasely.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + TEXT("Prototype_Component_MatildaWeasely_Model") + )); + + futures.emplace_back(Deferred_ModelLoad( + MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/SatyavatiShah/SatyavatiShah.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + TEXT("Prototype_Component_SatyavatiShah_Model") + )); + + futures.emplace_back(Deferred_ModelLoad( + MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + TEXT("Prototype_Component_PhineasBlack_Model") + )); + + futures.emplace_back(Deferred_ModelLoad( + MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/ChiyoKogawa/ChiyoKogawa.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + TEXT("Prototype_Component_ChiyoKogawa_Model") + )); + + futures.emplace_back(Deferred_ModelLoad( + MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Ghost_Peeves/Ghost_Peeves.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + TEXT("Prototype_Component_Ghost_Peeves_Model") + )); + + futures.emplace_back(Deferred_ModelLoad( + MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/M_Student/M_Student.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + TEXT("Prototype_Component_M_Student_Model") + )); + futures.emplace_back(Deferred_ModelLoad( + MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/F_Student/F_Student.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + TEXT("Prototype_Component_F_Student_Model") + )); + + futures.emplace_back(Deferred_ModelLoad( + MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Elf/Elf.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + TEXT("Prototype_Component_Elf_Model") + )); + + //futures.emplace_back(Deferred_ModelLoad( // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_Rct.fbx", XMMatrixIdentity(), // TEXT("Prototype_Component_Student_Cmbt_Model") @@ -252,10 +290,10 @@ HRESULT CLoader::Loading_For_ObjectViewer() // TEXT("Prototype_Component_Student_Cmbt_Model") //)); - //futures.emplace_back(Deferred_ModelLoad( - // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_AvadaKedavra.fbx", XMMatrixIdentity(), - // TEXT("Prototype_Component_Student_Cmbt_Model") - //)); + /*futures.emplace_back(Deferred_ModelLoad( + MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_AvadaKedavra.fbx", XMMatrixIdentity(), + TEXT("Prototype_Component_Student_Cmbt_Model") + ));*/ for (auto& job : futures) { pair<_wstring, CModel*>* pResult = job.get(); diff --git a/Jusin154_Team3D/Editor/Private/MapObject_LOD.cpp b/Jusin154_Team3D/Editor/Private/MapObject_LOD.cpp index 103ece47a..ec9495c9d 100644 --- a/Jusin154_Team3D/Editor/Private/MapObject_LOD.cpp +++ b/Jusin154_Team3D/Editor/Private/MapObject_LOD.cpp @@ -407,7 +407,7 @@ void CMapObject_LOD::Describe_Entity() _wstring dest = CMyTools::ToWstring(m_pModelComs[iModelIndex]->Get_MeshName(iMeshIndex) + to_string(iMeshIndex)).c_str(); Desc.pMeshName = dest.c_str(); Desc.iSubKind = 998; - + Desc.pWorldMatrix = m_pTransformCom->Get_WorldMatrixPtr(); if (FAILED(Add_Asset_Component(g_iStaticLevel, Desc.pMeshName, nullptr, &Desc))) { assert(false); } diff --git a/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp b/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp index 183133faf..82d8af06c 100644 --- a/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp +++ b/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp @@ -65,9 +65,9 @@ HRESULT CMapObject_Manager::Initialize(void* pArg) m_iContainerObjectIndex = 99; - /*if (FAILED(Load_MapData("Hogsmeade_MapContainer_Data", LAYER_HOGSMEADE))) + if (FAILED(Load_MapData("Hogsmeade_MapContainer_Data", LAYER_HOGSMEADE))) return E_FAIL; - */ + //m_pContainer = m_pGameInstance->Get_Layer(ENUM_CLASS(LEVEL::MAP), TEXT("Layer_Building"))->Get_Object(); diff --git a/Jusin154_Team3D/Editor/Private/Terrain.cpp b/Jusin154_Team3D/Editor/Private/Terrain.cpp index c6ba187c0..479672b13 100644 --- a/Jusin154_Team3D/Editor/Private/Terrain.cpp +++ b/Jusin154_Team3D/Editor/Private/Terrain.cpp @@ -64,6 +64,7 @@ HRESULT CTerrain::Initialize(void* pArg) CRigidBody_Static::RIGIDBODY_STATIC_DESC Desc{}; Desc.pMeshName = TEXT("Hogsmeade_HeightMap"); Desc.iSubKind = ENUM_CLASS(PXOBJECT::TERRAIN); + Desc.pWorldMatrix = m_pTransformCom->Get_WorldMatrixPtr(); /* Com_RigidBody */ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_RigidBody_Static_Terrain_Hogsmeade"), reinterpret_cast(&m_pRigidBody), &Desc))) { @@ -305,36 +306,35 @@ void CTerrain::Describe_Entity() GUI::Begin("Terrain"); #pragma region ALPHA_MAP - GUI::InputInt("Color", &m_iColorIndex); - m_iColorIndex = max(0, min(4, m_iColorIndex)); + //GUI::InputInt("Color", &m_iColorIndex); + //m_iColorIndex = max(0, min(4, m_iColorIndex)); GUI::InputInt("Rnage", (_int*)(&m_iMaskRange)); - GUI::DragFloat("Value", &m_fMaskValue, 0.01f, -1.0f, 1.f); - if (GUI::Button("Save", ImVec2(100.f, 30.f))) - { - m_pAlphaMap->Save_ToFile("Hogwart_AlphaMap.bin"); - } - if (GUI::Button("Load", ImVec2(100.f, 30.f))) - { - m_pAlphaMap->Load_ToFile("Hogwart_AlphaMap.bin"); - } + //GUI::DragFloat("Value", &m_fMaskValue, 0.01f, -1.0f, 1.f); + //if (GUI::Button("Save", ImVec2(100.f, 30.f))) + //{ + // m_pAlphaMap->Save_ToFile("Hogwart_AlphaMap.bin"); + //} + //if (GUI::Button("Load", ImVec2(100.f, 30.f))) + //{ + // m_pAlphaMap->Load_ToFile("Hogwart_AlphaMap.bin"); + //} - m_iMaskRange = max(1, m_iMaskRange); - GUI::DragFloat("Up", &m_fUpValue, 0.01f, -1.0f, 1.f); + m_iMaskRange = max(0, m_iMaskRange); + GUI::InputFloat("Up Value", &m_fUpValue, 0.001f, 0.1f); if (m_pGameInstance->Mouse_Pressing(DIM_LBUTTON)) { if (m_pGameInstance->isPicking(&m_vPickingPosition)) { - //if (m_pGameInstance->Key_Pressing(DIK_PERIOD)) - // m_pVIBufferCom->FitY(m_pTransformCom->Get_XMWorldMatrix(), m_fUpValue, m_vPickingPosition, m_iMaskRange); - //if (m_pGameInstance->Key_Pressing(DIK_COMMA)) - // m_pVIBufferCom->FitY(m_pTransformCom->Get_XMWorldMatrix(), m_fUpValue * -1.f, m_vPickingPosition, m_iMaskRange); + if (m_pGameInstance->Key_Pressing(DIK_PERIOD)) + m_pVIBufferCom->FitY(m_pTransformCom->Get_XMWorldMatrix(), m_fUpValue, m_vPickingPosition, m_iMaskRange); + if (m_pGameInstance->Key_Pressing(DIK_COMMA)) + m_pVIBufferCom->FitY(m_pTransformCom->Get_XMWorldMatrix(), m_fUpValue * -1.f, m_vPickingPosition, m_iMaskRange); - - XMStoreFloat3(&m_vPickingPosition, XMVector3TransformCoord(XMLoadFloat3(&m_vPickingPosition), m_pTransformCom->Get_WorldMatrixInv())); - if(m_pGameInstance->Key_Pressing(DIK_M)) - m_pAlphaMap->Update(m_vPickingPosition, m_iColorIndex, m_fMaskValue, m_iMaskRange); + //XMStoreFloat3(&m_vPickingPosition, XMVector3TransformCoord(XMLoadFloat3(&m_vPickingPosition), m_pTransformCom->Get_WorldMatrixInv())); + //if(m_pGameInstance->Key_Pressing(DIK_M)) + // m_pAlphaMap->Update(m_vPickingPosition, m_iColorIndex, m_fMaskValue, m_iMaskRange); } } @@ -343,9 +343,9 @@ void CTerrain::Describe_Entity() #pragma region HEIGHT MAP HRESULT hr = {}; if(GUI::Button("Save HeightMap")) - hr = m_pVIBufferCom->Save_HeightMap("Hogwart_HeightMap.bin"); + hr = m_pVIBufferCom->Save_HeightMap("Hogsmeade_HeightMap.bin"); if(GUI::Button("Load HeightMap")) - hr = m_pVIBufferCom->Load_HeightMap("Hogwart_HeightMap.bin"); + hr = m_pVIBufferCom->Load_HeightMap("Hogsmeade_HeightMap.bin"); #pragma endregion _float4 vPos = {}; diff --git a/Jusin154_Team3D/Editor/Public/InstancedProp.h b/Jusin154_Team3D/Editor/Public/InstancedProp.h index 30722e8e4..b672c09c8 100644 --- a/Jusin154_Team3D/Editor/Public/InstancedProp.h +++ b/Jusin154_Team3D/Editor/Public/InstancedProp.h @@ -17,6 +17,7 @@ class CInstancedProp final : public CGameObject typedef struct tagInstancedPropDesc { _bool bEditMode{}; + _bool isAddCollider{}; _bool isShake; _float2 vRadius; _float2 vSpeed; diff --git a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl index 80babe0fc..56284fa88 100644 --- a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl +++ b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl @@ -231,7 +231,11 @@ struct PS_OUT_FLT4_DOUBLE struct PS_OUT_BLUR_X { float4 vBlurX : SV_TARGET0; - float4 vBlurWeight : SV_TARGET1; +}; +struct PS_OUT_BLUR_X_ENV +{ + float4 vBlurX : SV_TARGET0; + float fBlurWeight : SV_TARGET1; }; struct PS_OUT_SSAO_AMBIENT_OCCLUSION { @@ -956,13 +960,12 @@ PS_OUT_BLUR_X PS_MAIN_BLUR_X(PS_IN In) } Out.vBlurX = vColor; - Out.vBlurWeight = 0.f; return Out; } -PS_OUT_BLUR_X PS_MAIN_BLUR_X_ENV(PS_IN In) +PS_OUT_BLUR_X_ENV PS_MAIN_BLUR_X_ENV(PS_IN In) { - PS_OUT_BLUR_X Out; + PS_OUT_BLUR_X_ENV Out; float4 vDepthDesc = float4(0.f, 0.f, 0.f, 1.f); float3 vColor = float3(0.f, 0.f, 0.f); @@ -979,7 +982,7 @@ PS_OUT_BLUR_X PS_MAIN_BLUR_X_ENV(PS_IN In) if (false == AlmostEqual3(vCenter.a, fTerrain)) { // 터레인셀이 아니면 스킵 Out.vBlurX = vOriginal; - Out.vBlurWeight = 0.0f; + Out.fBlurWeight = 0.f; return Out; } @@ -994,7 +997,7 @@ PS_OUT_BLUR_X PS_MAIN_BLUR_X_ENV(PS_IN In) if (fBlurAmount <= FLT_EPSILON3) { // 최소치 이내면 블러 안함 Out.vBlurX = vOriginal; - Out.vBlurWeight = 0.0f; + Out.fBlurWeight = 0.f; return Out; } @@ -1024,7 +1027,7 @@ PS_OUT_BLUR_X PS_MAIN_BLUR_X_ENV(PS_IN In) if (fAcc <= FLT_EPSILON3) { // 블러 실패하면 원본값 씀 Out.vBlurX = vOriginal; - Out.vBlurWeight = 0.0f; + Out.fBlurWeight = 0.f; return Out; } else @@ -1046,7 +1049,7 @@ PS_OUT_BLUR_X PS_MAIN_BLUR_X_ENV(PS_IN In) float3 vFinalColor = lerp(vOriginal.rgb, vBlurAdjusted, fBlendAmount); Out.vBlurX = float4(vColor, fOriginalAlpha); - Out.vBlurWeight = fAcc; + Out.fBlurWeight = fAcc; return Out; } @@ -1157,7 +1160,6 @@ PS_OUT_BLUR_X PS_MAIN_BLUR_Y(PS_IN In) } Out.vBlurX = vColor; - Out.vBlurWeight = 0.f; return Out; } diff --git a/Jusin154_Team3D/Engine/Private/GameInstance.cpp b/Jusin154_Team3D/Engine/Private/GameInstance.cpp index b19fbb64d..fefd22ef9 100644 --- a/Jusin154_Team3D/Engine/Private/GameInstance.cpp +++ b/Jusin154_Team3D/Engine/Private/GameInstance.cpp @@ -1065,6 +1065,10 @@ PSX::PxRigidStatic* CGameInstance::Add_StaticActor(CRigidBody_Static& RigidBody, { return m_pPhysX_Manager->Add_StaticActor(RigidBody, iLevel); } +PSX::PxRigidStatic* CGameInstance::Add_StaticActor(CRigidBody_Static& RigidBody, _uint iLevel, const _float4x4* pWorldMatrix) +{ + return m_pPhysX_Manager->Add_StaticActor(RigidBody, iLevel, pWorldMatrix); +} PSX::PxJoint* CGameInstance::Create_PxJoint(PHYSX_JOINT eType, PSX::PxRigidActor* pActor0, PSX::PxTransform& pxLocalFrame0, PSX::PxRigidActor* pActor1, PSX::PxTransform& pxLocalFrame1) { return m_pPhysX_Manager->Create_PxJoint(eType, pActor0, pxLocalFrame0, pActor1, pxLocalFrame1); diff --git a/Jusin154_Team3D/Engine/Private/Motion_Trail.cpp b/Jusin154_Team3D/Engine/Private/Motion_Trail.cpp index 9324c7311..24eb9da4b 100644 --- a/Jusin154_Team3D/Engine/Private/Motion_Trail.cpp +++ b/Jusin154_Team3D/Engine/Private/Motion_Trail.cpp @@ -230,4 +230,6 @@ void CMotion_Trail::Free() void CMotion_Trail::Describe_Entity() { } -#endif // DEBUG +#endif // _DEBUG + + diff --git a/Jusin154_Team3D/Engine/Private/PhysX_Manager.cpp b/Jusin154_Team3D/Engine/Private/PhysX_Manager.cpp index a6a4cc748..50a435252 100644 --- a/Jusin154_Team3D/Engine/Private/PhysX_Manager.cpp +++ b/Jusin154_Team3D/Engine/Private/PhysX_Manager.cpp @@ -72,7 +72,6 @@ PSX::PxRigidStatic* CPhysX_Manager::Add_StaticActor(CRigidBody_Static& RigidBody _matrix WorldMatrix = RigidBody.Get_TransformPtr()->Get_XMWorldMatrix(); PSX::PxTransform pxWorldMatrix = XMWorldToPx_NoScaleNoFlip(WorldMatrix); - // PxRigidStatic 씬의 정적 바디 인터페이스 PSX::PxRigidStatic* pActorStatic = m_pPhysics->createRigidStatic(pxWorldMatrix); PSX::PxShape* pShape = { nullptr }; @@ -146,6 +145,85 @@ PSX::PxRigidStatic* CPhysX_Manager::Add_StaticActor(CRigidBody_Static& RigidBody return pActorStatic; } +PSX::PxRigidStatic* CPhysX_Manager::Add_StaticActor(CRigidBody_Static& RigidBody, _uint iLevel, const _float4x4* pWorldMatrix) +{ + _matrix WorldMatrix = XMLoadFloat4x4(pWorldMatrix); + + PSX::PxTransform pxWorldMatrix = XMWorldToPx_NoScaleNoFlip(WorldMatrix); + + // PxRigidStatic 씬의 정적 바디 인터페이스 + PSX::PxRigidStatic* pActorStatic = m_pPhysics->createRigidStatic(pxWorldMatrix); + PSX::PxShape* pShape = { nullptr }; + PSX::PxGeometry* pGeometry = { nullptr }; + + switch (RigidBody.Get_Type()) + { + case ACTOR::PLANE: + break; + case ACTOR::TRIANGLEMESH: + { // SetUp Geometry + PSX::PxTriangleMesh* pPxMesh = Find_TriangleMesh(RigidBody.Get_PxMeshKey(), iLevel); + PSX::PxTriangleMeshGeometry* pPxMeshGeometry = { nullptr }; + + _vector vPos, vRotq, vScale; + XMMatrixDecompose(&vScale, &vRotq, &vPos, WorldMatrix); + vRotq = XMQuaternionNormalize(vRotq); + + PSX::PxTransform out; + XMStoreFloat3((_float3*)&out.p, vPos); + XMStoreFloat4((_float4*)&out.q, vRotq); + PSX::PxMeshScale meshScale( + PSX::PxVec3(fabsf(vScale.m128_f32[0]), fabsf(vScale.m128_f32[1]), fabsf(vScale.m128_f32[2])), + PSX::PxQuat(PSX::PxIdentity) // 스케일 축은 로컬 기준 + ); + pPxMeshGeometry = new PSX::PxTriangleMeshGeometry(pPxMesh, meshScale); + + // GeoFlag 중 더블사이드는 이제 지원 안함, 할거면 노말 뒤집어서 하라고 함 + // pPxMeshGeometry->meshFlags |= PSX::PxMeshGeometryFlag::eDOUBLE_SIDED; + // 유효성 체크 + PX_ASSERT(pPxMeshGeometry->isValid()); + pGeometry = pPxMeshGeometry; + _bool bEmplaceSuccess = m_TriangleMeshGeometry[iLevel].emplace(RigidBody.Get_PxMeshKey(), pPxMeshGeometry).second; + if (false == bEmplaceSuccess) { + Safe_Delete(pPxMeshGeometry); + pGeometry = (*m_TriangleMeshGeometry[iLevel].find(RigidBody.Get_PxMeshKey())).second; + } + } + break; + case ACTOR::HEIGHTFIELD: + { // SetUp HeightField + PSX::PxHeightField* pHeightField = Find_HeightField(RigidBody.Get_PxMeshKey(), iLevel); + PSX::PxHeightFieldGeometry* pPxHeightGeometry = new PSX::PxHeightFieldGeometry(pHeightField); + pPxHeightGeometry->heightScale = 0.01f/* 기본 정밀도 100배 0.01 -> 1cm, 1 -> 1m */; + + // 유효성 체크 + PX_ASSERT(pPxHeightGeometry->isValid()); + pGeometry = pPxHeightGeometry; + _bool bEmplaceSuccess = m_HeightFieldGeometry[iLevel].emplace(RigidBody.Get_PxMeshKey(), pPxHeightGeometry).second; + if (false == bEmplaceSuccess) { + Safe_Delete(pPxHeightGeometry); + pGeometry = (*m_HeightFieldGeometry[iLevel].find(RigidBody.Get_PxMeshKey())).second; + } + } + break; + default: + assert(false); + break; + } + + pShape = PSX::PxRigidActorExt::createExclusiveShape(*pActorStatic, *pGeometry, *m_pMaterials[ENUM_CLASS(RigidBody.Get_MaterialType())]); + + pShape->setFlags(RigidBody.Get_ShapeFlags()); + pShape->setContactOffset(RigidBody.Get_ContactOffset()); + pShape->setRestOffset(0.f); + + m_pRestBodies[iLevel].insert(pActorStatic); + ApplyFilterData(pActorStatic); + Attach_Actor(*pActorStatic, iLevel); + + return pActorStatic; +} + PSX::PxJoint* CPhysX_Manager::Create_PxJoint(PHYSX_JOINT eType, PSX::PxRigidActor* pActor0, PSX::PxTransform& pxLocalFrame0, PSX::PxRigidActor* pActor1, PSX::PxTransform& pxLocalFrame1) { PSX::PxJoint* pOut = { nullptr }; @@ -233,6 +311,9 @@ _bool CPhysX_Manager::SphereCast(_float fRadius, _float3 vStartPos, _float3 vDir _bool CPhysX_Manager::SphereCast(_float fRadius, _fvector _vStartPos, _gvector _vDir, _float fDistance, PSX::PxHitFlags flagHitsData, PSX::PxQueryFlags flagQuery, PSX::PxSweepBuffer& hitBuffer) { + if (fDistance < FLT_EPSILON3) { + return false; + } _float3 vDir = {}; _float3 vStartPos = {}; @@ -766,6 +847,7 @@ HRESULT CPhysX_Manager::Initialize(_uint iLevel) PxInitExtensions(*m_pPhysics, m_pPvd); m_pCookingParam = new PSX::PxCookingParams(m_pPhysics->getTolerancesScale()); + m_pCookingParam->meshWeldTolerance = FLT_EPSILON3; m_pCookingParam->meshPreprocessParams |= PSX::PxMeshPreprocessingFlag::eWELD_VERTICES; PSX::PxSceneDesc sceneDesc = { m_pPhysics->getTolerancesScale() }; diff --git a/Jusin154_Team3D/Engine/Private/RenderTarget_Manager.cpp b/Jusin154_Team3D/Engine/Private/RenderTarget_Manager.cpp index 497c93e9f..2f0e60a33 100644 --- a/Jusin154_Team3D/Engine/Private/RenderTarget_Manager.cpp +++ b/Jusin154_Team3D/Engine/Private/RenderTarget_Manager.cpp @@ -516,6 +516,24 @@ HRESULT CRenderTarget_Manager::Finish_RenderTarget(CVIBuffer_Rect* pVIBuffer, CS return S_OK; } +void CRenderTarget_Manager::Flush_All_SRVs(_uint iStartSlot, _uint numSlots) +{ + ID3D11ShaderResourceView* nullSrvs[D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT] = {}; + + m_pContext->VSSetShaderResources(iStartSlot, numSlots, nullSrvs); + m_pContext->PSSetShaderResources(iStartSlot, numSlots, nullSrvs); + m_pContext->GSSetShaderResources(iStartSlot, numSlots, nullSrvs); + m_pContext->HSSetShaderResources(iStartSlot, numSlots, nullSrvs); + m_pContext->DSSetShaderResources(iStartSlot, numSlots, nullSrvs); + m_pContext->CSSetShaderResources(iStartSlot, numSlots, nullSrvs); +} + +void CRenderTarget_Manager::Flush_All_CSUAVs(_uint iStartSlot, _uint numSlots) +{ + ID3D11UnorderedAccessView* nullUavs[D3D11_PS_CS_UAV_REGISTER_COUNT] = {}; + m_pContext->CSSetUnorderedAccessViews(iStartSlot, numSlots, nullUavs, nullptr); +} + HRESULT CRenderTarget_Manager::End_MRT() { @@ -525,7 +543,8 @@ HRESULT CRenderTarget_Manager::End_MRT() SAFE_RELEASE(m_pBackBufferRTV); SAFE_RELEASE(m_pOriginalDSV); - + Flush_All_SRVs(); + Flush_All_CSUAVs(); return S_OK; } diff --git a/Jusin154_Team3D/Engine/Private/Renderer.cpp b/Jusin154_Team3D/Engine/Private/Renderer.cpp index d6cc5d868..5aa77bf21 100644 --- a/Jusin154_Team3D/Engine/Private/Renderer.cpp +++ b/Jusin154_Team3D/Engine/Private/Renderer.cpp @@ -667,8 +667,11 @@ void CRenderer::Render_NonLight() m_eType = RENDER::NONLIGHT; for (auto& pRenderObject : m_RenderObjects[ENUM_CLASS(RENDER::NONLIGHT)]) { - if (nullptr != pRenderObject) - pRenderObject->Render(); + if (nullptr != pRenderObject){ + if (FAILED(pRenderObject->Render())) { + assert(false); + } + } SAFE_RELEASE(pRenderObject); } diff --git a/Jusin154_Team3D/Engine/Private/RigidBody_Dynamic.cpp b/Jusin154_Team3D/Engine/Private/RigidBody_Dynamic.cpp index 1fbf4d9bf..d262691e9 100644 --- a/Jusin154_Team3D/Engine/Private/RigidBody_Dynamic.cpp +++ b/Jusin154_Team3D/Engine/Private/RigidBody_Dynamic.cpp @@ -276,6 +276,9 @@ void CRigidBody_Dynamic::Set_Transform(PSX::PxTransform pxTransform, _bool bTele m_pRigidBody->setGlobalPose(pxTransform, true); if (true == bTeleport) { + if (IsKinematic()) { + return; + } m_pRigidBody->setLinearVelocity(PSX::PxVec3(0.f, 0.f, 0.f)); m_pRigidBody->setAngularVelocity(PSX::PxVec3(0.f, 0.f, 0.f)); m_pRigidBody->clearForce(); @@ -396,6 +399,11 @@ HRESULT CRigidBody_Dynamic::Initialize(void* pArg) return S_OK; } +_bool CRigidBody_Dynamic::IsKinematic() +{ + return m_pRigidBody->getRigidBodyFlags().isSet(PSX::PxRigidBodyFlag::eKINEMATIC); +} + //void CRigidBody_Dynamic::Move(PSX::PxTransform& pxTransform, _bool bTeleport) //{ // if (m_pRigidBody->getRigidBodyFlags().isSet(PSX::PxRigidBodyFlag::eKINEMATIC)) { diff --git a/Jusin154_Team3D/Engine/Private/RigidBody_Static.cpp b/Jusin154_Team3D/Engine/Private/RigidBody_Static.cpp index 22ded3164..3a72a7bd6 100644 --- a/Jusin154_Team3D/Engine/Private/RigidBody_Static.cpp +++ b/Jusin154_Team3D/Engine/Private/RigidBody_Static.cpp @@ -32,12 +32,13 @@ HRESULT CRigidBody_Static::Initialize(void* pArg) if (FAILED(__super::Initialize(pArg))) { return E_FAIL; } + RIGIDBODY_STATIC_DESC* pDesc = static_cast(pArg); m_wstrMeshName = pDesc->pMeshName; m_tagData.pOwner = m_pOwner; XMStoreFloat4x4(&m_tagData.BeforeMatrix, m_pTransform->Get_XMWorldMatrix()); m_tagData.pBody = this; - m_pRigidBody = m_pGameInstance->Add_StaticActor(*this, m_pGameInstance->Get_NextLevelID()); + m_pRigidBody = m_pGameInstance->Add_StaticActor(*this, m_pGameInstance->Get_NextLevelID(), pDesc->pWorldMatrix); m_pRigidBody->userData = &m_tagData; m_pRigidBody->setName(CMyTools::ToString(m_wstrMeshName).c_str()); diff --git a/Jusin154_Team3D/Engine/Private/VIBuffer_Model_Instance.cpp b/Jusin154_Team3D/Engine/Private/VIBuffer_Model_Instance.cpp index 1fe4a9844..f865ade8c 100644 --- a/Jusin154_Team3D/Engine/Private/VIBuffer_Model_Instance.cpp +++ b/Jusin154_Team3D/Engine/Private/VIBuffer_Model_Instance.cpp @@ -40,6 +40,28 @@ CVIBuffer_Model_Instance::CVIBuffer_Model_Instance(const CVIBuffer_Model_Instanc } } +const _char* CVIBuffer_Model_Instance::Get_MeshName(_uint iMeshIndex) +{ + if (m_iNumMeshes <= iMeshIndex) + return nullptr; + + return m_Meshes[iMeshIndex]->Get_Name(); +} + +HRESULT CVIBuffer_Model_Instance::Ready_PhysXMeshes(_uint iLevel) +{ + m_iNumPhysXMeshes = m_iNumMeshes; + + m_TriMeshes.reserve(m_iNumMeshes); + + m_pGameInstance->ConvertToTriMeshes(m_Meshes, m_TriMeshes); + + for (_uint i = 0; i < m_iNumMeshes; ++i) { + m_pGameInstance->RegistTriMesh((m_Meshes[i]->Get_Name() + to_string(i)).c_str(), m_TriMeshes[i], iLevel); + } + return S_OK; +} + HRESULT CVIBuffer_Model_Instance::Initialize_Prototype(const _char* pModelFilePath, const _char* pMatrialPath) { if (FAILED(Load_ModelData(pModelFilePath))) diff --git a/Jusin154_Team3D/Engine/Public/Engine_Macro.h b/Jusin154_Team3D/Engine/Public/Engine_Macro.h index d9a55d3cf..6d084ea41 100644 --- a/Jusin154_Team3D/Engine/Public/Engine_Macro.h +++ b/Jusin154_Team3D/Engine/Public/Engine_Macro.h @@ -35,7 +35,7 @@ #undef ASSERT_NURI #define ASSERT_NURI(expression) assert(expression) #define MSG_BOX(_message) MessageBox(NULL, TEXT(_message), L"System Message", MB_OK); assert(false); -//#undef USE_LOWTEXTURE // 매크로 옵션으로 해상도 조절, 주석 걸면 디버그모드에서 저해상도 유지 +#undef USE_LOWTEXTURE // 매크로 옵션으로 해상도 조절, 주석 걸면 디버그모드에서 저해상도 유지 //#undef OPTIONAL_TRUE_KEYINPUTGUICHECK //#define OPTIONAL_TRUE_KEYINPUTGUICHECK true|| #elif 진우 diff --git a/Jusin154_Team3D/Engine/Public/GameInstance.h b/Jusin154_Team3D/Engine/Public/GameInstance.h index 748f6d6e3..773fe4848 100644 --- a/Jusin154_Team3D/Engine/Public/GameInstance.h +++ b/Jusin154_Team3D/Engine/Public/GameInstance.h @@ -218,6 +218,7 @@ class ENGINE_DLL CGameInstance final : public CBase void RegistHeight(const _tchar* pName, PSX::PxHeightFieldDesc& Desc, _uint iLevel); PSX::PxRigidDynamic* Add_DynamicActor(CRigidBody_Dynamic& RigidBody, _uint iLevel); PSX::PxRigidStatic* Add_StaticActor(CRigidBody_Static& RigidBody, _uint iLevel); + PSX::PxRigidStatic* Add_StaticActor(CRigidBody_Static& RigidBody, _uint iLevel, const _float4x4* pWorldMatrix); PSX::PxJoint* Create_PxJoint(PHYSX_JOINT eType, PSX::PxRigidActor* pActor0, PSX::PxTransform& pxLocalFrame0, PSX::PxRigidActor* pActor1, PSX::PxTransform& pxLocalFrame1); PSX::PxD6Joint* Create_BasicPxD6Joint(PSX::PxRigidDynamic* pActor0, PSX::PxRigidDynamic* pActor1, const PSX::PxTransform& pxJointWorldPos); diff --git a/Jusin154_Team3D/Engine/Public/Motion_Trail.h b/Jusin154_Team3D/Engine/Public/Motion_Trail.h index 9eac3b55d..937fcda7a 100644 --- a/Jusin154_Team3D/Engine/Public/Motion_Trail.h +++ b/Jusin154_Team3D/Engine/Public/Motion_Trail.h @@ -57,7 +57,9 @@ class ENGINE_DLL CMotion_Trail final : public CComponent virtual void Free() override; #ifdef _DEBUG void Describe_Entity() override; -#endif // DEBUG +#endif // _DEBUG + + }; NS_END diff --git a/Jusin154_Team3D/Engine/Public/PhysX_Manager.h b/Jusin154_Team3D/Engine/Public/PhysX_Manager.h index 2d2d57264..4ca453131 100644 --- a/Jusin154_Team3D/Engine/Public/PhysX_Manager.h +++ b/Jusin154_Team3D/Engine/Public/PhysX_Manager.h @@ -33,7 +33,8 @@ class CPhysX_Manager final : public CBase PSX::PxRigidDynamic* Add_DynamicActor(CRigidBody_Dynamic& RigidBody, _uint iLevel); PSX::PxRigidStatic* Add_StaticActor(CRigidBody_Static& RigidBody, _uint iLevel); - + PSX::PxRigidStatic* Add_StaticActor(CRigidBody_Static& RigidBody, _uint iLevel, const _float4x4* pWorldMatrix); + // https://documentation.help/nvidia-physx-sdk-guide/Joints.html PSX::PxJoint* Create_PxJoint(PHYSX_JOINT eType, PSX::PxRigidActor* pActor0, PSX::PxTransform& pxLocalFrame0, PSX::PxRigidActor* pActor1, PSX::PxTransform& pxLocalFrame1); PSX::PxD6Joint* Create_BasicPxD6Joint(PSX::PxRigidDynamic* pActor0, PSX::PxRigidDynamic* pActor1, const PSX::PxTransform& pxJointWorldPos); diff --git a/Jusin154_Team3D/Engine/Public/RenderTarget_Manager.h b/Jusin154_Team3D/Engine/Public/RenderTarget_Manager.h index 65ad0f832..26e844e9b 100644 --- a/Jusin154_Team3D/Engine/Public/RenderTarget_Manager.h +++ b/Jusin154_Team3D/Engine/Public/RenderTarget_Manager.h @@ -29,6 +29,8 @@ class CRenderTarget_Manager final : public CBase // 랜더 타겟의 크기를 dest로 다시 맞춤 HRESULT Refit_RenderTarget(class CVIBuffer_Rect* pVIBuffer, class CShader* pShader, const _wstring& wstrRenderTargetInput, const _wstring& wstrRenderTargetOutput, SHADER_PASS_DEFERRED ePass); HRESULT Finish_RenderTarget(class CVIBuffer_Rect* pVIBuffer, class CShader* pShader, const _wstring& wstrRenderTargetOriginal, const _wstring& wstrRenderTargetBloomed, SHADER_PASS_DEFERRED ePass); + void Flush_All_SRVs(_uint iStartSlot = 0, _uint numSlots = D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT); + void Flush_All_CSUAVs(_uint iStartSlot = 0, _uint numSlots = D3D11_PS_CS_UAV_REGISTER_COUNT); #ifdef _DEBUG public: diff --git a/Jusin154_Team3D/Engine/Public/Renderer.h b/Jusin154_Team3D/Engine/Public/Renderer.h index 8ebd8d1cf..2f3762957 100644 --- a/Jusin154_Team3D/Engine/Public/Renderer.h +++ b/Jusin154_Team3D/Engine/Public/Renderer.h @@ -74,7 +74,7 @@ class CRenderer final : public CBase #pragma region TunningParameters /* TunningParam */ // Variable - _float m_fLightSpecularMaximum = { 1.f }; + _float m_fLightSpecularMaximum = { 2.f }; // MotionBlur _float m_fMBBlurRadius = { 28.f }; @@ -94,16 +94,16 @@ class CRenderer final : public CBase _float m_fBloomThreshold = { 1.26f }; // DOF Environment - _float m_fDOF_ENV_CutThreshold = { 0.1350f }; - _float m_fDOF_ENV_FocusDistance = { 31.1f }; - _float m_fDOF_ENV_StartDistance = { 130.f }; - _float m_fDOF_ENV_MaxEnd = { 350.f }; - _float m_fDOF_ENV_AmountRadius = { 1.f }; + _float m_fDOF_ENV_CutThreshold = { 0.191f }; + _float m_fDOF_ENV_FocusDistance = { 38.f }; + _float m_fDOF_ENV_StartDistance = { 88.f }; + _float m_fDOF_ENV_MaxEnd = { 237.f }; + _float m_fDOF_ENV_AmountRadius = { 1.2f }; // SSAO - _float m_fSSAO_Radius = { 1.6300f }; - _float m_fSSAO_BIAS = { 0.234f }; - _float m_fSSAOStrength = { 2.83f }; + _float m_fSSAO_Radius = { 0.543f }; + _float m_fSSAO_BIAS = { 0.401f }; + _float m_fSSAOStrength = { 4.f }; SSAO_GEOMETRY_HEMISPHERE m_tagSSAOGeometry = {}; SSAO_GEOMETRYDIRECTIONS_RANDOM_REAL m_tagSSAOGeometryDirections = {}; diff --git a/Jusin154_Team3D/Engine/Public/RigidBody_Dynamic.h b/Jusin154_Team3D/Engine/Public/RigidBody_Dynamic.h index f49664b07..23482af90 100644 --- a/Jusin154_Team3D/Engine/Public/RigidBody_Dynamic.h +++ b/Jusin154_Team3D/Engine/Public/RigidBody_Dynamic.h @@ -93,6 +93,7 @@ class ENGINE_DLL CRigidBody_Dynamic : public CRigidBody HRESULT Initialize_Prototype(RIGIDBODY_PROTOTYPE_DYNAMIC_DESC& Desc); virtual HRESULT Initialize(void* pArg) override; // void Move(PSX::PxTransform& pxTransform, _bool bTeleport); + _bool IsKinematic(); #ifdef _DEBUG HRESULT Add_DebugShape(); diff --git a/Jusin154_Team3D/Engine/Public/RigidBody_Static.h b/Jusin154_Team3D/Engine/Public/RigidBody_Static.h index 7fa36eb73..9ac25e160 100644 --- a/Jusin154_Team3D/Engine/Public/RigidBody_Static.h +++ b/Jusin154_Team3D/Engine/Public/RigidBody_Static.h @@ -16,7 +16,8 @@ class ENGINE_DLL CRigidBody_Static : public CRigidBody typedef struct tagRigidBody_STATIC_Desc : public CRigidBody::RIGIDBODY_DESC { - const _tchar* pMeshName = { nullptr }; + const _tchar* pMeshName = { nullptr }; + const _float4x4* pWorldMatrix = { nullptr }; }RIGIDBODY_STATIC_DESC; private: diff --git a/Jusin154_Team3D/Engine/Public/Unit.h b/Jusin154_Team3D/Engine/Public/Unit.h index e814ef13a..74e4ac4df 100644 --- a/Jusin154_Team3D/Engine/Public/Unit.h +++ b/Jusin154_Team3D/Engine/Public/Unit.h @@ -62,6 +62,7 @@ class ENGINE_DLL CUnit abstract : public CContainerObject _float m_fRimLightPower = { 3.2f }; _float m_fRimLightStrength = { 3.04f }; _float3 m_vRimLightColor = { 69.f / 255.f, 5.f / 255.f, 10.f / 255.f }; + _float m_fMBIntensity = 1.f; _bool m_bAI = {}; diff --git a/Jusin154_Team3D/Engine/Public/VIBuffer_Model_Instance.h b/Jusin154_Team3D/Engine/Public/VIBuffer_Model_Instance.h index 9484a81a3..8e30d50b8 100644 --- a/Jusin154_Team3D/Engine/Public/VIBuffer_Model_Instance.h +++ b/Jusin154_Team3D/Engine/Public/VIBuffer_Model_Instance.h @@ -27,6 +27,9 @@ class ENGINE_DLL CVIBuffer_Model_Instance final : public CVIBuffer_Instance public: _uint Get_NumMesh() const { return m_iNumMeshes; } + const _char* Get_MeshName(_uint iMeshIndex); + HRESULT Ready_PhysXMeshes(_uint iLevel); + public: virtual HRESULT Initialize_Prototype(const _char* pModelFilePath, const _char* pMatrialPath); @@ -46,6 +49,8 @@ class ENGINE_DLL CVIBuffer_Model_Instance final : public CVIBuffer_Instance _uint m_iCurrentNumInstance = {}; _uint m_iMaxNumInstance = {}; + _uint m_iNumPhysXMeshes = {}; + _float m_fTimeAcc = {}; class CComputeShader* m_pComputeShader = { nullptr }; @@ -60,6 +65,7 @@ class ENGINE_DLL CVIBuffer_Model_Instance final : public CVIBuffer_Instance vector> m_MeshMaterialPathes = {}; + vector m_TriMeshes = {}; private: HRESULT Reay_Instance_Buffer(); HRESULT Load_InstanceData(ifstream& in);