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