Working on objects

This commit is contained in:
Vladislav Khorev 2026-06-02 15:47:05 +03:00
parent 60b0ba69ba
commit 89cbc293fc
2 changed files with 415 additions and 305 deletions

View File

@ -51,7 +51,7 @@
{ {
"name": "Bed001", "name": "Bed001",
"texturePath": "resources/transparent.png", "texturePath": "resources/transparent.png",
"meshPath": "resources/w/Cube001.txt", "meshPath": "resources/w/Cube_001.txt",
"rotationX": 0.0, "rotationX": 0.0,
"rotationY": 0.0, "rotationY": 0.0,
"rotationZ": 0.0, "rotationZ": 0.0,

View File

@ -1,305 +1,415 @@
{ {
"objects": [ "objects": [
{ {
"name": "Computer001", "name": "Computer001",
"texturePath": "resources/w/interior/computer_texture002.png", "texturePath": "resources/w/interior/computer_texture002.png",
"textureDarkandsPath": "resources/w/interior/computer_texture002.png", "textureDarkandsPath": "resources/w/interior/computer_texture002.png",
"meshPath": "resources/w/interior/computer001_004.txt", "meshPath": "resources/w/interior/computer001_004.txt",
"rotationX": 0.0, "rotationX": 0.0,
"rotationY": 0.0, "rotationY": 0.0,
"rotationZ": 0.0, "rotationZ": 0.0,
"positionX": 5.0916, "positionX": 5.0916,
"positionY": 1.1534, "positionY": 1.1534,
"positionZ": 0.751629, "positionZ": 0.751629,
"interactionRadius": 1.2, "approachRadius": 1.2,
"scale": 1.0, "boundsMaxX": 0.6253643035888672,
"activateFunction": "on_computer_clicked" "boundsMaxY": 0.5,
}, "boundsMaxZ": 0.638715922832489,
{ "boundsMinX": -0.6565828323364258,
"name": "Knife001", "boundsMinY": -1.0,
"texturePath": "resources/w/white.png", "boundsMinZ": -0.7323135733604431,
"meshPath": "resources/w/interior/Knife.txt", "interactionPositionX": 4.502297401428223,
"rotationX": 0.0, "interactionPositionY": 0.0,
"rotationY": 0.0, "interactionPositionZ": 1.3883256912231445,
"rotationZ": 0.0, "scale": 1.0,
"positionX": -5.3964, "activateFunction": "on_computer_clicked"
"positionY": 0.91414, },
"positionZ": 2.54703, {
"scale": 1.0, "name": "Knife001",
"interactionRadius": 0.5, "texturePath": "resources/w/white.png",
"activateFunction": "on_knife_pickup" "meshPath": "resources/w/interior/Knife.txt",
}, "rotationX": 0.0,
{ "rotationY": 0.0,
"name": "Book001", "rotationZ": 0.0,
"texturePath": "resources/w/interior/book_tex002.png", "positionX": -5.3964,
"meshPath": "resources/w/interior/book001.txt", "positionY": 0.91414,
"rotationX": 0.0, "positionZ": 2.54703,
"rotationY": 0.0, "approachRadius": 1.4,
"rotationZ": 0.0, "boundsMaxX": 0.30867958068847656,
"positionX": 1.84795, "boundsMaxY": 0.4,
"positionY": 0.6595, "boundsMaxZ": 0.28728413581848145,
"positionZ": 2.90552, "boundsMinX": -0.444033145904541,
"scale": 1.0, "boundsMinY": 0.0,
"interactionRadius": 0.3, "boundsMinZ": -0.31477832794189453,
"activateFunction": "on_book_pickup" "scale": 1.0,
}, "interactionRadius": 0.0,
{ "activateFunction": "on_knife_pickup"
"name": "ReportCard001", },
"texturePath": "resources/w/interior/report_card_tex001.png", {
"meshPath": "resources/w/interior/book001.txt", "name": "Book001",
"rotationX": 0.0, "texturePath": "resources/w/interior/book_tex002.png",
"rotationY": 0.0, "meshPath": "resources/w/interior/book001.txt",
"rotationZ": 0.0, "rotationX": 0.0,
"positionX": -5.10169, "rotationY": 0.0,
"positionY": 0.95746, "rotationZ": 0.0,
"positionZ": 0.440886, "positionX": 1.84795,
"scale": 1.0, "positionY": 0.6595,
"interactionRadius": 0.3, "positionZ": 2.90552,
"activateFunction": "on_report_card_pickup" "approachRadius": 0.6,
}, "boundsMaxX": 0.2350165843963623,
{ "boundsMaxY": 0.3,
"name": "Note001", "boundsMaxZ": 0.3136167526245117,
"texturePath": "resources/w/interior/note001_text001.png", "boundsMinX": -0.27574634552001953,
"meshPath": "resources/w/interior/note001_001.txt", "boundsMinY": 0.0,
"rotationX": 0.0, "boundsMinZ": -0.2367849349975586,
"rotationY": 0.0, "interactionPositionX": 2.1176772117614746,
"rotationZ": 0.0, "interactionPositionY": 0.0,
"positionX": 3.82193, "interactionPositionZ": 2.938464641571045,
"positionY": 1.0438, "scale": 1.0,
"positionZ": 1.07944, "interactionRadius": 0.0,
"scale": 1.0, "activateFunction": "on_book_pickup"
"interactionRadius": 0.3, },
"activateFunction": "on_note_pickup" {
}, "name": "Bookshelf001",
{ "texturePath": "resources/transparent.png",
"name": "Room_S_0_Leaf001", "meshPath": "resources/w/Cube_001.txt",
"texturePath": "resources/w/interior/doors_tex001.png", "rotationX": 0.0,
"meshPath": "resources/w/interior/outputRoom_S_0_Leaf001.txt", "rotationY": 0.0,
"rotationX": 0.0, "rotationZ": 0.0,
"rotationY": 0.0, "positionX": 1.84795,
"rotationZ": 0.0, "positionY": 0.0,
"positionX": -1.5, "positionZ": 2.90552,
"positionY": 0.975, "approachRadius": 0.6,
"positionZ": -9.035, "boundsMaxX": 0.24423766136169434,
"pivotX": 0.0, "boundsMaxY": 2.0,
"pivotY": 0.0, "boundsMaxZ": 1.0927515029907227,
"pivotZ": 0.565, "boundsMinX": -0.14073467254638672,
"scale": 1.0, "boundsMinY": 0.0,
"interactionRadius": 0.5, "boundsMinZ": -0.41706109046936035,
"activateFunction": "on_s1_door_click" "interactionPositionX": 2.14984393119812,
}, "interactionPositionY": 0.0,
{ "interactionPositionZ": 3.089071750640869,
"name": "Room_N_1_Leaf001", "scale": 1.0,
"texturePath": "resources/w/interior/doors_tex001.png", "interactionRadius": 0.0,
"meshPath": "resources/w/interior/outputRoom_N_1_Leaf001.txt", "activateFunction": "on_bookshelf_clicked"
"rotationX": 0.0, },
"rotationY": 0.0, {
"rotationZ": 0.0, "name": "ReportCard001",
"positionX": 1.5, "texturePath": "resources/w/interior/report_card_tex001.png",
"positionY": 0.975, "meshPath": "resources/w/interior/book001.txt",
"positionZ": -1.035, "rotationX": 0.0,
"pivotX": 0.0, "rotationY": 0.0,
"pivotY": 0.0, "rotationZ": 0.0,
"pivotZ": 0.565, "positionX": -5.10169,
"scale": 1.0, "positionY": 0.95746,
"interactionRadius": 0.5, "positionZ": 0.440886,
"activateFunction": "on_n2_door_click" "scale": 1.0,
}, "interactionRadius": 0.3,
{ "activateFunction": "on_report_card_pickup"
"name": "Room_S_1_Leaf001", },
"texturePath": "resources/w/interior/doors_tex001.png", {
"meshPath": "resources/w/interior/outputRoom_S_1_Leaf001.txt", "name": "Note001",
"rotationX": 0.0, "texturePath": "resources/w/interior/note001_text001.png",
"rotationY": 0.0, "meshPath": "resources/w/interior/note001_001.txt",
"rotationZ": 0.0, "rotationX": 0.0,
"positionX": -1.5, "rotationY": 0.0,
"positionY": 0.975, "rotationZ": 0.0,
"positionZ": -1.035, "positionX": 3.82193,
"pivotX": 0.0, "positionY": 1.0438,
"pivotY": 0.0, "positionZ": 1.07944,
"pivotZ": 0.565, "approachRadius": 0.6,
"scale": 1.0, "boundsMaxX": 0.3282341957092285,
"interactionRadius": 0.5, "boundsMaxY": 0.5,
"activateFunction": "on_s2_door_click" "boundsMaxZ": 0.2137817144393921,
}, "boundsMinX": -0.21202635765075684,
{ "boundsMinY": 0.0,
"name": "Room_N_2_Leaf001", "boundsMinZ": -0.5441347360610962,
"texturePath": "resources/w/interior/doors_tex001.png", "interactionPositionX": 3.836475133895874,
"meshPath": "resources/w/interior/outputRoom_N_2_Leaf001.txt", "interactionPositionY": 0.0,
"rotationX": 0.0, "interactionPositionZ": 1.3356603384017944,
"rotationY": 0.0, "scale": 1.0,
"rotationZ": 0.0, "interactionRadius": 0.0,
"positionX": 1.5, "activateFunction": "on_note_pickup"
"positionY": 0.975, },
"positionZ": 6.965, {
"pivotX": 0.0, "name": "Room_N_2_Leaf001",
"pivotY": 0.0, "texturePath": "resources/w/interior/doors_tex001.png",
"pivotZ": 0.565, "meshPath": "resources/w/interior/outputRoom_N_2_Leaf001.txt",
"scale": 1.0, "rotationX": 0.0,
"interactionRadius": 0.5, "rotationY": 0.0,
"activateFunction": "on_library_door_click" "rotationZ": 0.0,
}, "positionX": 1.5,
{ "positionY": 0.975,
"name": "Room_S_2_Leaf001", "positionZ": 6.965,
"texturePath": "resources/w/interior/doors_tex001.png", "approachRadius": 0.5,
"meshPath": "resources/w/interior/outputRoom_S_2_Leaf001.txt", "boundsMaxX": 0.06785714626312256,
"rotationX": 0.0, "boundsMaxY": 1.0,
"rotationY": 0.0, "boundsMaxZ": 0.49353456497192383,
"rotationZ": 0.0, "boundsMinX": -0.09638166427612305,
"positionX": -1.5, "boundsMinY": -1.0,
"positionY": 0.975, "boundsMinZ": -0.6017804145812988,
"positionZ": 6.965, "interactionPositionX": 1.3585708141326904,
"pivotX": 0.0, "interactionPositionY": 0.0,
"pivotY": 0.0, "interactionPositionZ": 6.787649631500244,
"pivotZ": 0.565, "pivotX": 0.0,
"scale": 1.0, "pivotY": 0.0,
"interactionRadius": 0.5, "pivotZ": 0.565,
"activateFunction": "on_teachers_door_click" "scale": 1.0,
}, "interactionRadius": 0.0,
{ "activateFunction": "on_library_door_click"
"name": "Hall_Leaf001", },
"texturePath": "resources/w/interior/doors_tex001.png", {
"meshPath": "resources/w/interior/outputHall_Leaf001.txt", "name": "Room_N_1_Leaf001",
"rotationX": 0.0, "texturePath": "resources/w/interior/doors_tex001.png",
"rotationY": 0.0, "meshPath": "resources/w/interior/outputRoom_N_1_Leaf001.txt",
"rotationZ": 0.0, "rotationX": 0.0,
"positionX": 0.565, "rotationY": 0.0,
"positionY": 0.975, "rotationZ": 0.0,
"positionZ": 8, "positionX": 1.5,
"scale": 1.0, "positionY": 0.975,
"pivotX": 0.565, "positionZ": -1.035,
"pivotY": 0.0, "pivotX": 0.0,
"pivotZ": 0.0, "pivotY": 0.0,
"interactionRadius": 0.5, "pivotZ": 0.565,
"activateFunction": "on_hall_door_click" "scale": 1.0,
}, "interactionRadius": 0.5,
{ "activateFunction": "on_n2_door_click"
"name": "Room_Cover_Corridor_001", },
"texturePath": "resources/black.png", {
"meshPath": "resources/w/interior/Room_Cover_Corridor_002.txt", "name": "Room_S_1_Leaf001",
"rotationX": 0.0, "texturePath": "resources/w/interior/doors_tex001.png",
"rotationY": 0.0, "meshPath": "resources/w/interior/outputRoom_S_1_Leaf001.txt",
"rotationZ": 0.0, "rotationX": 0.0,
"positionX": 0.0, "rotationY": 0.0,
"positionY": -5.0, "rotationZ": 0.0,
"positionZ": 0.0, "positionX": -1.5,
"scale": 1.0, "positionY": 0.975,
"pivotX": 0.0, "positionZ": -1.035,
"pivotY": 0.0, "approachRadius": 0.5,
"pivotZ": 0.0, "boundsMaxX": 0.12115073204040527,
"interactionRadius": 0.0 "boundsMaxY": 1.0,
}, "boundsMaxZ": 0.6290097236633301,
{ "boundsMinX": -0.07913470268249512,
"name": "Room_Cover_Main_Hall_001", "boundsMinY": -1.0,
"texturePath": "resources/black.png", "boundsMinZ": -0.5976793766021729,
"meshPath": "resources/w/interior/Room_Cover_Main_Hall_002.txt", "interactionPositionX": -1.4122395515441895,
"rotationX": 0.0, "interactionPositionY": 0.0,
"rotationY": 0.0, "interactionPositionZ": -1.2572474479675293,
"rotationZ": 0.0, "pivotX": 0.0,
"positionX": 0.0, "pivotY": 0.0,
"positionY": -5.0, "pivotZ": 0.565,
"positionZ": 0.0, "scale": 1.0,
"scale": 1.0, "interactionRadius": 0.5,
"pivotX": 0.0, "activateFunction": "on_s2_door_click"
"pivotY": 0.0, },
"pivotZ": 0.0, {
"interactionRadius": 0.0 "name": "Room_S_2_Leaf001",
}, "texturePath": "resources/w/interior/doors_tex001.png",
{ "meshPath": "resources/w/interior/outputRoom_S_2_Leaf001.txt",
"name": "Room_Cover_North_1_001", "rotationX": 0.0,
"texturePath": "resources/black.png", "rotationY": 0.0,
"meshPath": "resources/w/interior/Room_Cover_North_1_002.txt", "rotationZ": 0.0,
"rotationX": 0.0, "positionX": -1.5,
"rotationY": 0.0, "positionY": 0.975,
"rotationZ": 0.0, "positionZ": 6.965,
"positionX": 0.0, "approachRadius": 0.5,
"positionY": -5.0, "boundsMaxX": 0.09747374057769775,
"positionZ": 0.0, "boundsMaxY": 1.0,
"scale": 1.0, "boundsMaxZ": 0.6132597923278809,
"pivotX": 0.0, "boundsMinX": -0.07834482192993164,
"pivotY": 0.0, "boundsMinY": -1.0,
"pivotZ": 0.0, "boundsMinZ": -0.5960769653320313,
"interactionRadius": 0.0 "interactionPositionX": -1.404833197593689,
}, "interactionPositionY": 0.0,
{ "interactionPositionZ": 6.704456806182861,
"name": "Room_Cover_South_1_001", "pivotX": 0.0,
"texturePath": "resources/black.png", "pivotY": 0.0,
"meshPath": "resources/w/interior/Room_Cover_South_1_002.txt", "pivotZ": 0.565,
"rotationX": 0.0, "scale": 1.0,
"rotationY": 0.0, "interactionRadius": 0.0,
"rotationZ": 0.0, "activateFunction": "on_teachers_door_click"
"positionX": 0.0, },
"positionY": -5.0, {
"positionZ": 0.0, "name": "Hall_Leaf001",
"scale": 1.0, "texturePath": "resources/w/interior/doors_tex001.png",
"pivotX": 0.0, "meshPath": "resources/w/interior/outputHall_Leaf001.txt",
"pivotY": 0.0, "rotationX": 0.0,
"pivotZ": 0.0, "rotationY": 0.0,
"interactionRadius": 0.0 "rotationZ": 0.0,
}, "positionX": 0.565,
{ "positionY": 0.975,
"name": "Room_Cover_North_2_001", "positionZ": 8,
"texturePath": "resources/black.png", "approachRadius": 0.8,
"meshPath": "resources/w/interior/Room_Cover_North_2_002.txt", "boundsMaxX": 0.62439560890197754,
"rotationX": 0.0, "boundsMaxY": 1.0,
"rotationY": 0.0, "boundsMaxZ": 0.11013984680175781,
"rotationZ": 0.0, "boundsMinX": -0.6047632098197937,
"positionX": 0.0, "boundsMinY": -1.0,
"positionY": -5.0, "boundsMinZ": -0.12955093383789063,
"positionZ": 0.0, "interactionPositionX": 0.52124029397964478,
"scale": 1.0, "interactionPositionY": 0.0,
"pivotX": 0.0, "interactionPositionZ": 7.8844432830810547,
"pivotY": 0.0, "scale": 1.0,
"pivotZ": 0.0, "pivotX": 0.565,
"interactionRadius": 0.0 "pivotY": 0.0,
}, "pivotZ": 0.0,
{ "interactionRadius": 0.0,
"name": "Room_Cover_South_2_001", "activateFunction": "on_hall_door_click"
"texturePath": "resources/black.png", },
"meshPath": "resources/w/interior/Room_Cover_South_2_002.txt", {
"rotationX": 0.0, "name": "Room_S_0_Leaf001",
"rotationY": 0.0, "texturePath": "resources/w/interior/doors_tex001.png",
"rotationZ": 0.0, "meshPath": "resources/w/interior/outputRoom_S_0_Leaf001.txt",
"positionX": 0.0, "rotationX": 0.0,
"positionY": -5.0, "rotationY": 0.0,
"positionZ": 0.0, "rotationZ": 0.0,
"scale": 1.0, "positionX": -1.5,
"pivotX": 0.0, "positionY": 0.975,
"pivotY": 0.0, "positionZ": -9.035,
"pivotZ": 0.0, "approachRadius": 0.8,
"interactionRadius": 0.0 "boundsMaxX": 0.10914039611816406,
}, "boundsMaxY": 1.0,
{ "boundsMaxZ": 0.5991430282592773,
"name": "Room_Cover_North_3_001", "boundsMinX": -0.04130113124847412,
"texturePath": "resources/black.png", "boundsMinY": -1.0,
"meshPath": "resources/w/interior/Room_Cover_North_3_002.txt", "boundsMinZ": -0.6299610137939453,
"rotationX": 0.0, "interactionPositionX": -1.4023009538650513,
"rotationY": 0.0, "interactionPositionY": 0.0,
"rotationZ": 0.0, "interactionPositionZ": -9.225384712219238,
"positionX": 0.0, "pivotX": 0.0,
"positionY": -5.0, "pivotY": 0.0,
"positionZ": 0.0, "pivotZ": 0.565,
"scale": 1.0, "scale": 1.0,
"pivotX": 0.0, "interactionRadius": 0.5,
"pivotY": 0.0, "activateFunction": "on_s1_door_click"
"pivotZ": 0.0, },
"interactionRadius": 0.0 {
}, "name": "Room_Cover_Corridor_001",
{ "texturePath": "resources/black.png",
"name": "Room_Cover_South_3_001", "meshPath": "resources/w/interior/Room_Cover_Corridor_002.txt",
"texturePath": "resources/black.png", "rotationX": 0.0,
"meshPath": "resources/w/interior/Room_Cover_South_3_002.txt", "rotationY": 0.0,
"rotationX": 0.0, "rotationZ": 0.0,
"rotationY": 0.0, "positionX": 0.0,
"rotationZ": 0.0, "positionY": -5.0,
"positionX": 0.0, "positionZ": 0.0,
"positionY": -5.0, "scale": 1.0,
"positionZ": 0.0, "pivotX": 0.0,
"scale": 1.0, "pivotY": 0.0,
"pivotX": 0.0, "pivotZ": 0.0,
"pivotY": 0.0, "interactionRadius": 0.0
"pivotZ": 0.0, },
"interactionRadius": 0.0 {
} "name": "Room_Cover_Main_Hall_001",
] "texturePath": "resources/black.png",
"meshPath": "resources/w/interior/Room_Cover_Main_Hall_002.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": -5.0,
"positionZ": 0.0,
"scale": 1.0,
"pivotX": 0.0,
"pivotY": 0.0,
"pivotZ": 0.0,
"interactionRadius": 0.0
},
{
"name": "Room_Cover_North_1_001",
"texturePath": "resources/black.png",
"meshPath": "resources/w/interior/Room_Cover_North_1_002.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": -5.0,
"positionZ": 0.0,
"scale": 1.0,
"pivotX": 0.0,
"pivotY": 0.0,
"pivotZ": 0.0,
"interactionRadius": 0.0
},
{
"name": "Room_Cover_South_1_001",
"texturePath": "resources/black.png",
"meshPath": "resources/w/interior/Room_Cover_South_1_002.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": -5.0,
"positionZ": 0.0,
"scale": 1.0,
"pivotX": 0.0,
"pivotY": 0.0,
"pivotZ": 0.0,
"interactionRadius": 0.0
},
{
"name": "Room_Cover_North_2_001",
"texturePath": "resources/black.png",
"meshPath": "resources/w/interior/Room_Cover_North_2_002.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": -5.0,
"positionZ": 0.0,
"scale": 1.0,
"pivotX": 0.0,
"pivotY": 0.0,
"pivotZ": 0.0,
"interactionRadius": 0.0
},
{
"name": "Room_Cover_South_2_001",
"texturePath": "resources/black.png",
"meshPath": "resources/w/interior/Room_Cover_South_2_002.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": -5.0,
"positionZ": 0.0,
"scale": 1.0,
"pivotX": 0.0,
"pivotY": 0.0,
"pivotZ": 0.0,
"interactionRadius": 0.0
},
{
"name": "Room_Cover_North_3_001",
"texturePath": "resources/black.png",
"meshPath": "resources/w/interior/Room_Cover_North_3_002.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": -5.0,
"positionZ": 0.0,
"scale": 1.0,
"pivotX": 0.0,
"pivotY": 0.0,
"pivotZ": 0.0,
"interactionRadius": 0.0
},
{
"name": "Room_Cover_South_3_001",
"texturePath": "resources/black.png",
"meshPath": "resources/w/interior/Room_Cover_South_3_002.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": -5.0,
"positionZ": 0.0,
"scale": 1.0,
"pivotX": 0.0,
"pivotY": 0.0,
"pivotZ": 0.0,
"interactionRadius": 0.0
}
]
} }