diff --git a/Jusin154_Team3D/Client/Private/Land.cpp b/Jusin154_Team3D/Client/Private/Land.cpp index b7a5e8578..aab65132f 100644 --- a/Jusin154_Team3D/Client/Private/Land.cpp +++ b/Jusin154_Team3D/Client/Private/Land.cpp @@ -10,6 +10,7 @@ CLand::CLand(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) CLand::CLand(const CLand& rhs) : CGameObject(rhs) + , m_fUsingSurfaceParams(rhs.m_fUsingSurfaceParams) { } @@ -33,8 +34,8 @@ HRESULT CLand::Render() return E_FAIL; } - if (FAILED(m_pModelCom->Bind_Material(0, m_pShaderCom))) - return E_FAIL; + //if (FAILED(m_pModelCom->Bind_Material(0, m_pShaderCom))) + // return E_FAIL; if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_MESH::LAND)))) { return E_FAIL; @@ -71,6 +72,8 @@ HRESULT CLand::Render_Shadow(SHADOW eType) HRESULT CLand::Initialize_Prototype() { + m_fUsingSurfaceParams = MRO_PARAMETER; + return S_OK; } @@ -108,6 +111,26 @@ HRESULT CLand::Ready_Components(void* pArg) reinterpret_cast(&m_pShaderCom)))) return E_FAIL; + /* Com_Texture */ + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Terrain_Diffuse"), reinterpret_cast(&m_pDiffuseTextureCom), nullptr))) { + return E_FAIL; + } + + /* Com_Texture */ + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Terrain_Normal"), reinterpret_cast(&m_pNormalTextureCom), nullptr))) { + return E_FAIL; + } + + /* Com_Texture */ + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Terrain_MRO"), reinterpret_cast(&m_pMROTextureCom), nullptr))) { + return E_FAIL; + } + + /* Com_Texture */ + if (FAILED(Add_Asset_Component(g_iStaticLevel, pDesc->strAlphaMapTag, reinterpret_cast(&m_pMaskTextureCom), nullptr))) { + return E_FAIL; + } + return S_OK; } @@ -129,6 +152,22 @@ HRESULT CLand::Bind_ShaderResources() return E_FAIL; } + if (FAILED(m_pDiffuseTextureCom->Bind_ShaderResources(m_pShaderCom, "g_DiffuseTextures", 0, m_pDiffuseTextureCom->Get_Size()))) { + return E_FAIL; + } + if (FAILED(m_pNormalTextureCom->Bind_ShaderResources(m_pShaderCom, "g_NormalTextures", 0, m_pNormalTextureCom->Get_Size()))) { + return E_FAIL; + } + if (FAILED(m_pMROTextureCom->Bind_ShaderResources(m_pShaderCom, "g_SurfaceParamsTextures", 0, m_pMROTextureCom->Get_Size()))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_SRV("g_MaskTexture", m_pMaskTextureCom->Get_SRV(0)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fUsingSurfaceParams", &m_fUsingSurfaceParams, sizeof(_float)))) + return E_FAIL; + return S_OK; } @@ -161,6 +200,11 @@ void CLand::Free() { __super::Free(); + SAFE_RELEASE(m_pDiffuseTextureCom); + SAFE_RELEASE(m_pNormalTextureCom); + SAFE_RELEASE(m_pMROTextureCom); + SAFE_RELEASE(m_pMaskTextureCom); + SAFE_RELEASE(m_pShaderCom); SAFE_RELEASE(m_pModelCom); } diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp index d25639adc..dfcf41450 100644 --- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp +++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp @@ -82,6 +82,9 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg) if (FAILED(Ready_Background())) { return E_FAIL; } + if (FAILED(Ready_Land())) { + return E_FAIL; + } if (FAILED(Ready_Markers())) { return E_FAIL; } @@ -267,48 +270,6 @@ HRESULT CLevel_GamePlay::Ready_Background() if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(ENUM_CLASS(LEVEL::STATIC), NEXT_LEVEL, LAYER_BACKGROUND, &Terrain_Desc))) { return E_FAIL; } - - CLand::LAND_DESC Land_Desc = {}; - - /* South_Hogwart_Land */ - Land_Desc.vPosition = _float3(290.5f, 59.5f, -347.f); - Land_Desc.vScale = _float3(1.f, 1.25f, 1.f); - Land_Desc.strModelComTag = L"Prototype_Component_South_Hogwart_Land_LOD1"; - - if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Land_Desc))) - return E_FAIL; - - /* North_Hogwart_Land */ - Land_Desc.vPosition = _float3(-370.f, -37.5f, -21.4f); - Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); - Land_Desc.strModelComTag = L"Prototype_Component_North_Hogwart_Land_LOD1"; - - if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Land_Desc))) - return E_FAIL; - - /* North_Hogwart2_Land */ - Land_Desc.vPosition = _float3(-378.f, -17.5f, 285.6f); - Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); - Land_Desc.strModelComTag = L"Prototype_Component_North_Hogwart2_Land_LOD1"; - - if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Land_Desc))) - return E_FAIL; - - /* West_Hogwart_Land */ - Land_Desc.vPosition = _float3(-653.f, 20.f, -327.4f); - Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); - Land_Desc.strModelComTag = L"Prototype_Component_West_Hogwart_Land_LOD1"; - - if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Land_Desc))) - return E_FAIL; - - /* East_Hogsmeade_Land */ - Land_Desc.vPosition = _float3(436.f, 55.f, 60.3f); - Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); - Land_Desc.strModelComTag = L"Prototype_Component_East_Hogsmeade_Land_LOD1"; - - if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Land_Desc))) - return E_FAIL; /* 물 오브젝트 */ if (FAILED(CInfoInstance::GetInstance()->Load_WaterElemet("Element_Water_Info"))) { @@ -384,6 +345,125 @@ HRESULT CLevel_GamePlay::Ready_Background() return S_OK; } +HRESULT CLevel_GamePlay::Ready_Land() +{ + CLand::LAND_DESC Land_Desc = {}; + + /* South_Hogwart_Land */ + Land_Desc.vPosition = _float3(290.5f, 59.5f, -347.f); + Land_Desc.vScale = _float3(1.f, 1.25f, 1.f); + Land_Desc.strModelComTag = L"Prototype_Component_South_Hogwart_Land_LOD1"; + Land_Desc.strAlphaMapTag = L"Land_HN_BC_AlphaMap"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Land_Desc))) + return E_FAIL; + + /* North_Hogwart_Land */ + Land_Desc.vPosition = _float3(-370.f, -37.5f, -21.4f); + Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); + Land_Desc.strModelComTag = L"Prototype_Component_North_Hogwart_Land_LOD1"; + Land_Desc.strAlphaMapTag = L"Land_HN_AV_AlphaMap"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Land_Desc))) + return E_FAIL; + + /* North_Hogwart2_Land */ + Land_Desc.vPosition = _float3(-378.f, -17.5f, 285.6f); + Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); + Land_Desc.strModelComTag = L"Prototype_Component_North_Hogwart2_Land_LOD1"; + Land_Desc.strAlphaMapTag = L"Land_HN_AU_AlphaMap"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Land_Desc))) + return E_FAIL; + + /* West_Hogwart_Land */ + Land_Desc.vPosition = _float3(-653.f, 20.f, -327.4f); + Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); + Land_Desc.strModelComTag = L"Prototype_Component_West_Hogwart_Land_LOD1"; + Land_Desc.strAlphaMapTag = L"Land_HN_AZ_AlphaMap"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Land_Desc))) + return E_FAIL; + + /* East_Hogsmeade_Land */ + Land_Desc.vPosition = _float3(436.f, 55.f, 60.3f); + Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); + Land_Desc.strModelComTag = L"Prototype_Component_East_Hogsmeade_Land_LOD1"; + Land_Desc.strAlphaMapTag = L"Land_HN_AY_AlphaMap"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Land_Desc))) + return E_FAIL; + + /* HN_BA */ + Land_Desc.vPosition = _float3(-606.f, 70.f, -647.7f); + Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); + Land_Desc.strModelComTag = L"Prototype_Component_Land_HN_BA"; + Land_Desc.strAlphaMapTag = L"Land_HN_BA_AlphaMap"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Land_Desc))) + return E_FAIL; + + /* HN_BD */ + Land_Desc.vPosition = _float3(201.4f, -22.9f, -650.1f); + Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); + Land_Desc.strModelComTag = L"Prototype_Component_Land_HN_BD"; + Land_Desc.strAlphaMapTag = L"Land_HN_BD_AlphaMap"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Land_Desc))) + return E_FAIL; + + /* HN_BG */ + Land_Desc.vPosition = _float3(-377.8f, 5.f, -1038.49f); + Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); + Land_Desc.strModelComTag = L"Prototype_Component_Land_HN_BG"; + Land_Desc.strAlphaMapTag = L"Land_HN_BG_AlphaMap"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Land_Desc))) + return E_FAIL; + + /* HN_BH */ + Land_Desc.vPosition = _float3(80.1f, -63.f, -908.3f); + Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); + Land_Desc.strModelComTag = L"Prototype_Component_Land_HN_BH"; + Land_Desc.strAlphaMapTag = L"Land_HN_BH_AlphaMap"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Land_Desc))) + return E_FAIL; + + /* HN_BE */ + Land_Desc.vPosition = _float3(431.2f, 100.1f, -658.3f); + Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); + Land_Desc.strModelComTag = L"Prototype_Component_Land_HN_BE"; + Land_Desc.strAlphaMapTag = L"Land_HN_BE_AlphaMap"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Land_Desc))) + return E_FAIL; + + /* HN_BF */ + Land_Desc.vPosition = _float3(-688.9f, 170.7f, -1066.f); + Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); + Land_Desc.strModelComTag = L"Prototype_Component_Land_HN_BF"; + Land_Desc.strAlphaMapTag = L"Land_HN_BF_AlphaMap"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Land_Desc))) + return E_FAIL; + + /* HN_BI */ + Land_Desc.vPosition = _float3(82.7f, -61.f, -1141.6f); + Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); + Land_Desc.strModelComTag = L"Prototype_Component_Land_HN_BI"; + Land_Desc.strAlphaMapTag = L"Land_HN_BI_AlphaMap"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Land_Desc))) + return E_FAIL; + + /* HN_BJ */ + Land_Desc.vPosition = _float3(367.1f, 44.8f, -1016.f); + Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); + Land_Desc.strModelComTag = L"Prototype_Component_Land_HN_BJ"; + Land_Desc.strAlphaMapTag = L"Land_HN_BJ_AlphaMap"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Land_Desc))) + return E_FAIL; + + /* TU_BB */ + Land_Desc.vPosition = _float3(-829.5f, 58.3f, 112.9f); + Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); + Land_Desc.strModelComTag = L"Prototype_Component_Land_TU_BB"; + Land_Desc.strAlphaMapTag = L"Land_TU_BB_AlphaMap"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Land_Desc))) + return E_FAIL; + + return S_OK; +} + HRESULT CLevel_GamePlay::Ready_Layer_Hogsmeade() { /* 전체 맵 */ diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp index 9d4c03848..24cee374b 100644 --- a/Jusin154_Team3D/Client/Private/Loader.cpp +++ b/Jusin154_Team3D/Client/Private/Loader.cpp @@ -1027,7 +1027,126 @@ HRESULT CLoader::Loading_For_GamePlay() } } + /* LAND_MODEL */ + { + /* For.Prototype_Component_South_Hogwart_Land_LOD1 */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_South_Hogwart_Land_LOD1"), + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BCLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + return E_FAIL; + /* For.Prototype_Component_North_Hogwart_Land_LOD1 */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_North_Hogwart_Land_LOD1"), + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_AVLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + return E_FAIL; + + /* For.Prototype_Component_North_Hogwart2_Land_LOD1 */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_North_Hogwart2_Land_LOD1"), + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_AULOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + return E_FAIL; + + /* For.Prototype_Component_West_Hogwart_Land_LOD1 */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_West_Hogwart_Land_LOD1"), + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_AZLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + return E_FAIL; + + /* For.Prototype_Component_East_Hogwart_Land_LOD1 */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_East_Hogsmeade_Land_LOD1"), + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_AYLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + return E_FAIL; + + // ----------------- + /* For.Prototype_Component_Land_HN_BA */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BA"), + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BALOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + return E_FAIL; + + /* For.Prototype_Component_Land_HN_BD */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BD"), + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BDLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + return E_FAIL; + + /* For.Prototype_Component_Land_HN_BE */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BE"), + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BELOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + return E_FAIL; + + /* For.Prototype_Component_Land_HN_BF */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BF"), + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BFLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + return E_FAIL; + + /* For.Prototype_Component_Land_HN_BG */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BG"), + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BGLOD/SM_LandscapeStreamingProxy_1_LOD1.bin")))) + return E_FAIL; + + /* For.Prototype_Component_Land_HN_BH */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BH"), + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BHLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + return E_FAIL; + + /* For.Prototype_Component_Land_HN_BI */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BI"), + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BILOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + return E_FAIL; + + /* For.Prototype_Component_Land_HN_BJ */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BJ"), + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BJLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + return E_FAIL; + + /* For.Prototype_Component_Land_TU_BB */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_TU_BB"), + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/TU_BBLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + return E_FAIL; + + + ///* For.Prototype_Component_Land_HN_BA */ + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BA"), + // CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_BALOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + // return E_FAIL; + + ///* For.Prototype_Component_Land_HN_BD */ + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BD"), + // CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_BDLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + // return E_FAIL; + + ///* For.Prototype_Component_Land_HN_BG */ + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BG"), + // CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_BGLOD/SM_LandscapeStreamingProxy_1_LOD1.bin")))) + // return E_FAIL; + + ///* For.Prototype_Component_Land_HN_BH */ + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BH"), + // CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_BHLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + // return E_FAIL; + + + ///* For.Prototype_Component_Land_HN_BE */ + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BE"), + // CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_BELOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + // return E_FAIL; + + ///* For.Prototype_Component_Land_HN_BF */ + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BF"), + // CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_BFLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + // return E_FAIL; + + ///* For.Prototype_Component_Land_HN_BI */ + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BI"), + // CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_BILOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + // return E_FAIL; + + ///* For.Prototype_Component_Land_HN_BJ */ + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BJ"), + // CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_BJLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + // return E_FAIL; + + ///* For.Prototype_Component_Land_TU_BB */ + //if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_TU_BB"), + // CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/TU_BBLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + // return E_FAIL; + } #pragma endregion #pragma region UI @@ -1450,6 +1569,77 @@ HRESULT CLoader::Loading_For_GamePlay() return E_FAIL; } + /* Land_HN_AU_AlphaMap */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Land_HN_AU_AlphaMap"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Data/Map/Terrain/Land_HN_AU_AlphaMap.dds"), 0)))) { + return E_FAIL; + } + /* Land_HN_AV_AlphaMap */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Land_HN_AV_AlphaMap"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Data/Map/Terrain/Land_HN_AV_AlphaMap.dds"), 0)))) { + return E_FAIL; + } + /* Land_HN_AY_AlphaMap */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Land_HN_AY_AlphaMap"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Data/Map/Terrain/Land_HN_AY_AlphaMap.dds"), 0)))) { + return E_FAIL; + } + /* Land_HN_AZ_AlphaMap */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Land_HN_AZ_AlphaMap"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Data/Map/Terrain/Land_HN_AZ_AlphaMap.dds"), 0)))) { + return E_FAIL; + } + /* Land_HN_BA_AlphaMap */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Land_HN_BA_AlphaMap"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Data/Map/Terrain/Land_HN_BA_AlphaMap.dds"), 0)))) { + return E_FAIL; + } + /* Land_HN_BC_AlphaMap */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Land_HN_BC_AlphaMap"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Data/Map/Terrain/Land_HN_BC_AlphaMap.dds"), 0)))) { + return E_FAIL; + } + /* Land_HN_BD_AlphaMap */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Land_HN_BD_AlphaMap"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Data/Map/Terrain/Land_HN_BD_AlphaMap.dds"), 0)))) { + return E_FAIL; + } + /* Land_HN_BE_AlphaMap */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Land_HN_BE_AlphaMap"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Data/Map/Terrain/Land_HN_BE_AlphaMap.dds"), 0)))) { + return E_FAIL; + } + /* Land_HN_BF_AlphaMap */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Land_HN_BF_AlphaMap"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Data/Map/Terrain/Land_HN_BF_AlphaMap.dds"), 0)))) { + return E_FAIL; + } + /* Land_HN_BG_AlphaMap */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Land_HN_BG_AlphaMap"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Data/Map/Terrain/Land_HN_BG_AlphaMap.dds"), 0)))) { + return E_FAIL; + } + /* Land_HN_BH_AlphaMap */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Land_HN_BH_AlphaMap"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Data/Map/Terrain/Land_HN_BH_AlphaMap.dds"), 0)))) { + return E_FAIL; + } + /* Land_HN_BI_AlphaMap */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Land_HN_BI_AlphaMap"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Data/Map/Terrain/Land_HN_BI_AlphaMap.dds"), 0)))) { + return E_FAIL; + } + /* Land_HN_BJ_AlphaMap */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Land_HN_BJ_AlphaMap"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Data/Map/Terrain/Land_HN_BJ_AlphaMap.dds"), 0)))) { + return E_FAIL; + } + /* Land_TU_BB_AlphaMap */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Land_TU_BB_AlphaMap"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Data/Map/Terrain/Land_TU_BB_AlphaMap.dds"), 0)))) { + return E_FAIL; + } + /* For.Prototype_Component_LightPost_Emissive */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("LightPost_Emissive"), CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, @@ -3150,30 +3340,7 @@ HRESULT CLoader::Loading_For_GamePlay() } #pragma endregion - /* For.Prototype_Component_South_Hogwart_Land_LOD1 */ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_South_Hogwart_Land_LOD1"), - CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BCLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) - return E_FAIL; - - /* For.Prototype_Component_North_Hogwart_Land_LOD1 */ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_North_Hogwart_Land_LOD1"), - CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_AVLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) - return E_FAIL; - - /* For.Prototype_Component_North_Hogwart2_Land_LOD1 */ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_North_Hogwart2_Land_LOD1"), - CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_AULOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) - return E_FAIL; - - /* For.Prototype_Component_West_Hogwart_Land_LOD1 */ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_West_Hogwart_Land_LOD1"), - CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_AZLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) - return E_FAIL; - - /* For.Prototype_Component_East_Hogwart_Land_LOD1 */ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_East_Hogsmeade_Land_LOD1"), - CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "../Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_AYLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) - return E_FAIL; + /* For.Prototype_Component_Hogwart_Lake */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(NEXT_LEVEL, TEXT("Prototype_Component_Hogwart_Lake"), diff --git a/Jusin154_Team3D/Client/Private/MapElement_Static.cpp b/Jusin154_Team3D/Client/Private/MapElement_Static.cpp index 38854ab5e..d8aa5aaea 100644 --- a/Jusin154_Team3D/Client/Private/MapElement_Static.cpp +++ b/Jusin154_Team3D/Client/Private/MapElement_Static.cpp @@ -24,6 +24,7 @@ HRESULT CMapElement_Static::Initialize(void* pArg) { MAPELEMENT_DESC* pDesc = static_cast(pArg); + m_bVisible = pDesc->bVisible; m_iMaxLodLevel = pDesc->iMaxLodLevel; for (_uint i = 0; i < m_iMaxLodLevel + 1; i++) @@ -68,7 +69,7 @@ void CMapElement_Static::Late_Update(_float fTimeDelta) m_fCamDepth = XMVectorGetX(XMVector3LengthSq(XMLoadFloat4(m_pGameInstance->Get_CamPosition()) - m_pTransformCom->Get_State(STATE::POSITION))); m_iLodIndex = min(m_iMaxLodLevel, (_uint)(m_fCamDepth / (m_fRadius * m_fRadius + 40000.f)));*/ - + if(m_bVisible) m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this); //} } diff --git a/Jusin154_Team3D/Client/Private/MapInfo.cpp b/Jusin154_Team3D/Client/Private/MapInfo.cpp index 341a74d9c..1e80ee64f 100644 --- a/Jusin154_Team3D/Client/Private/MapInfo.cpp +++ b/Jusin154_Team3D/Client/Private/MapInfo.cpp @@ -115,10 +115,10 @@ HRESULT CMapInfo::Load_MapObjects(const _char* pFileName, const _wchar* pLayerTa for (auto* Object = root->FirstChildElement("Object"); Object; Object = Object->NextSiblingElement("Object")) { - CMapPartObject::MAPOBJECT_DESC Desc = {}; + CMapElement::MAPELEMENT_DESC Desc = {}; MAPOBJECT_TYPE eType = {}; - + Desc.bVisible = true; Object->QueryUnsignedAttribute("Type", (_uint*)(&eType)); Object->QueryUnsignedAttribute("Lod_Level", &Desc.iMaxLodLevel); @@ -148,6 +148,11 @@ HRESULT CMapInfo::Load_MapObjects(const _char* pFileName, const _wchar* pLayerTa if (MAPOBJECT_TYPE::ELEMENT_STATIC == eType) m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, pLayerTag, &Desc); + else if (MAPOBJECT_TYPE::ELEMENT_COLLIDER == eType) + { + Desc.bVisible = false; + m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, pLayerTag, &Desc); + } /*else if (MAPOBJECT_TYPE::ELEMENT_INTERACT == eType) m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Element_Interact"), &Desc);*/ } diff --git a/Jusin154_Team3D/Client/Public/Client_Enum.h b/Jusin154_Team3D/Client/Public/Client_Enum.h index 43a31d5ac..49bb289da 100644 --- a/Jusin154_Team3D/Client/Public/Client_Enum.h +++ b/Jusin154_Team3D/Client/Public/Client_Enum.h @@ -3,7 +3,7 @@ namespace Client { enum class LEVEL { STATIC, LOADING, LOGO, INTRO, GAMEPLAY, FIELD, RESTART, END }; - enum class MAPOBJECT_TYPE { CONTAINER, ELEMENT_STATIC, ELEMENT_INTERACT }; + enum class MAPOBJECT_TYPE { CONTAINER, ELEMENT_STATIC, ELEMENT_INTERACT, ELEMENT_COLLIDER}; enum class MAPOBJECT_RENDER_TYPE { NORMAL, DECAL, GLASS }; enum class SHADER_PASS_ANIM { DEFAULT, SHADOW, CAPTURE, BLUR, HAIR, EYELASH, OUTLINE_WRITE, OUTLINE_READ,SPECTOR, END }; diff --git a/Jusin154_Team3D/Client/Public/Land.h b/Jusin154_Team3D/Client/Public/Land.h index 728e868e8..6f8cecada 100644 --- a/Jusin154_Team3D/Client/Public/Land.h +++ b/Jusin154_Team3D/Client/Public/Land.h @@ -15,9 +15,10 @@ class CLand final : public CGameObject public: typedef struct tagLandDesc { - _float3 vPosition; - _float3 vScale; - _wstring strModelComTag; + _float3 vPosition; + _float3 vScale; + _wstring strAlphaMapTag; + _wstring strModelComTag; }LAND_DESC; private: CLand(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); @@ -32,10 +33,16 @@ class CLand final : public CGameObject virtual HRESULT Render_Shadow(SHADOW eType) override; private: + _float m_fRaduis = {}; + _float m_fUsingSurfaceParams = {}; + CShader* m_pShaderCom = { nullptr }; CModel* m_pModelCom = { nullptr }; - _float m_fRaduis = {}; + CTexture* m_pDiffuseTextureCom = { nullptr }; + CTexture* m_pNormalTextureCom = { nullptr }; + CTexture* m_pMROTextureCom = { nullptr }; + CTexture* m_pMaskTextureCom = { nullptr }; private: virtual HRESULT Initialize_Prototype() override; diff --git a/Jusin154_Team3D/Client/Public/Level_GamePlay.h b/Jusin154_Team3D/Client/Public/Level_GamePlay.h index 1cb47133c..c000598e7 100644 --- a/Jusin154_Team3D/Client/Public/Level_GamePlay.h +++ b/Jusin154_Team3D/Client/Public/Level_GamePlay.h @@ -27,6 +27,7 @@ class CLevel_GamePlay final : public CLevel HRESULT Ready_Lights(); HRESULT Ready_Volumetric(); HRESULT Ready_Background(); + HRESULT Ready_Land(); HRESULT Ready_Layer_Hogsmeade(); HRESULT Ready_Layer_Hogwart(); HRESULT Ready_IntstanceProp(); diff --git a/Jusin154_Team3D/Client/Public/MapElement.h b/Jusin154_Team3D/Client/Public/MapElement.h index 430f96bfa..485746a1d 100644 --- a/Jusin154_Team3D/Client/Public/MapElement.h +++ b/Jusin154_Team3D/Client/Public/MapElement.h @@ -14,6 +14,7 @@ class CMapElement abstract : public CGameObject { public: typedef struct tagMapElement_Desc { + _bool bVisible = {}; _uint iRenderType{}; CTransform* pParentTransform = { nullptr }; _float3 vScale; diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Dungeon_Map_Data.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Dungeon_Map_Data.xml index 8bd354195..64277cb3b 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Dungeon_Map_Data.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Dungeon_Map_Data.xml @@ -123,7 +123,7 @@ - + Prototype_GameObject_SM_ConjuredDragonZoneG3_SM_ConjuredDragonZoneG3 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Dungeon_Map_Data1231.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Dungeon_Map_Data1231.xml new file mode 100644 index 000000000..8bd354195 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Dungeon_Map_Data1231.xml @@ -0,0 +1,989 @@ + + + + + + + + + + + Prototype_GameObject_SM_Repository_Central_Structure_Core_Bottom_Rock + Prototype_GameObject_SM_Repository_Central_Structure_Core_Bottom_Rock_Lod1 + Prototype_GameObject_SM_Repository_Central_Structure_Core_Bottom_Rock_Lod2 + Prototype_GameObject_SM_Repository_Central_Structure_Core_Bottom_Rock_Lod3 + + + + + + Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve + Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_Lod1 + Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_Lod2 + Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_Lod3 + + + + + + Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_A + Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_A_Lod1 + Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_A_Lod2 + Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_A_Lod3 + + + + + + Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_B + Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_B_Lod1 + Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_B_Lod2 + Prototype_GameObject_SM_Repository_Central_Structure_Core_Curve_B_Lod3 + + + + + + Prototype_GameObject_SM_Repository_Central_Structure_Core_Top_rock + Prototype_GameObject_SM_Repository_Central_Structure_Core_Top_rock_Lod1 + Prototype_GameObject_SM_Repository_Central_Structure_Core_Top_rock_Lod2 + Prototype_GameObject_SM_Repository_Central_Structure_Core_Top_rock_Lod3 + + + + + + + + + + + + + + Prototype_GameObject_SM_Repository_ArenaFloor_A + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3 + + + + + + Prototype_GameObject_SM_Repository_ArenaFloor_A + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3 + + + + + + Prototype_GameObject_SM_Repository_ArenaFloor_A + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3 + + + + + + Prototype_GameObject_SM_Repository_ArenaFloor_A + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3 + + + + + + Prototype_GameObject_SM_Repository_ArenaFloor_A + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3 + + + + + + Prototype_GameObject_SM_Repository_ArenaFloor_A + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3 + + + + + + + Prototype_GameObject_SM_Repository_DrillWall_Wall_tunnel + Prototype_GameObject_SM_Repository_DrillWall_Wall_tunnel_Lod1 + Prototype_GameObject_SM_Repository_DrillWall_Wall_tunnel_Lod2 + + + + + + Prototype_GameObject_SM_ConjuredDragonZoneG3_SM_ConjuredDragonZoneG3 + + + + + + Prototype_GameObject_SM_CavernDun_Rock_N110 + Prototype_GameObject_SM_CavernDun_Rock_N110_Lod1 + Prototype_GameObject_SM_CavernDun_Rock_N110_Lod2 + + + + + + Prototype_GameObject_SM_AgedTombProtector_Grunt_A_A + Prototype_GameObject_SM_AgedTombProtector_Grunt_A_A_Lod1 + Prototype_GameObject_SM_AgedTombProtector_Grunt_A_A_Lod2 + Prototype_GameObject_SM_AgedTombProtector_Grunt_A_A_Lod3 + + + + + + Prototype_GameObject_SM_Repository_BreakingRock_LG_E_Large_E7 + Prototype_GameObject_SM_Repository_BreakingRock_LG_E_Large_E7_Lod1 + Prototype_GameObject_SM_Repository_BreakingRock_LG_E_Large_E7_Lod2 + + + + + + Prototype_GameObject_SM_Repository_FloatingGround_01_A + Prototype_GameObject_SM_Repository_FloatingGround_01_A_Lod1 + Prototype_GameObject_SM_Repository_FloatingGround_01_A_Lod2 + + + + + + Prototype_GameObject_SM_Gauntlet_01_barrier + Prototype_GameObject_SM_Gauntlet_01_barrier_Lod1 + Prototype_GameObject_SM_Gauntlet_01_barrier_Lod2 + Prototype_GameObject_SM_Gauntlet_01_barrier_Lod3 + + + + + + Prototype_GameObject_SM_Gauntlet_02_barrier + Prototype_GameObject_SM_Gauntlet_02_barrier_Lod1 + Prototype_GameObject_SM_Gauntlet_02_barrier_Lod2 + Prototype_GameObject_SM_Gauntlet_02_barrier_Lod3 + + + + + + Prototype_GameObject_SM_Gauntlet_02_barrier + Prototype_GameObject_SM_Gauntlet_02_barrier_Lod1 + Prototype_GameObject_SM_Gauntlet_02_barrier_Lod2 + Prototype_GameObject_SM_Gauntlet_02_barrier_Lod3 + + + + + + Prototype_GameObject_SM_Repository_FracturedCliff_01 + Prototype_GameObject_SM_Repository_FracturedCliff_01_Lod1 + Prototype_GameObject_SM_Repository_FracturedCliff_01_Lod2 + Prototype_GameObject_SM_Repository_FracturedCliff_01_Lod3 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_C + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_C_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_C_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod2 + + + + + + Prototype_GameObject_SM_AgedTombProtector_Grunt_D_A + Prototype_GameObject_SM_AgedTombProtector_Grunt_D_A_Lod1 + Prototype_GameObject_SM_AgedTombProtector_Grunt_D_A_Lod2 + Prototype_GameObject_SM_AgedTombProtector_Grunt_D_A_Lod3 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod2 + + + + + + Prototype_GameObject_SM_Repository_ArenaFloor_A + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3 + + + + + + Prototype_GameObject_SM_Repository_FloatingGround_04_A + Prototype_GameObject_SM_Repository_FloatingGround_04_A_Lod1 + Prototype_GameObject_SM_Repository_FloatingGround_04_A_Lod2 + + + + + + Prototype_GameObject_SM_Repository_ArenaFloor_A + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod2 + + + + + + Prototype_GameObject_SM_Repository_FloatingGround_01_A + Prototype_GameObject_SM_Repository_FloatingGround_01_A_Lod1 + Prototype_GameObject_SM_Repository_FloatingGround_01_A_Lod2 + + + + + + Prototype_GameObject_SM_Gauntlet_01_barrier + Prototype_GameObject_SM_Gauntlet_01_barrier_Lod1 + Prototype_GameObject_SM_Gauntlet_01_barrier_Lod2 + Prototype_GameObject_SM_Gauntlet_01_barrier_Lod3 + + + + + + Prototype_GameObject_SM_Gauntlet_02_barrier + Prototype_GameObject_SM_Gauntlet_02_barrier_Lod1 + Prototype_GameObject_SM_Gauntlet_02_barrier_Lod2 + Prototype_GameObject_SM_Gauntlet_02_barrier_Lod3 + + + + + + Prototype_GameObject_SM_Repository_ArenaFloor_A + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3 + + + + + + Prototype_GameObject_SM_CavernDun_Rock_N110 + Prototype_GameObject_SM_CavernDun_Rock_N110_Lod1 + Prototype_GameObject_SM_CavernDun_Rock_N110_Lod2 + + + + + + Prototype_GameObject_SM_AgedTombProtector_Grunt_D_B + Prototype_GameObject_SM_AgedTombProtector_Grunt_D_B_Lod1 + Prototype_GameObject_SM_AgedTombProtector_Grunt_D_B_Lod2 + Prototype_GameObject_SM_AgedTombProtector_Grunt_D_B_Lod3 + + + + + + Prototype_GameObject_SM_Repository_TrollWall_Base + Prototype_GameObject_SM_Repository_TrollWall_Base_Lod1 + Prototype_GameObject_SM_Repository_TrollWall_Base_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Central_Structure_Core_Top_rock + Prototype_GameObject_SM_Repository_Central_Structure_Core_Top_rock_Lod1 + Prototype_GameObject_SM_Repository_Central_Structure_Core_Top_rock_Lod2 + Prototype_GameObject_SM_Repository_Central_Structure_Core_Top_rock_Lod3 + + + + + + Prototype_GameObject_SM_Sanctum_CaveShell_A_K + Prototype_GameObject_SM_Sanctum_CaveShell_A_K_Lod1 + Prototype_GameObject_SM_Sanctum_CaveShell_A_K_Lod2 + + + + + + Prototype_GameObject_SM_Sanctum_CaveShell_A_I + Prototype_GameObject_SM_Sanctum_CaveShell_A_I_Lod1 + Prototype_GameObject_SM_Sanctum_CaveShell_A_I_Lod2 + + + + + + Prototype_GameObject_SM_Sanctum_CaveShell_A_A + Prototype_GameObject_SM_Sanctum_CaveShell_A_A_Lod1 + Prototype_GameObject_SM_Sanctum_CaveShell_A_A_Lod2 + + + + + + Prototype_GameObject_SM_Sanctum_CaveShell_A_Base + Prototype_GameObject_SM_Sanctum_CaveShell_A_Base_Lod1 + Prototype_GameObject_SM_Sanctum_CaveShell_A_Base_Lod2 + + + + + + Prototype_GameObject_SM_Sanctum_CaveShell_A_Base + Prototype_GameObject_SM_Sanctum_CaveShell_A_Base_Lod1 + Prototype_GameObject_SM_Sanctum_CaveShell_A_Base_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_C + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_C_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_C_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod2 + + + + + + Prototype_GameObject_SM_Repository_DestructibleCover_A + Prototype_GameObject_SM_Repository_DestructibleCover_A_Lod1 + Prototype_GameObject_SM_Repository_DestructibleCover_A_Lod2 + Prototype_GameObject_SM_Repository_DestructibleCover_A_Lod3 + + + + + + Prototype_GameObject_SM_Repository_FracturedCliff_01 + Prototype_GameObject_SM_Repository_FracturedCliff_01_Lod1 + Prototype_GameObject_SM_Repository_FracturedCliff_01_Lod2 + Prototype_GameObject_SM_Repository_FracturedCliff_01_Lod3 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_C + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_C_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_C_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod2 + + + + + + Prototype_GameObject_SM_Gauntlet_01_barrier + Prototype_GameObject_SM_Gauntlet_01_barrier_Lod1 + Prototype_GameObject_SM_Gauntlet_01_barrier_Lod2 + Prototype_GameObject_SM_Gauntlet_01_barrier_Lod3 + + + + + + Prototype_GameObject_SM_Gauntlet_02_barrier + Prototype_GameObject_SM_Gauntlet_02_barrier_Lod1 + Prototype_GameObject_SM_Gauntlet_02_barrier_Lod2 + Prototype_GameObject_SM_Gauntlet_02_barrier_Lod3 + + + + + + Prototype_GameObject_SM_Gauntlet_01_barrier + Prototype_GameObject_SM_Gauntlet_01_barrier_Lod1 + Prototype_GameObject_SM_Gauntlet_01_barrier_Lod2 + Prototype_GameObject_SM_Gauntlet_01_barrier_Lod3 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod2 + + + + + + Prototype_GameObject_SM_Repository_ArenaFloor_A + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3 + + + + + + Prototype_GameObject_SM_Repository_ArenaFloor_A + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3 + + + + + + Prototype_GameObject_SM_Repository_ArenaFloor_A + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod1 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod2 + Prototype_GameObject_SM_Repository_ArenaFloor_A_Lod3 + + + + + + Prototype_GameObject_SM_CavernDun_Rock_N110 + Prototype_GameObject_SM_CavernDun_Rock_N110_Lod1 + Prototype_GameObject_SM_CavernDun_Rock_N110_Lod2 + + + + + + Prototype_GameObject_SM_CavernDun_Rock_N9 + Prototype_GameObject_SM_CavernDun_Rock_N9_Lod1 + Prototype_GameObject_SM_CavernDun_Rock_N9_Lod2 + + + + + + Prototype_GameObject_SM_CavernDun_Rock_Y2 + Prototype_GameObject_SM_CavernDun_Rock_Y2_Lod1 + Prototype_GameObject_SM_CavernDun_Rock_Y2_Lod2 + + + + + + Prototype_GameObject_SM_CavernDun_Rock_Y1 + Prototype_GameObject_SM_CavernDun_Rock_Y1_Lod1 + Prototype_GameObject_SM_CavernDun_Rock_Y1_Lod2 + + + + + + Prototype_GameObject_SM_SanctumDun_Tower_B + Prototype_GameObject_SM_SanctumDun_Tower_B_Lod1 + Prototype_GameObject_SM_SanctumDun_Tower_B_Lod2 + Prototype_GameObject_SM_SanctumDun_Tower_B_Lod3 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod2 + + + + + + Prototype_GameObject_SM_Gauntlet_01_barrier + Prototype_GameObject_SM_Gauntlet_01_barrier_Lod1 + Prototype_GameObject_SM_Gauntlet_01_barrier_Lod2 + Prototype_GameObject_SM_Gauntlet_01_barrier_Lod3 + + + + + + Prototype_GameObject_SM_Gauntlet_02_barrier + Prototype_GameObject_SM_Gauntlet_02_barrier_Lod1 + Prototype_GameObject_SM_Gauntlet_02_barrier_Lod2 + Prototype_GameObject_SM_Gauntlet_02_barrier_Lod3 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_B_Lod2 + + + + + + Prototype_GameObject_SM_CavernDun_Sanctum_RockGround_A + Prototype_GameObject_SM_CavernDun_Sanctum_RockGround_A_Lod1 + Prototype_GameObject_SM_CavernDun_Sanctum_RockGround_A_Lod2 + + + + + + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_LG_C + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_LG_C_Lod1 + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_LG_C_Lod2 + + + + + + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_MD_A + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_MD_A_Lod1 + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_MD_A_Lod2 + + + + + + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_MD_B + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_MD_B_Lod1 + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_MD_B_Lod2 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_A_Lod2 + + + + + + Prototype_GameObject_SM_AgedTombProtector_Grunt_A_A + Prototype_GameObject_SM_AgedTombProtector_Grunt_A_A_Lod1 + Prototype_GameObject_SM_AgedTombProtector_Grunt_A_A_Lod2 + Prototype_GameObject_SM_AgedTombProtector_Grunt_A_A_Lod3 + + + + + + Prototype_GameObject_SM_SanctumDun_MagicRockTendril_A + Prototype_GameObject_SM_SanctumDun_MagicRockTendril_A_Lod1 + Prototype_GameObject_SM_SanctumDun_MagicRockTendril_A_Lod2 + Prototype_GameObject_SM_SanctumDun_MagicRockTendril_A_Lod3 + + + + + + Prototype_GameObject_SM_SanctumDun_MagicRockTendril_B + Prototype_GameObject_SM_SanctumDun_MagicRockTendril_B_Lod1 + Prototype_GameObject_SM_SanctumDun_MagicRockTendril_B_Lod2 + Prototype_GameObject_SM_SanctumDun_MagicRockTendril_B_Lod3 + + + + + + Prototype_GameObject_SM_SanctumDun_MagicRockTendril_C + Prototype_GameObject_SM_SanctumDun_MagicRockTendril_C_Lod1 + Prototype_GameObject_SM_SanctumDun_MagicRockTendril_C_Lod2 + + + + + + Prototype_GameObject_SM_SanctumDun_MagicRockTendril_D + Prototype_GameObject_SM_SanctumDun_MagicRockTendril_D_Lod1 + Prototype_GameObject_SM_SanctumDun_MagicRockTendril_D_Lod2 + + + + + + Prototype_GameObject_SM_SanctumDun_Pensieve_Akio_Rock_A + Prototype_GameObject_SM_SanctumDun_Pensieve_Akio_Rock_A_Lod1 + Prototype_GameObject_SM_SanctumDun_Pensieve_Akio_Rock_A_Lod2 + + + + + + Prototype_GameObject_SM_Repository_EdgeRock_Base + Prototype_GameObject_SM_Repository_EdgeRock_Base_Lod1 + Prototype_GameObject_SM_Repository_EdgeRock_Base_Lod2 + + + + + + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_LG_C + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_LG_C_Lod1 + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_LG_C_Lod2 + + + + + + Prototype_GameObject_SM_Repository_FracturedCliff_01 + Prototype_GameObject_SM_Repository_FracturedCliff_01_Lod1 + Prototype_GameObject_SM_Repository_FracturedCliff_01_Lod2 + Prototype_GameObject_SM_Repository_FracturedCliff_01_Lod3 + + + + + + Prototype_GameObject_SM_CavernDun_Rock_Y2 + Prototype_GameObject_SM_CavernDun_Rock_Y2_Lod1 + Prototype_GameObject_SM_CavernDun_Rock_Y2_Lod2 + + + + + + Prototype_GameObject_SM_CavernDun_Sanctum_RockGround_A + Prototype_GameObject_SM_CavernDun_Sanctum_RockGround_A_Lod1 + Prototype_GameObject_SM_CavernDun_Sanctum_RockGround_A_Lod2 + + + + + + Prototype_GameObject_SM_Repository_DestructibleCover_A + Prototype_GameObject_SM_Repository_DestructibleCover_A_Lod1 + Prototype_GameObject_SM_Repository_DestructibleCover_A_Lod2 + Prototype_GameObject_SM_Repository_DestructibleCover_A_Lod3 + + + + + + Prototype_GameObject_SM_MERGED_Falling_Rocks_area3_4 + Prototype_GameObject_SM_MERGED_Falling_Rocks_area3_4_Lod1 + Prototype_GameObject_SM_MERGED_Falling_Rocks_area3_4_Lod2 + Prototype_GameObject_SM_MERGED_Falling_Rocks_area3_4_Lod3 + + + + + + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_C + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_C_Lod1 + Prototype_GameObject_SM_Repository_Broken_Stalagmite_A_C_Lod2 + + + + + + Prototype_GameObject_SM_Repository_FracturedCliff_01 + Prototype_GameObject_SM_Repository_FracturedCliff_01_Lod1 + Prototype_GameObject_SM_Repository_FracturedCliff_01_Lod2 + Prototype_GameObject_SM_Repository_FracturedCliff_01_Lod3 + + + + + + Prototype_GameObject_SM_Repository_FloatingGround_02_B + Prototype_GameObject_SM_Repository_FloatingGround_02_B_Lod1 + Prototype_GameObject_SM_Repository_FloatingGround_02_B_Lod2 + + + + + + Prototype_GameObject_SM_Repository_FloatingGround_04_B + Prototype_GameObject_SM_Repository_FloatingGround_04_B_Lod1 + Prototype_GameObject_SM_Repository_FloatingGround_04_B_Lod2 + + + + + + Prototype_GameObject_SM_Repository_FloatingGround_02_A + Prototype_GameObject_SM_Repository_FloatingGround_02_A_Lod1 + Prototype_GameObject_SM_Repository_FloatingGround_02_A_Lod2 + + + + + + Prototype_GameObject_SM_Repository_FloatingGround_03_B + Prototype_GameObject_SM_Repository_FloatingGround_03_B_Lod1 + Prototype_GameObject_SM_Repository_FloatingGround_03_B_Lod2 + + + + + + Prototype_GameObject_SM_Gauntlet_02_barrier + Prototype_GameObject_SM_Gauntlet_02_barrier_Lod1 + Prototype_GameObject_SM_Gauntlet_02_barrier_Lod2 + Prototype_GameObject_SM_Gauntlet_02_barrier_Lod3 + + + + + + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_MD_A2 + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_MD_A2_Lod1 + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_MD_A2_Lod2 + + + + + + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_MD_A3 + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_MD_A3_Lod1 + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_MD_A3_Lod2 + + + + + + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_MD_B + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_MD_B_Lod1 + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_MD_B_Lod2 + + + + + + Prototype_GameObject_SM_SanctumDun_MagicRockTendril_A + Prototype_GameObject_SM_SanctumDun_MagicRockTendril_A_Lod1 + Prototype_GameObject_SM_SanctumDun_MagicRockTendril_A_Lod2 + Prototype_GameObject_SM_SanctumDun_MagicRockTendril_A_Lod3 + + + + + + Prototype_GameObject_SM_SanctumDun_MagicRockTendril_D + Prototype_GameObject_SM_SanctumDun_MagicRockTendril_D_Lod1 + Prototype_GameObject_SM_SanctumDun_MagicRockTendril_D_Lod2 + + + + + + Prototype_GameObject_SM_BoH_BreakingBridge_Area07_Base + Prototype_GameObject_SM_BoH_BreakingBridge_Area07_Base_Lod1 + Prototype_GameObject_SM_BoH_BreakingBridge_Area07_Base_Lod2 + + + + + + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_LG_C + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_LG_C_Lod1 + Prototype_GameObject_SM_CavernDun_Sanctum_Rock_LG_C_Lod2 + + + + + + Prototype_GameObject_SM_Repository_EdgeRock_Base + Prototype_GameObject_SM_Repository_EdgeRock_Base_Lod1 + Prototype_GameObject_SM_Repository_EdgeRock_Base_Lod2 + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AU_AlphaMap.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AU_AlphaMap.bin new file mode 100644 index 000000000..3285ef29d --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AU_AlphaMap.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab04bd04e6c34635fc2bb00e40b3774e967b844ff5db36d83bd116e8564428b5 +size 16777216 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AU_AlphaMap.dds b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AU_AlphaMap.dds new file mode 100644 index 000000000..fd14af27b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AU_AlphaMap.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AV_AlphaMap.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AV_AlphaMap.bin new file mode 100644 index 000000000..4ce8e835e --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AV_AlphaMap.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29bcf83ba848136a495d9e7b81ef46754ed7ce890659627b13717232428793e4 +size 16777216 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AV_AlphaMap.dds b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AV_AlphaMap.dds new file mode 100644 index 000000000..f68260c70 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AV_AlphaMap.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AY_AlphaMap.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AY_AlphaMap.bin new file mode 100644 index 000000000..180622570 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AY_AlphaMap.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5499b764cddc49830ff8fb64e319671df7b12b32e249277ed00802966ea64f9 +size 16777216 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AY_AlphaMap.dds b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AY_AlphaMap.dds new file mode 100644 index 000000000..14d3af825 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AY_AlphaMap.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AZ_AlphaMap.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AZ_AlphaMap.bin new file mode 100644 index 000000000..26a777749 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AZ_AlphaMap.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:52831833df971db0d99117c8a87b9f7aca9ab557244cbb21f3d28db0660fa33e +size 16777216 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AZ_AlphaMap.dds b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AZ_AlphaMap.dds new file mode 100644 index 000000000..2c2555865 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_AZ_AlphaMap.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BA_AlphaMap.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BA_AlphaMap.bin new file mode 100644 index 000000000..8bb4bed23 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BA_AlphaMap.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7e415e900e52d39a64f5d1cb224dcf95699630c034356898d3d4eda8bd9108ac +size 16777216 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BA_AlphaMap.dds b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BA_AlphaMap.dds new file mode 100644 index 000000000..365e03d24 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BA_AlphaMap.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BC_AlphaMap.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BC_AlphaMap.bin new file mode 100644 index 000000000..0a53bf250 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BC_AlphaMap.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:48c1bc4a540765efed641e7974e78c837f9289f2a4478db219c4bf42d6c3d29d +size 16777216 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BC_AlphaMap.dds b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BC_AlphaMap.dds new file mode 100644 index 000000000..4c02b0a0e Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BC_AlphaMap.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BD_AlphaMap.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BD_AlphaMap.bin new file mode 100644 index 000000000..8159bbd40 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BD_AlphaMap.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:56be77030a1de3e1845a935226b8d96703b08b4a79483c4263151787e2a22a8a +size 16777216 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BD_AlphaMap.dds b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BD_AlphaMap.dds new file mode 100644 index 000000000..4f2dff68f Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BD_AlphaMap.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BE_AlphaMap.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BE_AlphaMap.bin new file mode 100644 index 000000000..35cd50001 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BE_AlphaMap.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c53f3917e7b11f0e3b27625adbb4bfd27c062b1f58369c93f7d0fcff1e7600d +size 16777216 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BE_AlphaMap.dds b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BE_AlphaMap.dds new file mode 100644 index 000000000..4653cfb33 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BE_AlphaMap.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BF_AlphaMap.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BF_AlphaMap.bin new file mode 100644 index 000000000..b7b8f6ba1 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BF_AlphaMap.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:04a1b6a2f624e521bc0c00aea8d7690e64e6d8c199f47b9d1f7654dc90b78500 +size 16777216 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BF_AlphaMap.dds b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BF_AlphaMap.dds new file mode 100644 index 000000000..5cad50723 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BF_AlphaMap.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BG_AlphaMap.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BG_AlphaMap.bin new file mode 100644 index 000000000..a3e2567b5 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BG_AlphaMap.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c548c3945e980c7d39b4ff3125a357ab946be2a014b5284859eb385bf6cf8cdf +size 16777216 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BG_AlphaMap.dds b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BG_AlphaMap.dds new file mode 100644 index 000000000..f266c4dac Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BG_AlphaMap.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BH_AlphaMap.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BH_AlphaMap.bin new file mode 100644 index 000000000..34ace3fba --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BH_AlphaMap.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6916e0ad960f9f043b31e3a1a06580302b599ebb3e2962d376c49b6be3c94e2f +size 16777216 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BH_AlphaMap.dds b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BH_AlphaMap.dds new file mode 100644 index 000000000..cf6c24511 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BH_AlphaMap.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BI_AlphaMap.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BI_AlphaMap.bin new file mode 100644 index 000000000..a9314e7c4 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BI_AlphaMap.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:332c0859c8721a1316c5132783b38c56040604167c34577b10dab4c6070da913 +size 16777216 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BI_AlphaMap.dds b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BI_AlphaMap.dds new file mode 100644 index 000000000..cf298fbd8 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BI_AlphaMap.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BJ_AlphaMap.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BJ_AlphaMap.bin new file mode 100644 index 000000000..99ddd501f --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BJ_AlphaMap.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3cef2a46d9d3a11aa77c813208083596672d69e3e126d7a4dbcadbf0179653da +size 16777216 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BJ_AlphaMap.dds b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BJ_AlphaMap.dds new file mode 100644 index 000000000..4def66146 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_HN_BJ_AlphaMap.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_TU_BB_AlphaMap.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_TU_BB_AlphaMap.bin new file mode 100644 index 000000000..1264c8bc9 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_TU_BB_AlphaMap.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:73fc33cf9b02588187aceb781dc7555070537af96f2a87ea5fe71663f37db4e6 +size 16777216 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_TU_BB_AlphaMap.dds b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_TU_BB_AlphaMap.dds new file mode 100644 index 000000000..df19cee74 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Terrain/Land_TU_BB_AlphaMap.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BALOD/SM_LandscapeStreamingProxy_0_LOD1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BALOD/SM_LandscapeStreamingProxy_0_LOD1.bin new file mode 100644 index 000000000..ca3ef705e --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BALOD/SM_LandscapeStreamingProxy_0_LOD1.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:903ba3faf37d24ecd9e7ff0ce17f08d770cc64408f7dba0d90a993ec5d5bd245 +size 175654 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BDLOD/SM_LandscapeStreamingProxy_0_LOD1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BDLOD/SM_LandscapeStreamingProxy_0_LOD1.bin new file mode 100644 index 000000000..505038b0c --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BDLOD/SM_LandscapeStreamingProxy_0_LOD1.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:23d53353bb1c3906c8816454840a2b6e9665ce5a3d5b36205616eb4c0d8ddab5 +size 108530 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BELOD/SM_LandscapeStreamingProxy_0_LOD1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BELOD/SM_LandscapeStreamingProxy_0_LOD1.bin new file mode 100644 index 000000000..332c2d93b --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BELOD/SM_LandscapeStreamingProxy_0_LOD1.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0e2c37d26b6bc57e90bc974c8b7d496892e600854eaa7aaf1a15347910cfd55 +size 106590 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BFLOD/SM_LandscapeStreamingProxy_0_LOD1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BFLOD/SM_LandscapeStreamingProxy_0_LOD1.bin new file mode 100644 index 000000000..7b4f6256c --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BFLOD/SM_LandscapeStreamingProxy_0_LOD1.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ba72ba5f19a563eb6c9deed998845dec4826d3c54a8fcf043a6ecc9fad7509e +size 234718 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BGLOD/SM_LandscapeStreamingProxy_1_LOD1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BGLOD/SM_LandscapeStreamingProxy_1_LOD1.bin new file mode 100644 index 000000000..8fb63a374 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BGLOD/SM_LandscapeStreamingProxy_1_LOD1.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:129120100ba4d1d940fec69145da3f8968e7c5d40096a8ec5a79b1315db7e864 +size 369786 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BHLOD/SM_LandscapeStreamingProxy_0_LOD1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BHLOD/SM_LandscapeStreamingProxy_0_LOD1.bin new file mode 100644 index 000000000..13f9fe357 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BHLOD/SM_LandscapeStreamingProxy_0_LOD1.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8e8d64ebda88648f78aa6db3f00cd8f414ab14387b729f0665e0aaf66f023a40 +size 92250 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BILOD/SM_LandscapeStreamingProxy_0_LOD1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BILOD/SM_LandscapeStreamingProxy_0_LOD1.bin new file mode 100644 index 000000000..d9ac8b38d --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BILOD/SM_LandscapeStreamingProxy_0_LOD1.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa07180f1502057db3bd10a6d114abd238af5ad39add8788d73d034750121254 +size 87454 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BJLOD/SM_LandscapeStreamingProxy_0_LOD1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BJLOD/SM_LandscapeStreamingProxy_0_LOD1.bin new file mode 100644 index 000000000..40c7cb633 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/HN_BJLOD/SM_LandscapeStreamingProxy_0_LOD1.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:baefd251c0d7a7a56750ca05141ea2b9b9791f80cc2801d5ff744bdb2c822cd1 +size 278010 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/TU_BBLOD/SM_LandscapeStreamingProxy_0_LOD1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/TU_BBLOD/SM_LandscapeStreamingProxy_0_LOD1.bin new file mode 100644 index 000000000..e7bcf4b5d --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/MapMesh/Game/Levels/Overland/HOG/TU_BBLOD/SM_LandscapeStreamingProxy_0_LOD1.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8bf8a4de5903c9eb6bb89874814527d8eaacae1f60337e7123e17e7a2d810a55 +size 389678 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl index b27062221..e289bf2d4 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl @@ -127,6 +127,11 @@ float g_fSoftMaskEdge; float g_fUVTiling; +Texture2D g_DiffuseTextures[4]; +Texture2D g_NormalTextures[4]; +Texture2D g_SurfaceParamsTextures[4]; +Texture2D g_MaskTexture; + struct VS_IN { float3 vPosition : POSITION; @@ -538,19 +543,7 @@ PS_OUT_BLUR PS_MAIN_SKYBOX(PS_IN In) PS_OUT_BLUR Out; float4 vColor = g_DiffuseTexture.Sample(DefaultSampler, In.vTexcoord); - - //if (0.f == g_fFogPow) - //{ - // Out.vDiffuse = vColor; - // return Out; - //} - - //vector vFinalColor; - //float fRatio; - - //fRatio = pow(1.f - saturate(exp(-1.f * g_fFar * g_fFogDensity)), g_fFogPow); - //vFinalColor = lerp(vColor, g_vFogColor, fRatio); - //vFinalColor.a = 1.f; + Out.vDiffuse = vColor; @@ -777,16 +770,38 @@ PS_OUT PS_LAND(PS_IN In) { PS_OUT Out = (PS_OUT)0; - float4 vMtrlDiffuse = g_DiffuseTexture.Sample(AnisoTropy_BLUR_Sampler, In.vTexcoord * 10.f); - float4 vSurface = g_SurfaceParamsTexture.Sample(AnisoTropy_BLUR_Sampler, In.vTexcoord * 10.f); + vector vMask = g_MaskTexture.Sample(DefaultSampler, In.vTexcoord); + + vector vMtrlDiffuse_0 = g_DiffuseTextures[0].Sample(DefaultSampler, In.vTexcoord * 10.f); + vector vMtrlDiffuse_1 = g_DiffuseTextures[1].Sample(DefaultSampler, In.vTexcoord * 10.f); + vector vMtrlDiffuse_2 = g_DiffuseTextures[2].Sample(DefaultSampler, In.vTexcoord * 10.f); + vector vMtrlDiffuse_3 = g_DiffuseTextures[3].Sample(DefaultSampler, In.vTexcoord * 10.f); + + vector vMtrlDiffuse = float4(float3(vMtrlDiffuse_0.xyz * vMask.r + + vMtrlDiffuse_1.xyz * vMask.g + + vMtrlDiffuse_2.xyz * vMask.b + + vMtrlDiffuse_3.xyz * vMask.a), 1.f); - if (vMtrlDiffuse.a < 0.2f) - { - discard; - } + vector vSurface_0 = g_SurfaceParamsTextures[0].Sample(DefaultSampler, In.vTexcoord * 10.f); + vector vSurface_1 = g_SurfaceParamsTextures[1].Sample(DefaultSampler, In.vTexcoord * 10.f); + vector vSurface_2 = g_SurfaceParamsTextures[2].Sample(DefaultSampler, In.vTexcoord * 10.f); + vector vSurface_3 = g_SurfaceParamsTextures[3].Sample(DefaultSampler, In.vTexcoord * 10.f); + + vector vSurface = (vSurface_0 * vMask.r + + vSurface_1 * vMask.g + + vSurface_2 * vMask.b + + vSurface_3 * vMask.a); - - float3 vNormalDecoded = DecodeNormalFromRG(g_NormalTexture, AnisoTropy_BLUR_Sampler, In.vTexcoord); + float3 vNormalDecoded_0 = DecodeNormalFromRG(g_NormalTextures[0], DefaultSampler, In.vTexcoord * 10.f); + float3 vNormalDecoded_1 = DecodeNormalFromRG(g_NormalTextures[1], DefaultSampler, In.vTexcoord * 10.f); + float3 vNormalDecoded_2 = DecodeNormalFromRG(g_NormalTextures[2], DefaultSampler, In.vTexcoord * 10.f); + float3 vNormalDecoded_3 = DecodeNormalFromRG(g_NormalTextures[3], DefaultSampler, In.vTexcoord * 10.f); + + float3 vNormalDecoded = normalize(vNormalDecoded_0.xyz * vMask.r + + vNormalDecoded_1.xyz * vMask.g + + vNormalDecoded_1.xyz * vMask.b + + vNormalDecoded_1.xyz * vMask.a); + float3x3 WorldMatrix = float3x3(In.vTangent, In.vBinormal * -1.f, In.vNormal); float3 vNormal = normalize(mul(vNormalDecoded, WorldMatrix)); diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Sky/Daylight.dds b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Sky/Daylight.dds new file mode 100644 index 000000000..7872ae0b6 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Sky/Daylight.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Sky/T_Sky_Stars.dds b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Sky/T_Sky_Stars.dds new file mode 100644 index 000000000..c6105f75e Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Sky/T_Sky_Stars.dds differ diff --git a/Jusin154_Team3D/Editor/Private/AlphaMap.cpp b/Jusin154_Team3D/Editor/Private/AlphaMap.cpp index dd17e6885..8cbaf5acc 100644 --- a/Jusin154_Team3D/Editor/Private/AlphaMap.cpp +++ b/Jusin154_Team3D/Editor/Private/AlphaMap.cpp @@ -34,9 +34,63 @@ void CAlphaMap::Update(_float3& vPosition, _uint iColorIndex, _float fValue, _ui iPixelIndex = (iCurrentZ * m_iNumPixelW) + iCurrentX; - if (m_iNumPixels <= iPixelIndex) + if (m_iNumPixels <= iPixelIndex || 0 > iPixelIndex) + continue; + + if (0 == iColorIndex) + { + m_pPixels[iPixelIndex].x += fValue; + } + else if (1 == iColorIndex) + { + m_pPixels[iPixelIndex].y += fValue; + } + else if (2 == iColorIndex) + { + m_pPixels[iPixelIndex].z += fValue; + } + else if (3 == iColorIndex) + { + m_pPixels[iPixelIndex].w += fValue; + } + else return; + _float fWeight = m_pPixels[iPixelIndex].x + m_pPixels[iPixelIndex].y + m_pPixels[iPixelIndex].z + m_pPixels[iPixelIndex].w; + + m_pPixels[iPixelIndex] = _float4(m_pPixels[iPixelIndex].x / fWeight, m_pPixels[iPixelIndex].y / fWeight, m_pPixels[iPixelIndex].z / fWeight, m_pPixels[iPixelIndex].w / fWeight); + } + } + + memcpy(SubResource.pData, m_pPixels, sizeof(_float4) * m_iNumPixels); + + m_pContext->Unmap(m_pTexture2D, 0); + +} + +void CAlphaMap::Update_Land(_float2 vUV, _uint iColorIndex, _float fValue, _uint iRange) +{ + D3D11_MAPPED_SUBRESOURCE SubResource{}; + if (FAILED(m_pContext->Map(m_pTexture2D, 0, D3D11_MAP_WRITE_DISCARD, 0, &SubResource))) + return; + + _uint iPixelIndex = {}; + + _uint iStartX = (_uint)(vUV.x * m_iNumPixelW) - (iRange / 2); + _uint iStartZ = (_uint)(vUV.y * m_iNumPixelH) - (iRange / 2); + + for (_uint j = 0; j < iRange; ++j) + { + for (_uint i = 0; i < iRange; ++i) + { + _uint iCurrentX = iStartX + i; + _uint iCurrentZ = iStartZ + j; + + iPixelIndex = (iCurrentZ * m_iNumPixelW) + iCurrentX; + + if (m_iNumPixels <= iPixelIndex || 0 > iPixelIndex) + continue; + if (0 == iColorIndex) { m_pPixels[iPixelIndex].x += fValue; @@ -121,7 +175,15 @@ void CAlphaMap::Load_ToFile(const _char* pFilePath) m_pContext->Unmap(m_pTexture2D, 0); - if (FAILED(SaveDDSTextureToFile(m_pContext, m_pTexture2D, L"../Bin/Resources/Data/Map/Terrain/Hogsmeade_AlphaMap.dds"))) + /*if (FAILED(SaveDDSTextureToFile(m_pContext, m_pTexture2D, L"../Bin/Resources/Data/Map/Terrain/Hogsmeade_AlphaMap.dds"))) + return;*/ +} + +void CAlphaMap::Save_DDS(const _char* pFilePath) +{ + string strFilePath = "../Bin/Resources/Data/Map/Terrain/" + string(pFilePath); + + if (FAILED(SaveDDSTextureToFile(m_pContext, m_pTexture2D, CMyTools::ToWstring(strFilePath).c_str()))) return; } diff --git a/Jusin154_Team3D/Editor/Private/Land.cpp b/Jusin154_Team3D/Editor/Private/Land.cpp index 837203ff5..734343327 100644 --- a/Jusin154_Team3D/Editor/Private/Land.cpp +++ b/Jusin154_Team3D/Editor/Private/Land.cpp @@ -2,6 +2,7 @@ #include "Land.h" #include "GameInstance.h" +#include "AlphaMap.h" CLand::CLand(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) : CGameObject{ pDevice, pContext } @@ -25,7 +26,7 @@ void CLand::Update(_float fTimeDelta) void CLand::Late_Update(_float fTimeDelta) { - if(m_pGameInstance->IsIn_WorldFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_pModelCom->Get_Radius())) + if(m_pGameInstance->IsIn_WorldFrustum(m_pTransformCom->Get_State(STATE::POSITION), 400.f)) m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this); else { @@ -43,8 +44,8 @@ HRESULT CLand::Render() for (_uint i = 0; i < iNumMeshes; i++) { - if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom))) - return E_FAIL; + /* if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom))) + return E_FAIL;*/ if (FAILED(m_pShaderCom->Begin(17))) { return E_FAIL; @@ -60,6 +61,8 @@ HRESULT CLand::Render() HRESULT CLand::Initialize_Prototype() { + m_fUsingSurfaceParams = MRO_PARAMETER; + return S_OK; } @@ -74,8 +77,13 @@ HRESULT CLand::Initialize(void* pArg) if (FAILED(Ready_Components(pArg))) return E_FAIL; + if (FAILED(Ready_AlphaMap())) + return E_FAIL; + LAND_DESC* pLand_Desc = static_cast(pArg); + if(pLand_Desc->isLoadAlphaMap) + m_pAlphaMap->Load_ToFile(pLand_Desc->strAlphaMapTag.c_str()); return S_OK; } @@ -91,6 +99,7 @@ HRESULT CLand::Ready_Components(void* pArg) m_bEdit = pDesc->bEdit; m_pTransformCom->Set_State(STATE::POSITION, XMVectorSetW(XMLoadFloat3(&pDesc->vPosition), 1.f)); m_pTransformCom->Set_Scale(pDesc->vScale); + memcpy(&m_vScale, &pDesc->vScale, sizeof(_float3)); /* Com_Model */ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, pDesc->strModelComTag, @@ -102,6 +111,19 @@ HRESULT CLand::Ready_Components(void* pArg) reinterpret_cast(&m_pShaderCom)))) return E_FAIL; + /* Com_Texture */ + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Terrain_Diffuse"), reinterpret_cast(&m_pDiffuseTextureCom), nullptr))) { + return E_FAIL; + } + /* Com_Texture */ + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Terrain_Normal"), reinterpret_cast(&m_pNormalTextureCom), nullptr))) { + return E_FAIL; + } + /* Com_Texture */ + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Terrain_MRO"), reinterpret_cast(&m_pMROTextureCom), nullptr))) { + return E_FAIL; + } + return S_OK; } @@ -123,6 +145,32 @@ HRESULT CLand::Bind_ShaderResources() return E_FAIL; } + if (FAILED(m_pDiffuseTextureCom->Bind_ShaderResources(m_pShaderCom, "g_DiffuseTextures", 0, m_pDiffuseTextureCom->Get_Size()))) { + return E_FAIL; + } + if (FAILED(m_pNormalTextureCom->Bind_ShaderResources(m_pShaderCom, "g_NormalTextures", 0, m_pNormalTextureCom->Get_Size()))) { + return E_FAIL; + } + if (FAILED(m_pMROTextureCom->Bind_ShaderResources(m_pShaderCom, "g_SurfaceParamsTextures", 0, m_pMROTextureCom->Get_Size()))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_SRV("g_MaskTexture", m_pAlphaMap->Get_SRV()))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fUsingSurfaceParams", &m_fUsingSurfaceParams, sizeof(_float)))) + return E_FAIL; + + return S_OK; +} + +HRESULT CLand::Ready_AlphaMap() +{ + m_pAlphaMap = CAlphaMap::Create(m_pDevice, m_pContext, 1024, 1024); + + if (nullptr == m_pAlphaMap) + return E_FAIL; + return S_OK; } @@ -157,34 +205,66 @@ void CLand::Free() SAFE_RELEASE(m_pShaderCom); SAFE_RELEASE(m_pModelCom); + + SAFE_RELEASE(m_pDiffuseTextureCom); + SAFE_RELEASE(m_pNormalTextureCom); + SAFE_RELEASE(m_pMROTextureCom); + SAFE_RELEASE(m_pAlphaMap); } void CLand::Describe_Entity() { GUI::Begin("Land Debug"); - XMStoreFloat4(&m_vPosition, m_pTransformCom->Get_State(STATE::POSITION)); - GUI::DragFloat3("LandPos", (_float*)(&m_vPosition)); - m_pTransformCom->Set_State(STATE::POSITION, XMLoadFloat4(&m_vPosition)); + GUI::InputFloat2("PickingUV", (_float*)(&m_vPickingUV)); + GUI::Text("----- AlphaMap ----"); + 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 (m_pGameInstance->Mouse_Pressing(DIM_LBUTTON) && m_pGameInstance->Key_Pressing(DIK_M)) + { + _float3 m_vPickingPosition = {}; + if (m_pGameInstance->isPicking(&m_vPickingPosition)) + { + if (m_pModelCom->PickingMesh(&m_vPickingPosition, &m_vPickingUV, 0, m_pTransformCom->Get_XMWorldMatrix())) + { + m_pAlphaMap->Update_Land(m_vPickingUV, m_iColorIndex, m_fMaskValue, m_iMaskRange); + } + //XMStoreFloat3(&m_vPickingPosition, XMVector3TransformCoord(XMLoadFloat3(&m_vPickingPosition), m_pTransformCom->Get_WorldMatrixInv())); + } + } + GUI::Text("----- Position ----"); + XMStoreFloat4(&m_vPosition, m_pTransformCom->Get_State(STATE::POSITION)); + GUI::InputFloat("X##LandPos", &m_vPosition.x, 0.1f, 10.f); + GUI::InputFloat("Y##LandPos", &m_vPosition.y, 0.1f, 10.f); + GUI::InputFloat("Z##LandPos", &m_vPosition.z, 0.1f, 10.f); + m_pTransformCom->Set_State(STATE::POSITION, XMLoadFloat4(&m_vPosition)); GUI::Text("----- Scale ----"); GUI::InputFloat("X##Scale", &m_vScale.x, 0.1f, 1.f); GUI::InputFloat("Y##Scale", &m_vScale.y, 0.1f, 1.f); GUI::InputFloat("Z##Scale", &m_vScale.z, 0.1f, 1.f); + if (GUI::Button("Save", ImVec2(100.f, 30.f))) + { + m_pAlphaMap->Save_ToFile("Land_TU_BB_AlphaMap.bin"); + } + if (GUI::Button("Load", ImVec2(100.f, 30.f))) + { + m_pAlphaMap->Load_ToFile("Land_TU_BB_AlphaMap.bin"); + } + if (GUI::Button("SaveDDS", ImVec2(100.f, 30.f))) + { + m_pAlphaMap->Save_DDS("Land_TU_BB_AlphaMap.dds"); + } m_vScale.x = max(0.01f, m_vScale.x); m_vScale.y = max(0.01f, m_vScale.y); m_vScale.z = max(0.01f, m_vScale.z); m_pTransformCom->Set_Scale(m_vScale); - GUI::Text("----- Rotation ----"); - GUI::InputFloat("X##Rotation", &m_vRotation.x, 10.f, 45.f); - GUI::InputFloat("Y##Rotation", &m_vRotation.y, 10.f, 45.f); - GUI::InputFloat("Z##Rotation", &m_vRotation.z, 10.f, 45.f); - - m_pTransformCom->Rotation(XMConvertToRadians(m_vRotation.x), XMConvertToRadians(m_vRotation.y), XMConvertToRadians(m_vRotation.z)); - GUI::End(); } diff --git a/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp index 68be8bbd7..b43da265c 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")))) { - return E_FAIL; - } + //if (FAILED(Ready_Layer_InstanceProp(TEXT("Layer_InstanceProp")))) { + // return E_FAIL; + //} //if (FAILED(Ready_Layer_BuildingContainer(TEXT("Layer_Building")))) { // return E_FAIL; @@ -92,7 +92,8 @@ HRESULT CLevel_MapViewer::Initialize() return E_FAIL; } - m_pGameInstance->Setting_Volumetirc(1.812f, 0.003f, 0.56f, 1.f, 0.031f); + //m_pGameInstance->Setting_Volumetirc(1.812f, 0.003f, 0.56f, 1.f, 0.031f); + m_pGameInstance->Setting_Volumetirc(0.f, 0.003f, 0.56f, 1.f, 0.031f); return S_OK; } @@ -148,7 +149,7 @@ HRESULT CLevel_MapViewer::Ready_Layer_Terrain(const _wstring& strLayerTag) CTerrain::TERRAIN_DESC Desc = {}; ///* Hogsmeade */ - Desc.isEdit = true; + Desc.isEdit = false; Desc.iAlphaSizeX = 2048; Desc.iAlphaSizeY = 2048; Desc.vPosition = _float3(-194, 18.5f, -153.f); @@ -159,7 +160,7 @@ HRESULT CLevel_MapViewer::Ready_Layer_Terrain(const _wstring& strLayerTag) return E_FAIL; /* Hogwart */ - /*Desc.isEdit = false; + Desc.isEdit = false; Desc.iAlphaSizeX = 2048; Desc.iAlphaSizeY = 2560; Desc.strAlphaMapTag = "Hogwart_AlphaMap.bin"; @@ -167,7 +168,7 @@ HRESULT CLevel_MapViewer::Ready_Layer_Terrain(const _wstring& strLayerTag) Desc.vPosition = _float3(-451.f, 18.5f, -791.f); Desc.strBufferTag = TEXT("Prototype_Component_VIBuffer_Terrain_Hogwart"); if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &Desc))) - return E_FAIL;*/ + return E_FAIL; /* North_Hogwart */ //Desc.isEdit = false; @@ -215,7 +216,6 @@ HRESULT CLevel_MapViewer::Ready_Layer_Terrain(const _wstring& strLayerTag) if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &Lake_Desc))) return E_FAIL; - return S_OK; } @@ -225,46 +225,143 @@ HRESULT CLevel_MapViewer::Ready_Layer_Land(const _wstring& strLayerTag) /* South_Hogwart_Land */ Land_Desc.bEdit = false; + Land_Desc.isLoadAlphaMap = true; Land_Desc.vPosition = _float3(290.5f, 59.5f, -347.f); Land_Desc.vScale = _float3(1.f, 1.25f, 1.f); Land_Desc.strModelComTag = L"Prototype_Component_South_Hogwart_Land_LOD1"; + Land_Desc.strAlphaMapTag = "Land_HN_BC_AlphaMap.bin"; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGWART, &Land_Desc))) return E_FAIL; /* North_Hogwart_Land */ Land_Desc.bEdit = false; + Land_Desc.isLoadAlphaMap = true; Land_Desc.vPosition = _float3(-370.f, -37.5f, -21.4f); Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); Land_Desc.strModelComTag = L"Prototype_Component_North_Hogwart_Land_LOD1"; - + Land_Desc.strAlphaMapTag = "Land_HN_AV_AlphaMap.bin"; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGWART, &Land_Desc))) return E_FAIL; /* North_Hogwart2_Land */ Land_Desc.bEdit = false; + Land_Desc.isLoadAlphaMap = true; Land_Desc.vPosition = _float3(-378.f, -17.5f, 285.6f); Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); Land_Desc.strModelComTag = L"Prototype_Component_North_Hogwart2_Land_LOD1"; - + Land_Desc.strAlphaMapTag = "Land_HN_AU_AlphaMap.bin"; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGWART, &Land_Desc))) return E_FAIL; /* West_Hogwart_Land */ Land_Desc.bEdit = false; + Land_Desc.isLoadAlphaMap = true; Land_Desc.vPosition = _float3(-653.f, 20.f, -327.4f); Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); Land_Desc.strModelComTag = L"Prototype_Component_West_Hogwart_Land_LOD1"; - + Land_Desc.strAlphaMapTag = "Land_HN_AZ_AlphaMap.bin"; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGWART, &Land_Desc))) return E_FAIL; /* East_Hogsmeade_Land */ Land_Desc.bEdit = false; + Land_Desc.isLoadAlphaMap = true; Land_Desc.vPosition = _float3(436.f, 55.f, 60.3f); Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); Land_Desc.strModelComTag = L"Prototype_Component_East_Hogsmeade_Land_LOD1"; + Land_Desc.strAlphaMapTag = "Land_HN_AY_AlphaMap.bin"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGSMEADE, &Land_Desc))) + return E_FAIL; + + /* HN_BA */ + Land_Desc.bEdit = false; + Land_Desc.isLoadAlphaMap = true; + Land_Desc.vPosition = _float3(-606.f, 70.f, -647.7f); + Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); + Land_Desc.strModelComTag = L"Prototype_Component_Land_HN_BA"; + Land_Desc.strAlphaMapTag = "Land_HN_BA_AlphaMap.bin"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGWART, &Land_Desc))) + return E_FAIL; + + /* HN_BD */ + Land_Desc.bEdit = false; + Land_Desc.isLoadAlphaMap = true; + Land_Desc.vPosition = _float3(201.4f, -22.9f, -650.1f); + Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); + Land_Desc.strModelComTag = L"Prototype_Component_Land_HN_BD"; + Land_Desc.strAlphaMapTag = "Land_HN_BD_AlphaMap.bin"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGSMEADE, &Land_Desc))) + return E_FAIL; + + /* HN_BG */ + Land_Desc.bEdit = false; + Land_Desc.isLoadAlphaMap = true; + Land_Desc.vPosition = _float3(-377.8f, 5.f, -1038.49f); + Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); + Land_Desc.strModelComTag = L"Prototype_Component_Land_HN_BG"; + Land_Desc.strAlphaMapTag = "Land_HN_BG_AlphaMap.bin"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGSMEADE, &Land_Desc))) + return E_FAIL; + + /* HN_BH */ + Land_Desc.bEdit = false; + Land_Desc.isLoadAlphaMap = true; + Land_Desc.vPosition = _float3(80.1f, -63.f, -908.3f); + Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); + Land_Desc.strModelComTag = L"Prototype_Component_Land_HN_BH"; + Land_Desc.strAlphaMapTag = "Land_HN_BH_AlphaMap.bin"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGSMEADE, &Land_Desc))) + return E_FAIL; + + /* HN_BE */ + Land_Desc.bEdit = false; + Land_Desc.isLoadAlphaMap = true; + Land_Desc.vPosition = _float3(431.2f, 100.1f, -658.3f); + Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); + Land_Desc.strModelComTag = L"Prototype_Component_Land_HN_BE"; + Land_Desc.strAlphaMapTag = "Land_HN_BE_AlphaMap.bin"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGSMEADE, &Land_Desc))) + return E_FAIL; + + /* HN_BF */ + Land_Desc.bEdit = false; + Land_Desc.isLoadAlphaMap = true; + Land_Desc.vPosition = _float3(-688.9f, 170.7f, -1066.f); + Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); + Land_Desc.strModelComTag = L"Prototype_Component_Land_HN_BF"; + Land_Desc.strAlphaMapTag = "Land_HN_BF_AlphaMap.bin"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGSMEADE, &Land_Desc))) + return E_FAIL; + + /* HN_BI */ + Land_Desc.bEdit = false; + Land_Desc.isLoadAlphaMap = true; + Land_Desc.vPosition = _float3(82.7f, -61.f, -1141.6f); + Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); + Land_Desc.strModelComTag = L"Prototype_Component_Land_HN_BI"; + Land_Desc.strAlphaMapTag = "Land_HN_BI_AlphaMap.bin"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGSMEADE, &Land_Desc))) + return E_FAIL; + + /* HN_BJ */ + Land_Desc.bEdit = false; + Land_Desc.isLoadAlphaMap = true; + Land_Desc.vPosition = _float3(367.1f, 44.8f, -1016.f); + Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); + Land_Desc.strModelComTag = L"Prototype_Component_Land_HN_BJ"; + Land_Desc.strAlphaMapTag = "Land_HN_BJ_AlphaMap.bin"; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGSMEADE, &Land_Desc))) + return E_FAIL; + + /* TU_BB */ + Land_Desc.bEdit = true; + Land_Desc.isLoadAlphaMap = true; + Land_Desc.vPosition = _float3(-829.5f, 58.3f, 112.9f); + Land_Desc.vScale = _float3(1.f, 1.2f, 1.f); + Land_Desc.strModelComTag = L"Prototype_Component_Land_TU_BB"; + Land_Desc.strAlphaMapTag = "Land_TU_BB_AlphaMap.bin"; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_HOGSMEADE, &Land_Desc))) return E_FAIL; diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp index e2b9af065..e21dfd444 100644 --- a/Jusin154_Team3D/Editor/Private/Loader.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader.cpp @@ -1740,7 +1740,7 @@ HRESULT CLoader::Loading_For_Effect() CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Models/Lake/SkyCube.dds"), 0)))) { return E_FAIL; } - + #pragma region DUNGEON_MAP vector<_wstring> ModelPrototypeTags = {}; vector ModelPrototypePath = {}; @@ -2687,18 +2687,26 @@ HRESULT CLoader::Loading_For_MapViewer() TEXT("../Bin/Resources/Models/Lake/T_Caustics_D.dds"), 0)))) { return E_FAIL; } + /* For.Prototype_Component_T_Water_N */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("T_Water_N"), CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Models/Lake/T_Water_N.dds"), 0)))) { return E_FAIL; } + /* Lake_Cube_D */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Lake_Cube_D"), CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Models/Lake/SkyCube.dds"), 0)))) { return E_FAIL; } + /* Lake_Cube_D */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Sky_Cube"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Textures/Sky/T_Sky_Stars.dds"), 0)))) { + return E_FAIL; + } + /* Lake_Cube_D */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Lake_Refraction"), CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Models/Lake/T_MudSmallRocks_A_D.dds"), 0)))) { @@ -2749,6 +2757,54 @@ HRESULT CLoader::Loading_For_MapViewer() CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_AYLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) return E_FAIL; + /* For.Prototype_Component_Land_HN_BA */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BA"), + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_BALOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + return E_FAIL; + + /* For.Prototype_Component_Land_HN_BD */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BD"), + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_BDLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + return E_FAIL; + + /* For.Prototype_Component_Land_HN_BG */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BG"), + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_BGLOD/SM_LandscapeStreamingProxy_1_LOD1.bin")))) + return E_FAIL; + + /* For.Prototype_Component_Land_HN_BH */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BH"), + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_BHLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + return E_FAIL; + + + /* For.Prototype_Component_Land_HN_BE */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BE"), + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_BELOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + return E_FAIL; + + /* For.Prototype_Component_Land_HN_BF */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BF"), + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_BFLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + return E_FAIL; + + /* For.Prototype_Component_Land_HN_BI */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BI"), + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_BILOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + return E_FAIL; + + /* For.Prototype_Component_Land_HN_BJ */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_HN_BJ"), + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/HN_BJLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + return E_FAIL; + + /* For.Prototype_Component_Land_TU_BB */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Land_TU_BB"), + CModel::Create(m_pDevice, m_pContext, MODEL::ENVIRONMENT, "C:/MeshTable/Game/Levels/Overland/HOG/TU_BBLOD/SM_LandscapeStreamingProxy_0_LOD1.bin")))) + return E_FAIL; + + + /* For.Prototype_Component_Hogwart_Lake */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Hogwart_Lake"), CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/Lake/SM_Lake_A_Collision_Deep.bin", XMMatrixIdentity())))) @@ -2967,7 +3023,7 @@ HRESULT CLoader::Loading_For_MapViewer() #pragma endregion -_bool bLoadHogsmeade = true; +_bool bLoadHogsmeade = false; if (bLoadHogsmeade) { #pragma region HOGSMEADE_OBJECT @@ -3053,7 +3109,7 @@ _bool bLoadHogsmeade = true; } #pragma region HOGWART -_bool bHogwartLoad = { false }; +_bool bHogwartLoad = { true }; /* Hogwart LOD */ if (FAILED(MapFolderLoad("../Bin/Resources/Models/MapMesh/Game/Environment/Hogwarts/HogwartsLOD", @@ -3357,7 +3413,7 @@ vector> jobFutures; _uint iLoadCount = 44; vector*> Contents(iLoadCount); -_bool isLoad_Map = { true }; +_bool isLoad_Map = { false }; if(isLoad_Map) { { /* Terrain */ diff --git a/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp b/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp index 82d8af06c..79a782266 100644 --- a/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp +++ b/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp @@ -65,8 +65,8 @@ HRESULT CMapObject_Manager::Initialize(void* pArg) m_iContainerObjectIndex = 99; - if (FAILED(Load_MapData("Hogsmeade_MapContainer_Data", LAYER_HOGSMEADE))) - return E_FAIL; + //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(); @@ -94,8 +94,8 @@ HRESULT CMapObject_Manager::Initialize(void* pArg) //m_pInfoInstance->Load_Decal("Duengon_Decal_Data"); //m_pInfoInstance->Load_PointLights("Duengon_PointLight_Data"); #pragma endregion - /*if (FAILED(Load_MapData("Hogwart_MapContainer_Data", LAYER_HOGWART))) - return E_FAIL; + if (FAILED(Load_MapData("Hogwart_MapContainer_Data", LAYER_HOGWART))) + return E_FAIL;/* if (FAILED(Load_MapData("HogwartMap1221", LAYER_HOGWART))) return E_FAIL;*/ diff --git a/Jusin154_Team3D/Editor/Public/AlphaMap.h b/Jusin154_Team3D/Editor/Public/AlphaMap.h index b172d45c2..679762beb 100644 --- a/Jusin154_Team3D/Editor/Public/AlphaMap.h +++ b/Jusin154_Team3D/Editor/Public/AlphaMap.h @@ -15,10 +15,12 @@ class CAlphaMap final : public CBase public: void Update(_float3& vPosition, _uint iColorIndex, _float fValue, _uint iRange); + void Update_Land(_float2 vUV, _uint iColorIndex, _float fValue, _uint iRange); ID3D11ShaderResourceView* Get_SRV() { return m_pSRV; } void Save_ToFile(const _char* pFilePath); void Load_ToFile(const _char* pFilePath); + void Save_DDS(const _char* pFilePath); private: ID3D11Device* m_pDevice = { nullptr }; ID3D11DeviceContext* m_pContext = { nullptr }; diff --git a/Jusin154_Team3D/Editor/Public/DummySkyBox.h b/Jusin154_Team3D/Editor/Public/DummySkyBox.h index c13a2a814..87b401c63 100644 --- a/Jusin154_Team3D/Editor/Public/DummySkyBox.h +++ b/Jusin154_Team3D/Editor/Public/DummySkyBox.h @@ -24,9 +24,8 @@ class CDummySkyBox final : public CGameObject virtual HRESULT Render() override; private: - CModel* m_pModelCom = { nullptr }; - CShader* m_pShaderCom = { nullptr }; - + CModel* m_pModelCom = { nullptr }; + CShader* m_pShaderCom = { nullptr }; private: virtual HRESULT Initialize_Prototype() override; @@ -41,4 +40,4 @@ class CDummySkyBox final : public CGameObject void Describe_Entity() override; }; -NS_END \ No newline at end of file +NS_END diff --git a/Jusin154_Team3D/Editor/Public/Land.h b/Jusin154_Team3D/Editor/Public/Land.h index b426c2f70..715e92134 100644 --- a/Jusin154_Team3D/Editor/Public/Land.h +++ b/Jusin154_Team3D/Editor/Public/Land.h @@ -15,10 +15,12 @@ class CLand final : public CGameObject public: typedef struct tagLandDesc { - _bool bEdit; - _float3 vPosition; - _float3 vScale; - _wstring strModelComTag; + _bool bEdit; + _bool isLoadAlphaMap = { false }; + _float3 vPosition; + _float3 vScale; + _wstring strModelComTag; + _string strAlphaMapTag; }LAND_DESC; private: CLand(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); @@ -45,16 +47,27 @@ class CLand final : public CGameObject CShader* m_pShaderCom = { nullptr }; CModel* m_pModelCom = { nullptr }; + CTexture* m_pDiffuseTextureCom = { nullptr }; + CTexture* m_pNormalTextureCom = { nullptr }; + CTexture* m_pMROTextureCom = { nullptr }; + class CAlphaMap* m_pAlphaMap = { nullptr }; + _float4 m_vPosition = {}; _float3 m_vScale = {}; _float3 m_vRotation = {}; + _uint m_iMaskRange = { 1 }; + _int m_iColorIndex = { 0 }; + _float m_fMaskValue = { 0.1f }; + + _float2 m_vPickingUV = {}; private: virtual HRESULT Initialize_Prototype() override; virtual HRESULT Initialize(void* pArg) override; virtual HRESULT Ready_Components(void* pArg) override; virtual HRESULT Bind_ShaderResources() override; + HRESULT Ready_AlphaMap(); public: static CLand* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Engine/Private/Mesh.cpp b/Jusin154_Team3D/Engine/Private/Mesh.cpp index 51bb1f188..8efa6d820 100644 --- a/Jusin154_Team3D/Engine/Private/Mesh.cpp +++ b/Jusin154_Team3D/Engine/Private/Mesh.cpp @@ -3,6 +3,7 @@ #include "Mesh.h" #include "Model.h" #include "Shader.h" +#include "GameInstance.h" CMesh::CMesh(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) : CVIBuffer{ pDevice, pContext } { @@ -10,6 +11,9 @@ CMesh::CMesh(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) CMesh::CMesh(const CMesh& rhs) : CVIBuffer(rhs) +#ifdef EDITOR_PROJECT + ,m_VertexTexcoords(rhs.m_VertexTexcoords) +#endif { } @@ -277,6 +281,9 @@ HRESULT CMesh::Ready_VertexBuffer_For_NonAnim(SaveMesh* SaveMesh, _fmatrix PreTr m_pVertexPositions = new _float3[m_iNumVertices]; ZeroMemory(m_pVertexPositions, sizeof(_float3) * m_iNumVertices); + m_VertexTexcoords = new _float2[m_iNumVertices]; + ZeroMemory(m_VertexTexcoords, sizeof(_float2) * m_iNumVertices); + for (_uint i = 0; i < m_iNumVertices; ++i) { memcpy(&pVertices[i].vPosition, &SaveMesh->Vertices[i].Pos, sizeof(_float3)); @@ -297,6 +304,7 @@ HRESULT CMesh::Ready_VertexBuffer_For_NonAnim(SaveMesh* SaveMesh, _fmatrix PreTr XMVector3Normalize(XMVector3TransformNormal(XMLoadFloat3(&pVertices[i].vBinormal), PreTransformMatrix))); pVertices[i].vTexcoord = SaveMesh->Vertices[i].UV; + memcpy(&m_VertexTexcoords[i], &pVertices[i].vTexcoord, sizeof(_float2)); } D3D11_SUBRESOURCE_DATA InitialVBData{}; @@ -532,7 +540,48 @@ PSX::PxTriangleMesh* CMesh::ConvertToPxMesh(const PSX::PxCookingParams* pParam, return pTriangleMesh; } + #ifdef EDITOR_PROJECT +_bool CMesh::PickingMesh(_float3* pPosition, _float2* pUV, _fmatrix WorldMatrix) +{ + _vector vCamPosition = XMLoadFloat4(m_pGameInstance->Get_CamPosition()); + + _vector vPickingPosition = XMVectorSetW(XMLoadFloat3(pPosition), 1.f); + + _vector vDir = XMVector3Normalize(vPickingPosition - vCamPosition); + _float2 vUV = _float2(0.f, 0.f); + _float fU ={}; + _float fV ={}; + _float fT = {}; + for (_uint i = 0; i < m_iNumIndices / 3; ++i) + { + _uint iIndices[3] = { + m_pIndices[i * 3 + 0] , + m_pIndices[i * 3 + 1] , + m_pIndices[i * 3 + 2] + }; + + if (true == CMyTools::IntersectTri( + vCamPosition, + vDir, + XMVector3TransformCoord(XMLoadFloat3(&m_pVertexPositions[iIndices[0]]), WorldMatrix), + XMVector3TransformCoord(XMLoadFloat3(&m_pVertexPositions[iIndices[1]]), WorldMatrix), + XMVector3TransformCoord(XMLoadFloat3(&m_pVertexPositions[iIndices[2]]), WorldMatrix), + fT, + fU, + fV + )) + { + _float fW = 1.0f - fU - fV; + pUV->x = fW * m_VertexTexcoords[iIndices[0]].x + fU * m_VertexTexcoords[iIndices[1]].x + fV * m_VertexTexcoords[iIndices[2]].x; + pUV->y = fW * m_VertexTexcoords[iIndices[0]].y + fU * m_VertexTexcoords[iIndices[1]].y + fV * m_VertexTexcoords[iIndices[2]].y; + return true; + } + } + + + return false; +} CMesh* CMesh::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, MODEL eType, vector& Bones, const aiMesh* pAIMesh, _fmatrix& PreTransformMatrix) { CMesh* pInstance = new CMesh(pDevice, pContext); @@ -563,6 +612,9 @@ HRESULT CMesh::Ready_VertexBuffer_For_NonAnim(const aiMesh* pAIMesh, _fmatrix Pr m_pVertexPositions = new _float3[m_iNumVertices]; ZeroMemory(m_pVertexPositions, sizeof(_float3) * m_iNumVertices); + m_VertexTexcoords = new _float2[m_iNumVertices]; + ZeroMemory(m_VertexTexcoords, sizeof(_float2) * m_iNumVertices); + for (_uint i = 0; i < m_iNumVertices; ++i) { memcpy(&pVertices[i].vPosition, &pAIMesh->mVertices[i], sizeof(_float3)); @@ -575,6 +627,7 @@ HRESULT CMesh::Ready_VertexBuffer_For_NonAnim(const aiMesh* pAIMesh, _fmatrix Pr memcpy(&pVertices[i].vBinormal, &pAIMesh->mBitangents[i], sizeof(_float3)); XMStoreFloat3(&pVertices[i].vBinormal, XMVector3Normalize(XMVector3TransformNormal(XMLoadFloat3(&pVertices[i].vBinormal), PreTransformMatrix))); memcpy(&pVertices[i].vTexcoord, &pAIMesh->mTextureCoords[0][i], sizeof(_float2)); + memcpy(&m_VertexTexcoords[i], &pAIMesh->mTextureCoords[0][i], sizeof(_float2)); } D3D11_SUBRESOURCE_DATA InitialVBData{}; @@ -751,6 +804,11 @@ void CMesh::Free() { __super::Free(); +#ifdef EDITOR_PROJECT + if (false == m_bCloned) + Safe_Delete_Array(m_VertexTexcoords); +#endif + SAFE_RELEASE(m_pBoneRemapBuffer); SAFE_RELEASE(m_pBoneRemapSRV); Safe_Delete_Array(m_pBoneMatrices); diff --git a/Jusin154_Team3D/Engine/Private/Model.cpp b/Jusin154_Team3D/Engine/Private/Model.cpp index acc76256a..9c630ec83 100644 --- a/Jusin154_Team3D/Engine/Private/Model.cpp +++ b/Jusin154_Team3D/Engine/Private/Model.cpp @@ -1445,6 +1445,13 @@ _int CModel::SaveNodeRecursive(const aiNode* pAINode, std::vector& out return currentIndex; } +_bool CModel::PickingMesh(_float3* pPosition, _float2* pUV, _uint iMeshIndex, _fmatrix WorldMatrix) +{ + if (iMeshIndex >= m_iNumMeshes) + return false; + + return m_Meshes[iMeshIndex]->PickingMesh(pPosition, pUV, WorldMatrix); +} HRESULT CModel::Assimp_Model_Load(const _char* pModelFilePath, MODEL eType, _fmatrix& PreTransformMatrix, _uint iRootBoneIndex) { _uint iFlag = {}; diff --git a/Jusin154_Team3D/Engine/Public/Mesh.h b/Jusin154_Team3D/Engine/Public/Mesh.h index 41815c52d..7d3013d9c 100644 --- a/Jusin154_Team3D/Engine/Public/Mesh.h +++ b/Jusin154_Team3D/Engine/Public/Mesh.h @@ -25,6 +25,8 @@ class ENGINE_DLL CMesh final : public CVIBuffer HRESULT Copy_BoneMatrices(vector<_float4x4>& pDestination); vector<_int> Get_BoneIndices() { return m_BoneIndices; } #ifdef EDITOR_PROJECT +public: + _bool PickingMesh(_float3* pPosition, _float2* pUV, _fmatrix WorldMatrix); private: virtual HRESULT Initialize_Prototype(MODEL eType, vector& Bones, const aiMesh* pAIMesh, _fmatrix& PreTransformMatrix); HRESULT Ready_VertexBuffer_For_NonAnim(const aiMesh* pAIMesh, _fmatrix PreTransformMatrix); @@ -70,6 +72,9 @@ class ENGINE_DLL CMesh final : public CVIBuffer vector<_uint> m_Indices; vector<_float3> m_Vertices; // +#ifdef EDITOR_PROJECT + _float2* m_VertexTexcoords = {}; +#endif private: _uint m_iNumBuffer = {}; diff --git a/Jusin154_Team3D/Engine/Public/Model.h b/Jusin154_Team3D/Engine/Public/Model.h index f31719c8e..d8987b119 100644 --- a/Jusin154_Team3D/Engine/Public/Model.h +++ b/Jusin154_Team3D/Engine/Public/Model.h @@ -162,6 +162,7 @@ class ENGINE_DLL CModel final : public CComponent _bool SaveAssimpModel(const _char* filename); _int SaveNodeRecursive(const aiNode* pAINode, vector& outNodes, _int parentIndex); // + _bool PickingMesh(_float3* pPosition, _float2* pUV, _uint iMeshIndex, _fmatrix WorldMatrix); #endif // EDITOR_PROJECT