From 3abb4c09d81ef426c8b013e1a9449bdef7e7abe3 Mon Sep 17 00:00:00 2001 From: brothermechanic Date: Fri, 8 Dec 2023 15:48:03 +0300 Subject: [PATCH] add chess world scene --- world/chess/models/bishop/meshes/bishop.dae | 3 + world/chess/models/bishop/meshes/bishop.stl | 3 + world/chess/models/bishop/model.config | 16 ++ world/chess/models/bishop/model.sdf | 25 +++ world/chess/models/bishop/model.sdf.md5 | 1 + world/chess/models/board/meshes/board.dae | 3 + world/chess/models/board/model.config | 16 ++ world/chess/models/board/model.sdf | 17 ++ world/chess/models/board/model.sdf.md5 | 1 + world/chess/models/king/meshes/king.dae | 3 + world/chess/models/king/meshes/king.stl | 3 + world/chess/models/king/model.config | 16 ++ world/chess/models/king/model.sdf | 25 +++ world/chess/models/king/model.sdf.md5 | 1 + world/chess/models/knight/meshes/knight.dae | 3 + world/chess/models/knight/meshes/knight.stl | 3 + world/chess/models/knight/model.config | 16 ++ world/chess/models/knight/model.sdf | 25 +++ world/chess/models/knight/model.sdf.md5 | 1 + world/chess/models/pawn/meshes/pawn.dae | 3 + world/chess/models/pawn/meshes/pawn.stl | 3 + world/chess/models/pawn/model.config | 16 ++ world/chess/models/pawn/model.sdf | 25 +++ world/chess/models/pawn/model.sdf.md5 | 1 + world/chess/models/queen/meshes/queen.dae | 3 + world/chess/models/queen/meshes/queen.stl | 3 + world/chess/models/queen/model.config | 16 ++ world/chess/models/queen/model.sdf | 25 +++ world/chess/models/queen/model.sdf.md5 | 1 + world/chess/models/rook/meshes/rook.dae | 3 + world/chess/models/rook/meshes/rook.stl | 3 + world/chess/models/rook/model.config | 16 ++ world/chess/models/rook/model.sdf | 25 +++ world/chess/models/rook/model.sdf.md5 | 1 + world/chess/world.json | 228 ++++++++++++++++++++ 35 files changed, 553 insertions(+) create mode 100644 world/chess/models/bishop/meshes/bishop.dae create mode 100644 world/chess/models/bishop/meshes/bishop.stl create mode 100644 world/chess/models/bishop/model.config create mode 100644 world/chess/models/bishop/model.sdf create mode 100644 world/chess/models/bishop/model.sdf.md5 create mode 100644 world/chess/models/board/meshes/board.dae create mode 100644 world/chess/models/board/model.config create mode 100644 world/chess/models/board/model.sdf create mode 100644 world/chess/models/board/model.sdf.md5 create mode 100644 world/chess/models/king/meshes/king.dae create mode 100644 world/chess/models/king/meshes/king.stl create mode 100644 world/chess/models/king/model.config create mode 100644 world/chess/models/king/model.sdf create mode 100644 world/chess/models/king/model.sdf.md5 create mode 100644 world/chess/models/knight/meshes/knight.dae create mode 100644 world/chess/models/knight/meshes/knight.stl create mode 100644 world/chess/models/knight/model.config create mode 100644 world/chess/models/knight/model.sdf create mode 100644 world/chess/models/knight/model.sdf.md5 create mode 100644 world/chess/models/pawn/meshes/pawn.dae create mode 100644 world/chess/models/pawn/meshes/pawn.stl create mode 100644 world/chess/models/pawn/model.config create mode 100644 world/chess/models/pawn/model.sdf create mode 100644 world/chess/models/pawn/model.sdf.md5 create mode 100644 world/chess/models/queen/meshes/queen.dae create mode 100644 world/chess/models/queen/meshes/queen.stl create mode 100644 world/chess/models/queen/model.config create mode 100644 world/chess/models/queen/model.sdf create mode 100644 world/chess/models/queen/model.sdf.md5 create mode 100644 world/chess/models/rook/meshes/rook.dae create mode 100644 world/chess/models/rook/meshes/rook.stl create mode 100644 world/chess/models/rook/model.config create mode 100644 world/chess/models/rook/model.sdf create mode 100644 world/chess/models/rook/model.sdf.md5 create mode 100644 world/chess/world.json diff --git a/world/chess/models/bishop/meshes/bishop.dae b/world/chess/models/bishop/meshes/bishop.dae new file mode 100644 index 0000000..3286f6d --- /dev/null +++ b/world/chess/models/bishop/meshes/bishop.dae @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6906e6fa5f5aa3ab90539cc99d6d3df0aa212d8a0d8a72277b3c8583eac257ef +size 832556 diff --git a/world/chess/models/bishop/meshes/bishop.stl b/world/chess/models/bishop/meshes/bishop.stl new file mode 100644 index 0000000..3ea5e17 --- /dev/null +++ b/world/chess/models/bishop/meshes/bishop.stl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f3c79298e85c314b1c3be0a2b55fd8cdbae977f081770988a83e5f52f09ce242 +size 295684 diff --git a/world/chess/models/bishop/model.config b/world/chess/models/bishop/model.config new file mode 100644 index 0000000..6ff55a5 --- /dev/null +++ b/world/chess/models/bishop/model.config @@ -0,0 +1,16 @@ + + + + bishop + 1.0 + model.sdf + + + brothermechanic + brothermechanic@yandex.com + + + + bishop + + diff --git a/world/chess/models/bishop/model.sdf b/world/chess/models/bishop/model.sdf new file mode 100644 index 0000000..8f1323d --- /dev/null +++ b/world/chess/models/bishop/model.sdf @@ -0,0 +1,25 @@ + + + + 0 0 0 0 0 0 + true + + + + + 1.0 1.0 1.0 + meshes/bishop.dae + + + + + + + 1.0 1.0 1.0 + meshes/bishop.stl + + + + + + diff --git a/world/chess/models/bishop/model.sdf.md5 b/world/chess/models/bishop/model.sdf.md5 new file mode 100644 index 0000000..1145fbd --- /dev/null +++ b/world/chess/models/bishop/model.sdf.md5 @@ -0,0 +1 @@ +b1c8392466ab2f17e27eaa5e6d79f4be \ No newline at end of file diff --git a/world/chess/models/board/meshes/board.dae b/world/chess/models/board/meshes/board.dae new file mode 100644 index 0000000..46c375f --- /dev/null +++ b/world/chess/models/board/meshes/board.dae @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c9de917e2fd4cd430abdee5c7cfd8b022021cc594b8678fc78d36dbe5c9534ce +size 11179 diff --git a/world/chess/models/board/model.config b/world/chess/models/board/model.config new file mode 100644 index 0000000..43452ba --- /dev/null +++ b/world/chess/models/board/model.config @@ -0,0 +1,16 @@ + + + + board + 1.0 + model.sdf + + + brothermechanic + brothermechanic@yandex.com + + + + board + + diff --git a/world/chess/models/board/model.sdf b/world/chess/models/board/model.sdf new file mode 100644 index 0000000..b793a2e --- /dev/null +++ b/world/chess/models/board/model.sdf @@ -0,0 +1,17 @@ + + + + 0 0 0 0 0 0 + true + + + + + 1.0 1.0 1.0 + meshes/board.dae + + + + + + diff --git a/world/chess/models/board/model.sdf.md5 b/world/chess/models/board/model.sdf.md5 new file mode 100644 index 0000000..eddd041 --- /dev/null +++ b/world/chess/models/board/model.sdf.md5 @@ -0,0 +1 @@ +abb14cd4eb3d527058fdf2ef14f4a42e \ No newline at end of file diff --git a/world/chess/models/king/meshes/king.dae b/world/chess/models/king/meshes/king.dae new file mode 100644 index 0000000..5aa85fc --- /dev/null +++ b/world/chess/models/king/meshes/king.dae @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:92325c1dfa69bc67fcae112065eba49efd3254866a044f248d781ca0977be027 +size 438175 diff --git a/world/chess/models/king/meshes/king.stl b/world/chess/models/king/meshes/king.stl new file mode 100644 index 0000000..891bdc0 --- /dev/null +++ b/world/chess/models/king/meshes/king.stl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:075f1bddeabb0ef42c9d2940841046e8667deac9faf0de860552b23ba5e4b547 +size 160684 diff --git a/world/chess/models/king/model.config b/world/chess/models/king/model.config new file mode 100644 index 0000000..4ffa3f7 --- /dev/null +++ b/world/chess/models/king/model.config @@ -0,0 +1,16 @@ + + + + king + 1.0 + model.sdf + + + brothermechanic + brothermechanic@yandex.com + + + + king + + diff --git a/world/chess/models/king/model.sdf b/world/chess/models/king/model.sdf new file mode 100644 index 0000000..48bfc7c --- /dev/null +++ b/world/chess/models/king/model.sdf @@ -0,0 +1,25 @@ + + + + 0 0 0 0 0 0 + true + + + + + 1.0 1.0 1.0 + meshes/king.dae + + + + + + + 1.0 1.0 1.0 + meshes/king.stl + + + + + + diff --git a/world/chess/models/king/model.sdf.md5 b/world/chess/models/king/model.sdf.md5 new file mode 100644 index 0000000..3e66bb6 --- /dev/null +++ b/world/chess/models/king/model.sdf.md5 @@ -0,0 +1 @@ +33d4dba334fe520f39599530b1387022 \ No newline at end of file diff --git a/world/chess/models/knight/meshes/knight.dae b/world/chess/models/knight/meshes/knight.dae new file mode 100644 index 0000000..d2a3193 --- /dev/null +++ b/world/chess/models/knight/meshes/knight.dae @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb34aa71d03b4b57d9a5b1b40e570798cb0b0a5a105ce12562ba9819a565fa2f +size 308710 diff --git a/world/chess/models/knight/meshes/knight.stl b/world/chess/models/knight/meshes/knight.stl new file mode 100644 index 0000000..6d1ede2 --- /dev/null +++ b/world/chess/models/knight/meshes/knight.stl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2b27598558e0ad74206b43a176a8215db5a5fe248cfa44282bf008e5415e9c7 +size 113784 diff --git a/world/chess/models/knight/model.config b/world/chess/models/knight/model.config new file mode 100644 index 0000000..ea2af7e --- /dev/null +++ b/world/chess/models/knight/model.config @@ -0,0 +1,16 @@ + + + + knight + 1.0 + model.sdf + + + brothermechanic + brothermechanic@yandex.com + + + + knight + + diff --git a/world/chess/models/knight/model.sdf b/world/chess/models/knight/model.sdf new file mode 100644 index 0000000..59e8f6d --- /dev/null +++ b/world/chess/models/knight/model.sdf @@ -0,0 +1,25 @@ + + + + 0 0 0 0 0 0 + true + + + + + 1.0 1.0 1.0 + meshes/knight.dae + + + + + + + 1.0 1.0 1.0 + meshes/knight.stl + + + + + + diff --git a/world/chess/models/knight/model.sdf.md5 b/world/chess/models/knight/model.sdf.md5 new file mode 100644 index 0000000..de6a0d9 --- /dev/null +++ b/world/chess/models/knight/model.sdf.md5 @@ -0,0 +1 @@ +903f17bcd344d157f25839d84982c8b3 \ No newline at end of file diff --git a/world/chess/models/pawn/meshes/pawn.dae b/world/chess/models/pawn/meshes/pawn.dae new file mode 100644 index 0000000..6cda2fa --- /dev/null +++ b/world/chess/models/pawn/meshes/pawn.dae @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d886d1a1d9598191c2f697e9b3324974b5f34f95f412d226ccab14a6708f005d +size 363649 diff --git a/world/chess/models/pawn/meshes/pawn.stl b/world/chess/models/pawn/meshes/pawn.stl new file mode 100644 index 0000000..6d5bae0 --- /dev/null +++ b/world/chess/models/pawn/meshes/pawn.stl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8aa090d8b800dbbb8ba066e48e307b59da1c555243b290dc176ca3983c429ed +size 132534 diff --git a/world/chess/models/pawn/model.config b/world/chess/models/pawn/model.config new file mode 100644 index 0000000..3909839 --- /dev/null +++ b/world/chess/models/pawn/model.config @@ -0,0 +1,16 @@ + + + + pawn + 1.0 + model.sdf + + + brothermechanic + brothermechanic@yandex.com + + + + pawn + + diff --git a/world/chess/models/pawn/model.sdf b/world/chess/models/pawn/model.sdf new file mode 100644 index 0000000..1dd2aba --- /dev/null +++ b/world/chess/models/pawn/model.sdf @@ -0,0 +1,25 @@ + + + + 0 0 0 0 0 0 + true + + + + + 1.0 1.0 1.0 + meshes/pawn.dae + + + + + + + 1.0 1.0 1.0 + meshes/pawn.stl + + + + + + diff --git a/world/chess/models/pawn/model.sdf.md5 b/world/chess/models/pawn/model.sdf.md5 new file mode 100644 index 0000000..1ed0e9b --- /dev/null +++ b/world/chess/models/pawn/model.sdf.md5 @@ -0,0 +1 @@ +f4a50d3e17ec15de20861224ef13f176 \ No newline at end of file diff --git a/world/chess/models/queen/meshes/queen.dae b/world/chess/models/queen/meshes/queen.dae new file mode 100644 index 0000000..1837489 --- /dev/null +++ b/world/chess/models/queen/meshes/queen.dae @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d046c1e7a8bfe1cab18ce9433950f8eff29472c95a8c68ab9079b88ab5ab2e3b +size 325517 diff --git a/world/chess/models/queen/meshes/queen.stl b/world/chess/models/queen/meshes/queen.stl new file mode 100644 index 0000000..0ff04e0 --- /dev/null +++ b/world/chess/models/queen/meshes/queen.stl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9b0a9b0edbccfa4b47350c9c42181222408fe410a5abb9f3ec4f8a358bf68fb5 +size 120084 diff --git a/world/chess/models/queen/model.config b/world/chess/models/queen/model.config new file mode 100644 index 0000000..bb1bbcb --- /dev/null +++ b/world/chess/models/queen/model.config @@ -0,0 +1,16 @@ + + + + queen + 1.0 + model.sdf + + + brothermechanic + brothermechanic@yandex.com + + + + queen + + diff --git a/world/chess/models/queen/model.sdf b/world/chess/models/queen/model.sdf new file mode 100644 index 0000000..27e3b5b --- /dev/null +++ b/world/chess/models/queen/model.sdf @@ -0,0 +1,25 @@ + + + + 0 0 0 0 0 0 + true + + + + + 1.0 1.0 1.0 + meshes/queen.dae + + + + + + + 1.0 1.0 1.0 + meshes/queen.stl + + + + + + diff --git a/world/chess/models/queen/model.sdf.md5 b/world/chess/models/queen/model.sdf.md5 new file mode 100644 index 0000000..3d7f7d5 --- /dev/null +++ b/world/chess/models/queen/model.sdf.md5 @@ -0,0 +1 @@ +aefef21e3852e15123ff8f1b41c5ba42 \ No newline at end of file diff --git a/world/chess/models/rook/meshes/rook.dae b/world/chess/models/rook/meshes/rook.dae new file mode 100644 index 0000000..bb4b1a6 --- /dev/null +++ b/world/chess/models/rook/meshes/rook.dae @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:25ec771371c1c8b72c8efbe0c6ac09fd3a93f19a53d96e855cd44ec1ef4af3a5 +size 295200 diff --git a/world/chess/models/rook/meshes/rook.stl b/world/chess/models/rook/meshes/rook.stl new file mode 100644 index 0000000..8a560fb --- /dev/null +++ b/world/chess/models/rook/meshes/rook.stl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7aa21b7fd27e38a7f7b4c58162af2f45254a326273ff8140cf0ed0686be6ec3 +size 109484 diff --git a/world/chess/models/rook/model.config b/world/chess/models/rook/model.config new file mode 100644 index 0000000..baf0018 --- /dev/null +++ b/world/chess/models/rook/model.config @@ -0,0 +1,16 @@ + + + + rook + 1.0 + model.sdf + + + brothermechanic + brothermechanic@yandex.com + + + + rook + + diff --git a/world/chess/models/rook/model.sdf b/world/chess/models/rook/model.sdf new file mode 100644 index 0000000..15c9bba --- /dev/null +++ b/world/chess/models/rook/model.sdf @@ -0,0 +1,25 @@ + + + + 0 0 0 0 0 0 + true + + + + + 1.0 1.0 1.0 + meshes/rook.dae + + + + + + + 1.0 1.0 1.0 + meshes/rook.stl + + + + + + diff --git a/world/chess/models/rook/model.sdf.md5 b/world/chess/models/rook/model.sdf.md5 new file mode 100644 index 0000000..a387dac --- /dev/null +++ b/world/chess/models/rook/model.sdf.md5 @@ -0,0 +1 @@ +f97ed56a43b6aed8cc3852033e3637fc \ No newline at end of file diff --git a/world/chess/world.json b/world/chess/world.json new file mode 100644 index 0000000..40df58d --- /dev/null +++ b/world/chess/world.json @@ -0,0 +1,228 @@ +{ + "models": [ + { + "name": "bishop", + "id": "b1c8392466ab2f17e27eaa5e6d79f4be", + "path": "models/bishop/model.sdf" + }, + { + "name": "queen", + "id": "aefef21e3852e15123ff8f1b41c5ba42", + "path": "models/queen/model.sdf" + }, + { + "name": "board", + "id": "abb14cd4eb3d527058fdf2ef14f4a42e", + "path": "models/board/model.sdf" + }, + { + "name": "king", + "id": "33d4dba334fe520f39599530b1387022", + "path": "models/king/model.sdf" + }, + { + "name": "rook", + "id": "f97ed56a43b6aed8cc3852033e3637fc", + "path": "models/rook/model.sdf" + }, + { + "name": "knight", + "id": "903f17bcd344d157f25839d84982c8b3", + "path": "models/knight/model.sdf" + }, + { + "name": "pawn", + "id": "f4a50d3e17ec15de20861224ef13f176", + "path": "models/pawn/model.sdf" + } + ], + "instances": [ + { + "model_name": "bishop", + "model_id": "b1c8392466ab2f17e27eaa5e6d79f4be", + "id": "", + "pose": { + "x": -0.005, + "y": 0.126, + "z": 0.016, + "roll": 97.716, + "pitch": 36.118, + "yaw": 4.566 + }, + "scale": 1.0, + "type": "asset", + "parent": "world" + }, + { + "model_name": "king", + "model_id": "33d4dba334fe520f39599530b1387022", + "id": "", + "pose": { + "x": 0.128, + "y": 0.246, + "z": 0.0, + "roll": 0.0, + "pitch": 0.0, + "yaw": -85.533 + }, + "scale": 1.0, + "type": "asset", + "parent": "world" + }, + { + "model_name": "knight", + "model_id": "903f17bcd344d157f25839d84982c8b3", + "id": "", + "pose": { + "x": 0.457, + "y": 0.101, + "z": 0.0, + "roll": 0.0, + "pitch": 0.0, + "yaw": -202.478 + }, + "scale": 1.0, + "type": "asset", + "parent": "world" + }, + { + "model_name": "pawn", + "model_id": "f4a50d3e17ec15de20861224ef13f176", + "id": "", + "pose": { + "x": 0.372, + "y": -0.126, + "z": -0.0, + "roll": 0.0, + "pitch": 0.0, + "yaw": 259.161 + }, + "scale": 1.0, + "type": "asset", + "parent": "world" + }, + { + "model_name": "queen", + "model_id": "aefef21e3852e15123ff8f1b41c5ba42", + "id": "", + "pose": { + "x": 0.214, + "y": -0.141, + "z": 0.018, + "roll": 97.377, + "pitch": -38.194, + "yaw": -220.986 + }, + "scale": 1.0, + "type": "asset", + "parent": "world" + }, + { + "model_name": "rook", + "model_id": "f97ed56a43b6aed8cc3852033e3637fc", + "id": "", + "pose": { + "x": 0.293, + "y": 0.023, + "z": 0.014, + "roll": -95.336, + "pitch": -61.59, + "yaw": 68.278 + }, + "scale": 1.0, + "type": "asset", + "parent": "world" + }, + { + "model_name": "board", + "model_id": "abb14cd4eb3d527058fdf2ef14f4a42e", + "id": "", + "pose": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "roll": 0.0, + "pitch": -0.0, + "yaw": 0.0 + }, + "scale": 1.0, + "type": "asset", + "parent": "world" + }, + { + "model_name": "", + "model_id": "", + "id": "", + "pose": { + "x": 0.0, + "y": -0.0, + "z": 0.384, + "roll": 0.0, + "pitch": -28.926, + "yaw": -0.0 + }, + "scale": 1.0, + "type": "light", + "light_type": "directional", + "intencity": 2.0, + "diffuse": [ + 1.0, + 1.0, + 0.5 + ] + }, + { + "model_name": "", + "model_id": "", + "id": "", + "pose": { + "x": 0.426, + "y": -0.0, + "z": 0.147, + "roll": 0.0, + "pitch": 0.0, + "yaw": 0.0 + }, + "scale": 1.0, + "type": "light", + "light_type": "point", + "intencity": 1.0, + "diffuse": [ + 0.5, + 0.5, + 1.0 + ] + }, + { + "model_name": "", + "model_id": "", + "id": "", + "pose": { + "x": 0.228, + "y": 0.024, + "z": 0.581, + "roll": 0.0, + "pitch": 0.0, + "yaw": 0.0 + }, + "scale": 1.0, + "type": "light", + "light_type": "spot", + "spot_angle": 40.0, + "intencity": 10.0, + "diffuse": [ + 1.0, + 1.0, + 1.0 + ] + } + ], + "physics": { + "engine_name": "BULLET", + "gravity": { + "x": 0.0, + "y": 0.0, + "z": -9.81 + } + } +} \ No newline at end of file