[add] LandObject

[add] Map Data
[fix] MapTool
[fix] 픽셀피킹 적용
[add] Material 예외 추가
This commit is contained in:
JinhoBa
2025-11-17 10:40:49 +09:00
parent d97ddd0f63
commit c1635f212f
18 changed files with 6753 additions and 46 deletions
File diff suppressed because it is too large Load Diff
@@ -1,18 +1,371 @@
<?xml version="1.0" encoding="UTF-8"?>
<Land>
<Container Name="HM_TScrolls_Ext">
<Position x="21.095903" y="0.80000007" z="31.144279"/>
<Container Name="HW_Ollivanders">
<Position x="39.271946" y="3.7999978" z="70.609833"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="-0" y="-70.000008" z="-0"/>
<PartObject Lod_Level="3" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_OutsideStairPlatform</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_OutsideStairPlatform_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_OutsideStairPlatform_Lod2</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_OutsideStairPlatform_Lod3</PrototypeTag>
<Rotation x="-0" y="-60" z="-0"/>
<PartObject Lod_Level="1" Key_Index="4">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1</PrototypeTag>
<Position x="3.1659358" y="2.7724102" z="8.1556873"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_Ext_Chimney</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_Ext_Chimney_Lod1</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Glass_A</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Glass_A_Lod1</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="3" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Entrance</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Entrance_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Entrance_Lod2</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Entrance_Lod3</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Glass_B</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Glass_B_Lod1</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="0" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Int_Decals</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="2" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Roof</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Roof_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Roof_Lod2</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="3" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_QR</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_QR_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_QR_Lod2</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_QR_Lod3</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="2" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_Ext_Wall</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_Ext_Wall_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_Ext_Wall_Lod2</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="0" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_A</PrototypeTag>
<Position x="3.97" y="1.3305722" z="4.316278"/>
<Scale x="0.9999997" y="0.99999994" z="0.99999994"/>
<Rotation x="-29.999996" y="-89" z="-30.493637"/>
</PartObject>
<PartObject Lod_Level="3" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_window</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_window_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_window_Lod2</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_window_Lod3</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="0" Key_Index="1">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_A</PrototypeTag>
<Position x="2.187" y="1.780828" z="3.3935549"/>
<Scale x="0.99999982" y="1" z="0.99999982"/>
<Rotation x="-0" y="-89.999977" z="-0"/>
</PartObject>
<PartObject Lod_Level="3" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_woodtrim</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_woodtrim_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_woodtrim_Lod2</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_woodtrim_Lod3</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="3" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_KL</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_KL_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_KL_Lod2</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_KL_Lod3</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Int_WallShelf_Add_On</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Int_WallShelf_Add_On_Lod1</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="2" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Int_Trim</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Int_Trim_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Int_Trim_Lod2</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_ext_Display_Window_Blocker</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_ext_Display_Window_Blocker_Lod1</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="0" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Int_Floors</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="3" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Int_Counter</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Int_Counter_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Int_Counter_Lod2</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Int_Counter_Lod3</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="3" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_H</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_H_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_H_Lod2</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_H_Lod3</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Int_Walls</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Int_Walls_Lod1</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="1">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Int_WallShelf_Add_On</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Int_WallShelf_Add_On_Lod1</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="2" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Int_Window_Trim</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Int_Window_Trim_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Int_Window_Trim_Lod2</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="3" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_AC</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_AC_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_AC_Lod2</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_AC_Lod3</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="3" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_Bay_Windows</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_Bay_Windows_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_Bay_Windows_Lod2</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_Bay_Windows_Lod3</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="3" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_DJ</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_DJ_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_DJ_Lod2</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_DJ_Lod3</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C_Lod1</PrototypeTag>
<Position x="4.8200746" y="0.17362523" z="4.2910399"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="3" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_EG</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_EG_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_EG_Lod2</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_EG_Lod3</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="1">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1</PrototypeTag>
<Position x="3.1995964" y="1.0456585" z="3.398829"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="3" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_FG</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_FG_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_FG_Lod2</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_FG_Lod3</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="3" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_MN</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_MN_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_MN_Lod2</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_MN_Lod3</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="3" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_P</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_P_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_P_Lod2</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_P_Lod3</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="2" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_S</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_S_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_S_Lod2</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="2" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WallShelf_Int_kit</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WallShelf_Int_kit_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_WallShelf_Int_kit_Lod2</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1</PrototypeTag>
<Position x="2.2452288" y="1.0465776" z="3.3882291"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_B</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_B_Lod1</PrototypeTag>
<Position x="3.9643099" y="0.58910578" z="4.3077192"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="1">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C_Lod1</PrototypeTag>
<Position x="3.2574916" y="1.0472122" z="4.4113798"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="2">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1</PrototypeTag>
<Position x="3.191354" y="2.7701652" z="7.1424646"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="2">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C_Lod1</PrototypeTag>
<Position x="3.2000535" y="1.4876422" z="5.1055498"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="3">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C_Lod1</PrototypeTag>
<Position x="3.2166739" y="1.9456717" z="5.8440471"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="4">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C_Lod1</PrototypeTag>
<Position x="3.1709545" y="2.3440838" z="6.4634056"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="3">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1</PrototypeTag>
<Position x="3.1441243" y="2.7745686" z="9.2249937"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="5">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1</PrototypeTag>
<Position x="2.2918162" y="2.7818768" z="9.1246271"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<Collision Lod_Level="1" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_EXT_APL_COL</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_EXT_APL_COL_Lod1</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</Collision>
<Collision Lod_Level="1" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_EXT_PL_COL</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_EXT_PL_COL_Lod1</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</Collision>
<Collision Lod_Level="0" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_EXT_Stairs_COL_Ramp</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</Collision>
<Collision Lod_Level="0" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_EXT_Stairs_COL_Steps</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</Collision>
</Container>
<Container Name="HM_TScrolls_Ext">
<Position x="21.095903" y="0.80000007" z="31.144279"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="-0" y="-70.000008" z="-0"/>
<PartObject Lod_Level="2" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_TScrolls_Ext_Roof</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_TScrolls_Ext_Roof_Lod1</PrototypeTag>
@@ -30,8 +383,11 @@
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="0" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_TScrolls_Ext_Bay_Window_Blocker</PrototypeTag>
<PartObject Lod_Level="3" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_OutsideStairPlatform</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_OutsideStairPlatform_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_OutsideStairPlatform_Lod2</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_OutsideStairPlatform_Lod3</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
@@ -53,6 +409,12 @@
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="0" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_TScrolls_Ext_Bay_Window_Blocker</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_TScrolls_Ext_Bay_Window_Display</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_TScrolls_Ext_Bay_Window_Display_Lod1</PrototypeTag>
@@ -182,13 +544,13 @@
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
<PartObject Lod_Level="0" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_Streets_Hogshead</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_LowerHiStreet_Zonkos</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="0" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_LowerHiStreet_Zonkos</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_Streets_Hogshead</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
@@ -331,4 +693,247 @@
<Rotation x="0" y="0" z="0"/>
</Collision>
</Container>
<Container Name="HW_3Broom_Ext">
<Position x="52.830051" y="3.9999986" z="82.818764"/>
<Scale x="0.99999994" y="1" z="0.99999994"/>
<Rotation x="0" y="47.000011" z="0"/>
<PartObject Lod_Level="2" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_DoorFrame</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_DoorFrame_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_DoorFrame_Lod2</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="3" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_trim_stone</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_trim_stone_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_trim_stone_Lod2</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_trim_stone_Lod3</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="2" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_RectangularWindow_Stone</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_RectangularWindow_Stone_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_RectangularWindow_Stone_Lod2</PrototypeTag>
<Position x="6.3098907" y="1.0000004" z="3.6482067"/>
<Scale x="0.99999976" y="1" z="0.99999976"/>
<Rotation x="-0" y="-89.999962" z="-0"/>
</PartObject>
<PartObject Lod_Level="2" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Door_L</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Door_L_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Door_L_Lod2</PrototypeTag>
<Position x="-1.05" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="3" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim_Lod2</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim_Lod3</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_barrels_sign</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_barrels_sign_Lod1</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="2" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_RectangularWindow_StoneB</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_RectangularWindow_StoneB_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_RectangularWindow_StoneB_Lod2</PrototypeTag>
<Position x="6.375658" y="0.99999988" z="8.4499636"/>
<Scale x="0.99999976" y="1" z="0.99999976"/>
<Rotation x="-0" y="-89.999962" z="-0"/>
</PartObject>
<PartObject Lod_Level="2" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_walls</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_walls_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_walls_Lod2</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="3" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B_Lod2</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B_Lod3</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="3" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_barrels</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_barrels_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_barrels_Lod2</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_barrels_Lod3</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="2" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Door_R</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Door_R_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Door_R_Lod2</PrototypeTag>
<Position x="1.05" y="0" z="0"/>
<Scale x="0.99999928" y="1" z="0.99999928"/>
<Rotation x="-0" y="-179.99995" z="-0"/>
</PartObject>
<PartObject Lod_Level="2" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_barrel_stands</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_barrel_stands_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_barrel_stands_Lod2</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="2" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_decals</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_decals_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_decals_Lod2</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="0" Key_Index="1">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_CrossBeam</PrototypeTag>
<Position x="-5.3000016" y="0.70000005" z="1.3000001"/>
<Scale x="0.99999976" y="0.99999976" z="1"/>
<Rotation x="0" y="0" z="90.000008"/>
</PartObject>
<PartObject Lod_Level="2" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Ext_DoorFrameSide</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Ext_DoorFrameSide_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Ext_DoorFrameSide_Lod2</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="0" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_Dormer_Wood_Slats</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="2" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_roof</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_roof_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_roof_Lod2</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="2" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_roof_copper_tops</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_roof_copper_tops_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_roof_copper_tops_Lod2</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_roof_decals</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_roof_decals_Lod1</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="2" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_side_garden_box</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_side_garden_box_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_side_garden_box_Lod2</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="3" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_trim</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_trim_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_trim_Lod2</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_trim_Lod3</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_RectangurWindowPlain</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_RectangurWindowPlain_Lod1</PrototypeTag>
<Position x="6.410409" y="11.700011" z="3.9388528"/>
<Scale x="0.99999976" y="1" z="0.99999976"/>
<Rotation x="0" y="89.999962" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_wood_Corbels</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_wood_Corbels_Lod1</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="1" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Window_Glass</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Window_Glass_Lod1</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</PartObject>
<PartObject Lod_Level="2" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_RoundedWindow</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod2</PrototypeTag>
<Position x="-5.7000003" y="4.9000001" z="0.20000002"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="-0" y="0" z="1.9999994"/>
</PartObject>
<PartObject Lod_Level="2" Key_Index="1">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_RoundedWindow</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod2</PrototypeTag>
<Position x="5.8000002" y="5.4000006" z="-0.1"/>
<Scale x="1" y="0.99999994" z="1"/>
<Rotation x="1.9999994" y="6.6741719e-09" z="-5.0091009"/>
</PartObject>
<PartObject Lod_Level="2" Key_Index="2">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_RoundedWindow</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod1</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod2</PrototypeTag>
<Position x="-0.40000001" y="11.699995" z="-0.19999993"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="-0" y="0" z="3.9999981"/>
</PartObject>
<PartObject Lod_Level="0" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_CrossBeam</PrototypeTag>
<Position x="6.3114667" y="0.70000005" z="1.263966"/>
<Scale x="0.99999976" y="0.99999976" z="1"/>
<Rotation x="0" y="0" z="90.000008"/>
</PartObject>
<Collision Lod_Level="1" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_EXT_APL_COL</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_EXT_APL_COL_Lod1</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</Collision>
<Collision Lod_Level="0" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_EXT_B_PL_COL_2</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</Collision>
<Collision Lod_Level="1" Key_Index="0">
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_EXT_PL_COL</PrototypeTag>
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_EXT_PL_COL_Lod1</PrototypeTag>
<Position x="0" y="0" z="0"/>
<Scale x="1" y="1" z="1"/>
<Rotation x="0" y="0" z="0"/>
</Collision>
</Container>
</Land>
File diff suppressed because it is too large Load Diff
@@ -165,7 +165,7 @@ PS_OUT PS_MAIN(PS_IN In)
PS_OUT Out;
vector vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, In.vTexcoord);
if (vMtrlDiffuse.a < 0.1f)
if (vMtrlDiffuse.a < 0.2f)
{
discard;
}
@@ -207,14 +207,14 @@ PS_OUT PS_GLASS(PS_IN In)
PS_OUT Out;
vector vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, In.vTexcoord);
vector vMtrlGlow = g_GlowTexture.Sample(DefaultSampler, In.vTexcoord);
vector vNormalDesc = g_NormalTexture.Sample(MirrorSampler, In.vTexcoord);
float3x3 WorldMatrix = float3x3(In.vTangent, In.vBinormal * -1.f, In.vNormal);
float3 vNormal = mul(vNormalDesc.xyz * 2.f - 1.f, WorldMatrix);
Out.vDiffuse = lerp(vMtrlDiffuse, vMtrlGlow, vMtrlDiffuse.a);
Out.vDiffuse = lerp(vMtrlDiffuse, float4(1.f, 1.f, 1.f, 1.f), 0.5f);
float4(vMtrlDiffuse.xyz, 1.f);
Out.vNormal = float4(vNormal * 0.5f + 0.5f, 0.f);
Out.vDepth = float4(In.vProjPos.z / In.vProjPos.w, In.vProjPos.w / g_fFar, 0.0f, 1.f);
@@ -187,6 +187,7 @@
<ClInclude Include="..\Public\Effect_Editor.h" />
<ClInclude Include="..\Public\EditEffect.h" />
<ClInclude Include="..\Public\Information.h" />
<ClInclude Include="..\public\Land.h" />
<ClInclude Include="..\public\Level_MapViewer.h" />
<ClInclude Include="..\Public\LoadingWidget.h" />
<ClInclude Include="..\public\MapContainer.h" />
@@ -271,6 +272,7 @@
<ClCompile Include="..\Private\Effect_Editor.cpp" />
<ClCompile Include="..\Private\EditEffect.cpp" />
<ClCompile Include="..\Private\Information.cpp" />
<ClCompile Include="..\private\Land.cpp" />
<ClCompile Include="..\private\Level_MapViewer.cpp" />
<ClCompile Include="..\Private\LoadingWidget.cpp" />
<ClCompile Include="..\private\MapContainer.cpp" />
@@ -247,6 +247,9 @@
<Filter Include="02.GameObjects\Player">
<UniqueIdentifier>{680910fd-aee2-4f69-b644-12b36b0f635b}</UniqueIdentifier>
</Filter>
<Filter Include="02.GameObjects\Env\04.Land">
<UniqueIdentifier>{66df0152-4b1e-461c-a88e-750770c73d62}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="Editor.h">
@@ -483,6 +486,9 @@
<ClInclude Include="..\Public\Player.h">
<Filter>02.GameObjects\Player</Filter>
</ClInclude>
<ClInclude Include="..\public\Land.h">
<Filter>02.GameObjects\Env\04.Land</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Image Include="Editor.ico">
@@ -715,6 +721,9 @@
<ClCompile Include="..\Private\Player.cpp">
<Filter>02.GameObjects\Player</Filter>
</ClCompile>
<ClCompile Include="..\private\Land.cpp">
<Filter>02.GameObjects\Env\04.Land</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="Editor.rc">
+157
View File
@@ -0,0 +1,157 @@
#include "pch.h"
#include "Land.h"
#include "GameInstance.h"
CLand::CLand(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
: CGameObject{ pDevice, pContext }
{
}
CLand::CLand(const CLand& rhs)
: CGameObject(rhs)
{
}
void CLand::Priority_Update(_float fTimeDelta)
{
}
void CLand::Update(_float fTimeDelta)
{
//GUI::Begin("Land Debug");
//XMStoreFloat4(&m_vPosition, m_pTransformCom->Get_State(STATE::POSITION));
//GUI::InputFloat3("LandPos", (_float*)(&m_vPosition));
//m_pTransformCom->Set_State(STATE::POSITION, XMLoadFloat4(&m_vPosition));
//GUI::End();
}
void CLand::Late_Update(_float fTimeDelta)
{
_float4* vPos = (_float4*)(m_pTransformCom->Get_WorldMatrixPtr()->m[3]);
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this, *vPos, FLT_MAX);
}
HRESULT CLand::Render()
{
if (FAILED(Bind_ShaderResources())) {
return E_FAIL;
}
_uint iNumMeshes = m_pModelCom->Get_NumMeshes();
for (_uint i = 0; i < iNumMeshes; i++)
{
if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom, "g_DiffuseTexture", aiTextureType_DIFFUSE, 0))) {
return E_FAIL;
}
if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom, "g_NormalTexture", aiTextureType_NORMALS, 0))) {
return E_FAIL;
}
if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_MESH::DEFAULT)))) {
return E_FAIL;
}
if (FAILED(m_pModelCom->Render(i))) {
return E_FAIL;
}
}
return S_OK;
}
HRESULT CLand::Initialize_Prototype()
{
return S_OK;
}
HRESULT CLand::Initialize(void* pArg)
{
if (FAILED(__super::Initialize(pArg)))
return E_FAIL;
if (FAILED(Ready_Components(pArg)))
return E_FAIL;
m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(66.f, 18.f, 96.f, 1.f));
return S_OK;
}
HRESULT CLand::Ready_Components(void* pArg)
{
if (FAILED(__super::Ready_Components(pArg))) {
return E_FAIL;
}
/* Com_Model */
if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_Hogsmead_Land"),
reinterpret_cast<CComponent**>(&m_pModelCom))))
return E_FAIL;
/* Com_Shader */
if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, FX_MESH,
reinterpret_cast<CComponent**>(&m_pShaderCom))))
return E_FAIL;
return S_OK;
}
HRESULT CLand::Bind_ShaderResources()
{
if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) {
return E_FAIL;
}
if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW)))) {
return E_FAIL;
}
if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ)))) {
return E_FAIL;
}
if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) {
return E_FAIL;
}
return S_OK;
}
CLand* CLand::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
{
CLand* pInstance = new CLand(pDevice, pContext);
if (FAILED(pInstance->Initialize_Prototype()))
{
MSG_BOX("Failed to Created : CLand");
SAFE_RELEASE(pInstance);
}
return pInstance;
}
CGameObject* CLand::Clone(void* pArg, CGameObject* pOwner)
{
CLand* pInstance = new CLand(*this);
pInstance->m_pOwner = pOwner;
if (FAILED(pInstance->Initialize(pArg)))
{
MSG_BOX("Failed to Cloned : CLand");
SAFE_RELEASE(pInstance);
}
return pInstance;
}
void CLand::Free()
{
__super::Free();
SAFE_RELEASE(m_pShaderCom);
SAFE_RELEASE(m_pModelCom);
}
void CLand::Describe_Entity()
{
}
@@ -9,6 +9,7 @@
#include "BuildingContainer.h"
#include "DummySkyBox.h"
#include "MainLight.h"
#include "Land.h"
CLevel_MapViewer::CLevel_MapViewer(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, LEVEL eLevelID)
: CLevel{ pDevice, pContext, ENUM_CLASS(eLevelID) }
@@ -90,6 +91,9 @@ HRESULT CLevel_MapViewer::Ready_Layer_Background(const _wstring& strLayerTag)
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer<CDummySkyBox>(g_iStaticLevel, NEXT_LEVEL, strLayerTag)))
return E_FAIL;
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer<CLand>(g_iStaticLevel, NEXT_LEVEL, strLayerTag)))
return E_FAIL;
return S_OK;
}
+171 -14
View File
@@ -58,6 +58,7 @@
#include "MapObject_Manager.h"
#include "MapElement_Interactable.h"
#include "MapElement_Static.h"
#include "Land.h"
#pragma endregion
@@ -1024,31 +1025,182 @@ HRESULT CLoader::Loading_For_MapViewer()
CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/SkyBox/SkyBox.fbx", XMMatrixIdentity()))))
return E_FAIL;
/* For.Prototype_Component_Hogsmead_Land */
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Hogsmead_Land"),
CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/Land/Hogsmead_Land.fbx", XMMatrixIdentity()))))
return E_FAIL;
vector<_wstring> ModelPrototypeTags = {};
vector<filesystem::path> ModelPrototypePath = {};
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Collision\\Terrain",
".fbx", false, ModelPrototypeTags, ModelPrototypePath)))
#pragma region HOGSMEADE
/* Terrain */
if (FAILED(MapFolderLoad("../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Collision/Terrain",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\Terrain",
".fbx", false, ModelPrototypeTags, ModelPrototypePath)))
if (FAILED(MapFolderLoad("../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Terrain",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_TScrolls\\Collisions",
".fbx", false, ModelPrototypeTags, ModelPrototypePath)))
/* TScrolls */
if (FAILED(MapFolderLoad("../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TScrolls/Collisions",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_TScrolls\\Meshes",
".fbx", false, ModelPrototypeTags, ModelPrototypePath)))
if (FAILED(MapFolderLoad("../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TScrolls/Meshes",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_ThreeBroomsticks\\Collision",
".fbx", true, ModelPrototypeTags, ModelPrototypePath)))
/* 3BroomStick */
if (FAILED(MapFolderLoad("../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Collision",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_ThreeBroomsticks\\Meshes",
".fbx", true, ModelPrototypeTags, ModelPrototypePath)))
if (FAILED(MapFolderLoad("../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Meshes",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_ThreeBroomsticks\\Meshes\\3Broom_Kit",
".fbx", true, ModelPrototypeTags, ModelPrototypePath)))
if (FAILED(MapFolderLoad("../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Meshes/3Broom_Kit",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
/* Ollivanders*/
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Ollivanders\\Meshes",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Ollivanders\\Collision",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
/* Gatehouse*/
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Gatehouse\\Meshes",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
/* BLDG_QuidditchShop */
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_QuidditchShop\\Meshes",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_QuidditchShop\\Collision",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
#pragma endregion
/* BLDG_HogsheadInn */
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_HogsheadInn\\Meshes",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_HogsheadInn\\Collision",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
/* BLDG_Honeydukes */
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Honeydukes\\Meshes",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Honeydukes\\Collision",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
/* BLDG_OwlPost */
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_OwlPost\\Meshes",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_OwlPost\\Collision",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
/* BLDG_TeaShop */
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_TeaShop\\Meshes",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_TeaShop\\Collision",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
/* BLDG_Zonkos */
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Zonkos\\Meshes",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Zonkos\\Collision",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
/* BLDG_DB_GR */
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_DB_GR\\Meshes",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_DB_GR\\Collision",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
/* GEN A*/
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_A\\Meshes",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_A\\Collision",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
/* GEN B*/
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_B\\Meshes",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_B\\Collision",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
/* GEN C*/
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_C\\Meshes",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_C\\Collision",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
/* GEN E*/
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_E\\Meshes",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_E\\Collision",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
/* GEN F*/
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_F\\Meshes",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_F\\Collision",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
/* GEN G*/
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_G\\Meshes",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_G\\Collision",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
/* GEN H*/
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_H\\Meshes",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_H\\Collision",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
/* GEN J*/
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_J\\Meshes",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
if (FAILED(MapFolderLoad("C:\\Users\\82103\\Desktop\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_J\\Collision",
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
return E_FAIL;
m_strMessage = TEXT("쉐이더를(을) 로딩 중 입니다.");
@@ -1064,6 +1216,11 @@ HRESULT CLoader::Loading_For_MapViewer()
return E_FAIL;
}
/* For.Prototype_GameObject_Land */
if (FAILED(m_pGameInstance->Add_Prototype<CLand>(g_iStaticLevel, CLand::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
}
/* For.Prototype_GameObject_BuildingContainer */
if (FAILED(m_pGameInstance->Add_Prototype<CBuildingContainer>(g_iStaticLevel, CBuildingContainer::Create(m_pDevice, m_pContext))))
return E_FAIL;
@@ -105,6 +105,9 @@ HRESULT CMapContainer::Save_PartObjects(tinyxml2::XMLDocument& Doc, tinyxml2::XM
_float3 vRotation = {};
XMStoreFloat3(&vRotation, pMapObject->Get_Component<CTransform>()->Get_RollPitchYawVector());
vRotation.x = XMConvertToDegrees(vRotation.x);
vRotation.y = XMConvertToDegrees(vRotation.y);
vRotation.z = XMConvertToDegrees(vRotation.z);
RotationElem->SetAttribute("x", vRotation.x);
RotationElem->SetAttribute("y", vRotation.y);
@@ -41,14 +41,13 @@ void CMapObject_Collision::Late_Update(_float fTimeDelta)
}
#endif
if(m_pGameInstance->Key_Pressing(DIK_Z))
{
XMStoreFloat4x4(&m_CombinedWorldMatrix, m_pTransformCom->Get_XMWorldMatrix() * m_pParentTransformCom->Get_XMWorldMatrix());
XMStoreFloat4x4(&m_CombinedWorldMatrix, m_pTransformCom->Get_XMWorldMatrix() * m_pParentTransformCom->Get_XMWorldMatrix());
if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) {
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
}
}
}
HRESULT CMapObject_Collision::Render()
@@ -34,6 +34,11 @@ HRESULT CMapObject_LOD::Initialize(void* pArg)
m_ModelPrototypeTags.push_back(pDesc->ModelPrototypeTags[i]);
//m_ModelPathIndices.push_back((*pDesc->pModelPathIndices)[i]);
}
if (_wstring::npos != m_ModelPrototypeTags.front().find(L"Glass"))
m_iShaderPass = 12;
else
m_iShaderPass = ENUM_CLASS(SHADER_PASS_MESH::DEFAULT);
if (FAILED(__super::Initialize(pArg)))
return E_FAIL;
@@ -64,7 +69,14 @@ void CMapObject_LOD::Priority_Update(_float fTimeDelta)
void CMapObject_LOD::Update(_float fTimeDelta)
{
_vector vCamPosition = XMLoadFloat4(m_pGameInstance->Get_CamPosition());
m_fCamDepth = XMVectorGetX(XMVector3LengthSq(vCamPosition - XMLoadFloat4(reinterpret_cast<_float4*>(m_CombinedWorldMatrix.m[3]))));
m_iLodIndex = min(m_iMaxLodLevel, (_uint)m_fCamDepth / 200);
if (0 == m_iLodIndex)
m_bSelected = true;
}
void CMapObject_LOD::Late_Update(_float fTimeDelta)
@@ -102,6 +114,7 @@ HRESULT CMapObject_LOD::Render()
if (FAILED(m_pModelComs[0]->Bind_Material(i, m_pShaderCom, "g_NormalTexture", aiTextureType_NORMALS, 0))) {
return E_FAIL;
}
if (m_bSelected)
{
if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_MESH::MAPTOOL)))) {
@@ -110,7 +123,7 @@ HRESULT CMapObject_LOD::Render()
}
else
{
if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_MESH::DEFAULT)))) {
if (FAILED(m_pShaderCom->Begin(m_iShaderPass))) {
return E_FAIL;
}
}
@@ -253,6 +266,15 @@ void CMapObject_LOD::Describe_Entity()
pTerrain->Get_Component<CVIBuffer_Terrain>()->Picking(pTerrain->Get_Component<CTransform>(), m_vPosition);
}
}
if (m_pGameInstance->Mouse_Down(DIM_LBUTTON) && m_pGameInstance->Key_Pressing(DIK_LCONTROL))
{
_float3 vPosition = {};
if (m_pGameInstance->isPicking(&vPosition))
{
memcpy(&m_vPosition, &vPosition, sizeof(_float3));
}
}
GUI::Text("----- Rotation ----");
@@ -888,7 +888,16 @@ HRESULT CMapObject_Manager::Load_ContainerData(const _char* pFileName, const _ch
Rotation->QueryFloatAttribute("y", &Desc.vRotation.y);
Rotation->QueryFloatAttribute("z", &Desc.vRotation.z);
pContainerObject->Add_Part<CMapObject_LOD>(strKey, g_iStaticLevel, nullptr, &Desc);
CMapObject_LOD* pMapObjectLOD = { nullptr };
if (FAILED(pContainerObject->Add_Part<CMapObject_LOD>(strKey, g_iStaticLevel, &pMapObjectLOD, &Desc)))
{
MSG_BOX("Failed to Add PartObject");
return E_FAIL;
}
pMapObjectLOD->Set_KeyIndex(iKeyIndex);
SAFE_RELEASE(pMapObjectLOD);
#pragma endregion
}
+50
View File
@@ -0,0 +1,50 @@
#pragma once
#include "Editor_Define.h"
#include "GameObject.h"
NS_BEGIN(Engine)
class CModel;
class CShader;
NS_END
NS_BEGIN(Editor)
class CLand final : public CGameObject
{
private:
CLand(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
CLand(const CLand& rhs);
virtual ~CLand() = default;
public:
_uint Get_LodLevel() const { return m_iMaxLodLevel; }
public:
virtual void Priority_Update(_float fTimeDelta) override;
virtual void Update(_float fTimeDelta) override;
virtual void Late_Update(_float fTimeDelta) override;
virtual HRESULT Render() override;
private:
_bool m_bSelected = { false };
_uint m_iMaxLodLevel = {};
_uint m_iLodIndex = {};
CShader* m_pShaderCom = { nullptr };
CModel* m_pModelCom = { nullptr };
_float4 m_vPosition = {};
private:
virtual HRESULT Initialize_Prototype() override;
virtual HRESULT Initialize(void* pArg) override;
virtual HRESULT Ready_Components(void* pArg) override;
virtual HRESULT Bind_ShaderResources() override;
public:
static CLand* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override;
virtual void Free() override;
void Describe_Entity() override;
};
NS_END
@@ -1,11 +1,11 @@
#pragma once
#pragma once
#include "Editor_Define.h"
#include "MapObject.h"
NS_BEGIN(Editor)
class CMapObject_LOD final : public CMapObject // LOD 있는 애들
class CMapObject_LOD final : public CMapObject // LOD 있는 애들
{
private:
CMapObject_LOD(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
@@ -32,6 +32,7 @@ class CMapObject_LOD final : public CMapObject // LOD
vector<CModel*> m_pModelComs;
_uint m_iLodIndex = {};
_uint m_iShaderPass = {};
vector<_wstring> m_ModelPrototypeTags;
vector<_uint> m_ModelPathIndices = { };
@@ -50,4 +51,4 @@ class CMapObject_LOD final : public CMapObject // LOD
virtual void Describe_Entity() override;
};
NS_END
NS_END
@@ -104,7 +104,7 @@ void CGameInstance::Update_Engine(_float fTimeDelta)
m_pMouse_Manager->Update();
//m_pSound_Manager->Update();
//m_pPicking->Update();
m_pPicking->Update();
m_pObject_Manager->Priority_Update(fTimeDelta);
@@ -252,20 +252,32 @@ HRESULT CMaterial::Add_Texture(const _char* pTextureFolderPath, string& FileType
/* Find type */
if (!strcmp(FileType.c_str(), "D"))
eTexture = aiTextureType::aiTextureType_DIFFUSE;
else if (!strcmp(FileType.c_str(), "Diff"))
eTexture = aiTextureType::aiTextureType_DIFFUSE;
else if (!strcmp(FileType.c_str(), "d"))
eTexture = aiTextureType::aiTextureType_DIFFUSE;
else if (!strcmp(FileType.c_str(), "N"))
eTexture = aiTextureType::aiTextureType_NORMALS;
else if (!strcmp(FileType.c_str(), "normal"))
eTexture = aiTextureType::aiTextureType_NORMALS;
else if (!strcmp(FileType.c_str(), "Norm"))
eTexture = aiTextureType::aiTextureType_NORMALS;
else if (!strcmp(FileType.c_str(), "n"))
eTexture = aiTextureType::aiTextureType_NORMALS;
else if (!strcmp(FileType.c_str(), "MRO"))
eTexture = aiTextureType::aiTextureType_METALNESS;
else if (!strcmp(FileType.c_str(), "3Broom"))
eTexture = aiTextureType::aiTextureType_METALNESS;
else if (!strcmp(FileType.c_str(), "MROH"))
eTexture = aiTextureType::aiTextureType_METALNESS;
else if (!strcmp(FileType.c_str(), "MRAB"))
eTexture = aiTextureType::aiTextureType_METALNESS;
else if (!strcmp(FileType.c_str(), "MROA"))
eTexture = aiTextureType::aiTextureType_SPECULAR;
else if (!strcmp(FileType.c_str(), "SRO"))
eTexture = aiTextureType::aiTextureType_SPECULAR;
else if (!strcmp(FileType.c_str(), "HRO"))
eTexture = aiTextureType::aiTextureType_SPECULAR;
else if (!strcmp(FileType.c_str(), "SROH"))
eTexture = aiTextureType::aiTextureType_SPECULAR;
else if (!strcmp(FileType.c_str(), "SROA"))
+2 -1
View File
@@ -914,13 +914,14 @@ HRESULT CModel::Initialize_Prototype(MODEL eType, const _char* pModelFilePath, _
return E_FAIL;
}
#ifdef 기무리
if (MODEL::ENVIROMENT == m_eType) {
m_pGameInstance->LoadTriMeshes(pModelFilePath, m_TriMeshes);
for (_uint i = 0; i < m_iNumMeshes; ++i) {
m_pGameInstance->RegistTriMesh(m_Meshes[i]->Get_Name(), m_TriMeshes[i]);
}
}
#endif //
return S_OK;
}