Working on updating positions for dorm location

This commit is contained in:
Vladislav Khorev 2026-06-02 13:29:47 +03:00
parent 4b868f47c2
commit 60b0ba69ba
3 changed files with 431 additions and 339 deletions

View File

@ -1,352 +1,416 @@
{
"objects": [
{
"name": "Phone001",
"texturePath": "resources/w/dorm2/phone001_tex001.png",
"meshPath": "resources/w/dorm2/phone001_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 6.6644,
"positionY": 0.9,
"positionZ": -12.5262,
"approachRadius": 0.6,
"objects": [
{
"name": "Phone001",
"texturePath": "resources/w/dorm2/phone001_tex001.png",
"meshPath": "resources/w/dorm2/phone001_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 6.6644,
"positionY": 0.9,
"positionZ": -12.5262,
"approachRadius": 0.6,
"boundsMaxX": 0.32435035705566406,
"boundsMaxY": 0.5,
"boundsMaxZ": 0.5178079605102539,
"boundsMaxZ": 0.51780796051025391,
"boundsMinX": -0.19553518295288086,
"boundsMinY": -0.5,
"boundsMinZ": -0.2698993682861328,
"interactionPositionX": 6.694502353668213,
"boundsMinZ": -0.26989936828613281,
"interactionPositionX": 6.6945023536682129,
"interactionPositionY": 0.0,
"interactionPositionZ": -12.80740737915039,
"scale": 1.0,
"interactionRadius": 0.0,
"activateFunction": "on_phone_pickup"
},
{
"name": "Journal001",
"texturePath": "resources/w/dorm2/journal001_tex002.png",
"meshPath": "resources/w/dorm2/journal001_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 5.84296,
"positionY": 0.9,
"positionZ": -12.4661,
"approachRadius": 0.6,
"interactionPositionZ": -12.807407379150391,
"scale": 1.0,
"interactionRadius": 0.0,
"activateFunction": "on_phone_pickup"
},
{
"name": "Journal001",
"texturePath": "resources/w/dorm2/journal001_tex002.png",
"meshPath": "resources/w/dorm2/journal001_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 5.84296,
"positionY": 0.9,
"positionZ": -12.4661,
"approachRadius": 0.6,
"boundsMaxX": 0.17081403732299805,
"boundsMaxY": 0.5,
"boundsMaxZ": 0.35796260833740234,
"boundsMinX": -0.22043895721435547,
"boundsMinY": -0.5,
"boundsMinZ": -0.25891780853271484,
"interactionPositionX": 5.819052696228027,
"interactionPositionX": 5.8190526962280273,
"interactionPositionY": 0.0,
"interactionPositionZ": -12.76319408416748,
"scale": 1.0,
"interactionRadius": 0.3,
"activateFunction": "on_journal_pickup"
},
{
"name": "Room_Cover_Bath_W_N_2_001",
"texturePath": "resources/black.png",
"meshPath": "resources/w/dorm2/Room_Cover_North_West_1_Bath_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": -0.1,
"positionZ": 0.0,
"scale": 1.0,
"interactionRadius": 0.0
},
{
"name": "Room_Cover_LivingRoom_W_N_2_001",
"texturePath": "resources/black.png",
"meshPath": "resources/w/dorm2/Room_Cover_North_West_1_RoomB_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": -0.1,
"positionZ": 0.0,
"scale": 1.0,
"interactionRadius": 0.0
},
{
"name": "Room_Cover_LivingRoom_W_S_2_001",
"texturePath": "resources/black.png",
"meshPath": "resources/w/dorm2/Room_Cover_South_West_1_RoomB_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": -0.1,
"positionZ": 0.0,
"scale": 1.0,
"interactionRadius": 0.0
},
{
"name": "Room_Cover_Main_Hall_And_Corridors_002",
"texturePath": "resources/black.png",
"meshPath": "resources/w/dorm2/Room_Cover_Main_Hall_Corridor_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": -0.1,
"positionZ": 0.0,
"scale": 1.0,
"interactionRadius": 0.0
},
{
"name": "Room_Cover_Others_001",
"texturePath": "resources/black.png",
"meshPath": "resources/w/dorm2/Room_Cover_All_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": -0.1,
"positionZ": 0.0,
"scale": 1.0,
"interactionRadius": 0.0
},
{
"name": "Room_Cover_Utility_W_N_3_001",
"texturePath": "resources/black.png",
"meshPath": "resources/w/dorm2/Room_Cover_North_West_2_Utility_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": -0.1,
"positionZ": 0.0,
"scale": 1.0,
"interactionRadius": 0.0
},
{
"name": "Room_Cover_Utility_W_S_3_001",
"texturePath": "resources/black.png",
"meshPath": "resources/w/dorm2/Room_Cover_South_West_2_Utility_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": -0.1,
"positionZ": 0.0,
"scale": 1.0,
"interactionRadius": 0.0
},
{
"name": "Door_Bath_-1_1_1_Leaf_002",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Bath_-1_1_1_Leaf_002.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 2.825,
"positionY": 0.0,
"positionZ": -14.3,
"pivotX": -0.6,
"pivotY": 0.0,
"pivotZ": 0.0,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_player_bathroom_click"
},
{
"name": "Door_Bath_-1_-1_1_Leaf_002",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Bath_-1_-1_1_Leaf_002.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": -2.825,
"positionY": 0.0,
"positionZ": -14.3,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_alik_bathroom_click"
},
{
"name": "Door_Room_1_1_0_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Room_1_1_0_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 1.1,
"positionY": 0.0,
"positionZ": 10.0,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_locked_door_click"
},
{
"name": "Door_Room_1_-1_0_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Room_1_-1_0_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": -1.1,
"positionY": 0.0,
"positionZ": 10.0,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_locked_door_click"
},
{
"name": "Door_Room_-1_1_0_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Room_-1_1_0_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 1.1,
"positionY": 0.0,
"positionZ": -10.0,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_locked_door_click"
},
{
"name": "Door_Room_-1_-1_0_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Room_-1_-1_0_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": -1.1,
"positionY": 0.0,
"positionZ": -10.0,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_locked_door_click"
},
{
"name": "Door_Room_1_1_1_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Room_1_1_1_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 1.1,
"positionY": 0.0,
"positionZ": 15.7,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_locked_door_click"
},
{
"name": "Door_Room_1_-1_1_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Room_1_-1_1_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": -1.1,
"positionY": 0.0,
"positionZ": 15.7,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_locked_door_click"
},
{
"name": "Door_Room_-1_1_1_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Room_-1_1_1_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 1.1,
"positionY": 0.0,
"positionZ": -15.7,
"pivotX": 0.0,
"pivotY": 0.0,
"pivotZ": -0.6,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_player_door_click"
},
{
"name": "Door_Room_-1_-1_1_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Room_-1_-1_1_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": -1.1,
"positionY": 0.0,
"positionZ": -15.7,
"pivotX": 0.0,
"pivotY": 0.0,
"pivotZ": -0.6,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_alik_door_click"
},
{
"name": "Door_Utility_1_1_2_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Utility_1_1_2_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 1.1,
"positionY": 0.0,
"positionZ": 19.95,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_locked_door_click"
},
{
"name": "Door_Utility_1_-1_2_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Utility_1_-1_2_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": -1.1,
"positionY": 0.0,
"positionZ": 19.95,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_locked_door_click"
},
{
"name": "Door_Utility_-1_1_2_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Utility_-1_1_2_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 1.1,
"positionY": 0.0,
"positionZ": -19.95,
"pivotX": 0.0,
"pivotY": 0.0,
"pivotZ": -0.6,
"scale": 1.0,
"interactionRadius": 0.0
},
{
"name": "Door_Utility_-1_-1_2_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Utility_-1_-1_2_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": -1.1,
"positionY": 0.0,
"positionZ": -19.95,
"pivotX": 0.0,
"pivotY": 0.0,
"pivotZ": -0.6,
"scale": 1.0,
"interactionRadius": 0.0
}
]
}
"scale": 1.0,
"interactionRadius": 0.3,
"activateFunction": "on_journal_pickup"
},
{
"name": "Bed001",
"texturePath": "resources/transparent.png",
"meshPath": "resources/w/Cube001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": 0.0,
"positionZ": 0.0,
"boundsMaxX": 8.642372131347656,
"boundsMaxY": 1.0,
"boundsMaxZ": -15.692028045654297,
"boundsMinX": 6.203922748565674,
"boundsMinY": 0.0,
"boundsMinZ": -16.945722579956055,
"interactionPositionX": 8.280488014221191,
"interactionPositionY": 0.0,
"interactionPositionZ": -15.692096710205078,
"approachRadius": 0.6,
"scale": 1.0,
"interactionRadius": 0.3,
"activateFunction": "on_bed_sleep"
},
{
"name": "Door_Bath_-1_1_1_Leaf_002",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Bath_-1_1_1_Leaf_002.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 2.825,
"positionY": 0.0,
"positionZ": -14.3,
"pivotX": -0.6,
"pivotY": 0.0,
"pivotZ": 0.0,
"approachRadius": 0.8,
"boundsMaxX": 0.5514686107635498,
"boundsMaxY": 1.0,
"boundsMaxZ": 0.11902141571044922,
"boundsMinX": -0.5845658779144287,
"boundsMinY": -1.0,
"boundsMinZ": -0.11658763885498047,
"interactionPositionX": 2.8216893672943115,
"interactionPositionY": 0.0,
"interactionPositionZ": -14.428529739379883,
"scale": 1.0,
"interactionRadius": 0.0,
"activateFunction": "on_player_bathroom_click"
},
{
"name": "Door_Bath_-1_-1_1_Leaf_002",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Bath_-1_-1_1_Leaf_002.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": -2.825,
"positionY": 0.0,
"positionZ": -14.3,
"approachRadius": 0.8,
"boundsMaxX": 0.5543923377990723,
"boundsMaxY": 1.0,
"boundsMaxZ": 0.09879684448242188,
"boundsMinX": -0.5794532299041748,
"boundsMinY": -1.0,
"boundsMinZ": -0.10668659210205078,
"interactionPositionX": -2.365324020385742,
"interactionPositionY": 0.0,
"interactionPositionZ": -14.433123588562012,
"scale": 1.0,
"interactionRadius": 0.0,
"activateFunction": "on_alik_bathroom_click"
},
{
"name": "Door_Room_-1_1_1_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Room_-1_1_1_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 1.1,
"positionY": 0.0,
"positionZ": -15.7,
"pivotX": 0.0,
"pivotY": 0.0,
"pivotZ": -0.6,
"approachRadius": 0.8,
"boundsMaxX": 0.12640702724456787,
"boundsMaxY": 1.0,
"boundsMaxZ": 0.5614070892333984,
"boundsMinX": -0.07332098484039307,
"boundsMinY": -1.0,
"boundsMinZ": -0.5617532730102539,
"interactionPositionX": 1.4176452159881592,
"interactionPositionY": 0.0,
"interactionPositionZ": -15.264726638793945,
"scale": 1.0,
"interactionRadius": 0.0,
"activateFunction": "on_player_door_click"
},
{
"name": "Door_Room_-1_-1_1_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Room_-1_-1_1_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": -1.1,
"positionY": 0.0,
"positionZ": -15.7,
"approachRadius": 0.8,
"boundsMaxX": 0.13942182064056396,
"boundsMaxY": 1.0,
"boundsMaxZ": 0.5940608978271484,
"boundsMinX": -0.0942072868347168,
"boundsMinY": -1.0,
"boundsMinZ": -0.5547590255737305,
"interactionPositionX": -0.9912688732147217,
"interactionPositionY": 0.0,
"interactionPositionZ": -15.256343841552734,
"pivotX": 0.0,
"pivotY": 0.0,
"pivotZ": -0.6,
"scale": 1.0,
"interactionRadius": 0.0,
"activateFunction": "on_alik_door_click"
},
{
"name": "Door_Room_1_1_0_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Room_1_1_0_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 1.1,
"positionY": 0.0,
"positionZ": 10.0,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_locked_door_click"
},
{
"name": "Door_Room_1_-1_0_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Room_1_-1_0_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": -1.1,
"positionY": 0.0,
"positionZ": 10.0,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_locked_door_click"
},
{
"name": "Door_Room_-1_1_0_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Room_-1_1_0_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 1.1,
"positionY": 0.0,
"positionZ": -10.0,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_locked_door_click"
},
{
"name": "Door_Room_-1_-1_0_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Room_-1_-1_0_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": -1.1,
"positionY": 0.0,
"positionZ": -10.0,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_locked_door_click"
},
{
"name": "Door_Room_1_1_1_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Room_1_1_1_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 1.1,
"positionY": 0.0,
"positionZ": 15.7,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_locked_door_click"
},
{
"name": "Door_Room_1_-1_1_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Room_1_-1_1_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": -1.1,
"positionY": 0.0,
"positionZ": 15.7,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_locked_door_click"
},
{
"name": "Door_Utility_1_1_2_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Utility_1_1_2_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 1.1,
"positionY": 0.0,
"positionZ": 19.95,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_locked_door_click"
},
{
"name": "Door_Utility_1_-1_2_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Utility_1_-1_2_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": -1.1,
"positionY": 0.0,
"positionZ": 19.95,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_locked_door_click"
},
{
"name": "Door_Utility_-1_1_2_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Utility_-1_1_2_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 1.1,
"positionY": 0.0,
"positionZ": -19.95,
"pivotX": 0.0,
"pivotY": 0.0,
"pivotZ": -0.6,
"scale": 1.0,
"interactionRadius": 0.0
},
{
"name": "Door_Utility_-1_-1_2_Leaf_001",
"texturePath": "resources/w/dorm2/doors_tex001.png",
"meshPath": "resources/w/dorm2/Door_Utility_-1_-1_2_Leaf_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": -1.1,
"positionY": 0.0,
"positionZ": -19.95,
"pivotX": 0.0,
"pivotY": 0.0,
"pivotZ": -0.6,
"scale": 1.0,
"interactionRadius": 0.0
},
{
"name": "Room_Cover_Bath_W_N_2_001",
"texturePath": "resources/black.png",
"meshPath": "resources/w/dorm2/Room_Cover_North_West_1_Bath_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": -0.1,
"positionZ": 0.0,
"scale": 1.0,
"interactionRadius": 0.0
},
{
"name": "Room_Cover_LivingRoom_W_N_2_001",
"texturePath": "resources/black.png",
"meshPath": "resources/w/dorm2/Room_Cover_North_West_1_RoomB_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": -0.1,
"positionZ": 0.0,
"scale": 1.0,
"interactionRadius": 0.0
},
{
"name": "Room_Cover_LivingRoom_W_S_2_001",
"texturePath": "resources/black.png",
"meshPath": "resources/w/dorm2/Room_Cover_South_West_1_RoomB_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": -0.1,
"positionZ": 0.0,
"scale": 1.0,
"interactionRadius": 0.0
},
{
"name": "Room_Cover_Main_Hall_And_Corridors_002",
"texturePath": "resources/black.png",
"meshPath": "resources/w/dorm2/Room_Cover_Main_Hall_Corridor_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": -0.1,
"positionZ": 0.0,
"scale": 1.0,
"interactionRadius": 0.0
},
{
"name": "Room_Cover_Others_001",
"texturePath": "resources/black.png",
"meshPath": "resources/w/dorm2/Room_Cover_All_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": -0.1,
"positionZ": 0.0,
"scale": 1.0,
"interactionRadius": 0.0
},
{
"name": "Room_Cover_Utility_W_N_3_001",
"texturePath": "resources/black.png",
"meshPath": "resources/w/dorm2/Room_Cover_North_West_2_Utility_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": -0.1,
"positionZ": 0.0,
"scale": 1.0,
"interactionRadius": 0.0
},
{
"name": "Room_Cover_Utility_W_S_3_001",
"texturePath": "resources/black.png",
"meshPath": "resources/w/dorm2/Room_Cover_South_West_2_Utility_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": -0.1,
"positionZ": 0.0,
"scale": 1.0,
"interactionRadius": 0.0
}
]
}

29
resources/w/Cube_001.txt Normal file
View File

@ -0,0 +1,29 @@
===Vertices (Split by UV/Normal): 14
V 0: Pos(-1.0, 1.0, 1.0) Norm(-0.577328, 0.577361, 0.577361) UV(0.875, 0.5)
V 1: Pos(1.0, -1.0, 1.0) Norm(0.577328, -0.577361, 0.577361) UV(0.625, 0.75)
V 2: Pos(1.0, 1.0, 1.0) Norm(0.577372, 0.577339, 0.577339) UV(0.625, 0.5)
V 3: Pos(-1.0, -1.0, -1.0) Norm(-0.577328, -0.577361, -0.577361) UV(0.375, 1.0)
V 4: Pos(1.0, -1.0, -1.0) Norm(0.577372, -0.577339, -0.577339) UV(0.375, 0.75)
V 5: Pos(-1.0, -1.0, 1.0) Norm(-0.577372, -0.577339, 0.577339) UV(0.625, 0.0)
V 6: Pos(-1.0, 1.0, -1.0) Norm(-0.577372, 0.577339, -0.577339) UV(0.375, 0.25)
V 7: Pos(-1.0, -1.0, -1.0) Norm(-0.577328, -0.577361, -0.577361) UV(0.375, 0.0)
V 8: Pos(1.0, 1.0, -1.0) Norm(0.577328, 0.577361, -0.577361) UV(0.375, 0.5)
V 9: Pos(-1.0, -1.0, -1.0) Norm(-0.577328, -0.577361, -0.577361) UV(0.125, 0.75)
V 10: Pos(-1.0, 1.0, -1.0) Norm(-0.577372, 0.577339, -0.577339) UV(0.125, 0.5)
V 11: Pos(-1.0, 1.0, 1.0) Norm(-0.577328, 0.577361, 0.577361) UV(0.625, 0.25)
V 12: Pos(-1.0, -1.0, 1.0) Norm(-0.577372, -0.577339, 0.577339) UV(0.875, 0.75)
V 13: Pos(-1.0, -1.0, 1.0) Norm(-0.577372, -0.577339, 0.577339) UV(0.625, 1.0)
===Triangles (Indices): 12
Tri: 0 1 2
Tri: 1 3 4
Tri: 5 6 7
Tri: 8 9 10
Tri: 2 4 8
Tri: 11 8 6
Tri: 0 12 1
Tri: 1 13 3
Tri: 5 11 6
Tri: 8 4 9
Tri: 2 1 4
Tri: 11 2 8

View File

@ -7,7 +7,6 @@
#include <array>
#include <cmath>
namespace ZL
{
extern float x;