123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733 |
- #ifndef HOUSE_MODEL_H
- #define HOUSE_MODEL_H
- #define HOUSE_VERTEX_COUNT 127
- const S3L_Unit houseVertices[HOUSE_VERTEX_COUNT * 3] = {
- 1809, 657, -687,
- 1635, -291, -914,
- 1635, -309, -632,
- 1473, 657, -1113,
- 1809, 657, -1113,
- 2070, 661, -1396,
- 1659, 657, -687,
- 1659, 657, 1039,
- 1563, 142, -217,
- 1563, 138, 582,
- 1489, -270, -632,
- 188, 733, -1473,
- 1354, -245, -914,
- 1473, 657, -910,
- 1354, -206, -729,
- 1240, 2205, 176,
- 68, 2107, 176,
- 1530, -1123, -636,
- 1313, -1123, -765,
- 1313, -1123, -1005,
- 1644, -1123, -1005,
- 1644, -1123, -636,
- 602, -251, -728,
- 637, 374, -882,
- 539, -1118, -936,
- 637, 372, -1124,
- 539, -1123, -768,
- 464, 190, -1109,
- 372, -1119, -948,
- 464, 192, -845,
- 372, -1123, -748,
- 1312, 142, -217,
- 1489, -248, -204,
- 1312, -534, -171,
- 1312, -533, 521,
- 1312, 138, 582,
- 1508, -534, -171,
- 1508, -533, 521,
- 1530, -1123, 988,
- -1672, 657, -687,
- -1498, -315, -914,
- -1672, 657, -1113,
- -1336, 657, -1113,
- -1909, 681, -1429,
- -1352, -251, -632,
- -1498, -315, -632,
- -1426, 146, 494,
- -1323, -347, 999,
- -1352, -247, 503,
- -1221, -305, -914,
- -1336, 657, -910,
- -2446, 2327, 278,
- -1872, 681, 1713,
- -1393, -1123, -636,
- -1176, -1123, -765,
- -1221, -284, -729,
- -1176, -1123, -961,
- -1527, -1123, -636,
- -443, -251, -728,
- -477, 343, -882,
- -402, -1118, -936,
- -402, -1123, -768,
- -304, 160, -1109,
- -477, 341, -1124,
- -235, -1119, -948,
- -304, 162, -845,
- -1672, 657, 1039,
- -1175, 146, -142,
- -1175, -645, -145,
- -1352, -247, -151,
- -1426, 146, -142,
- -1371, -645, -145,
- -1523, 657, 1039,
- 1809, 657, 1039,
- 1635, -251, 1266,
- 1809, 628, 1466,
- 2450, 2567, 227,
- -1336, 657, 1262,
- 247, 714, 1527,
- 1473, 657, 1262,
- 1473, 657, 1466,
- 2042, 591, 1653,
- 1635, -219, 984,
- 1373, -213, 1266,
- -1103, 2205, 176,
- -1286, 1892, -143,
- 1489, -219, 984,
- 1313, -1123, 1117,
- 1373, -213, 1081,
- 1313, -1123, 1313,
- 1644, -1123, 988,
- 1489, -248, 555,
- -1468, -347, 1266,
- -1468, -347, 999,
- -1336, 657, 1466,
- -1672, 657, 1466,
- -1175, 146, 494,
- -1523, 657, -687,
- -1222, -347, 1266,
- -1222, -347, 1081,
- -1393, -1123, 988,
- -1176, -1123, 1117,
- -1176, -1123, 1313,
- -1507, -1123, 1313,
- -1507, -1123, 988,
- -1371, -645, 497,
- -1175, -645, 497,
- -235, -1123, -748,
- -1442, 2357, -538,
- -1405, 1712, -323,
- -1589, 1878, -170,
- -1257, 2383, -200,
- -1712, 2416, -224,
- -1527, -1123, -961,
- 1644, -1123, 1313,
- -1636, 657, -930,
- -1636, 657, -930,
- -1672, 657, 1466,
- 1773, 657, -930,
- 1773, 657, -930,
- 1809, 657, 1466,
- -1636, 657, 1282,
- -1636, 657, 1282,
- -1672, 657, -1113,
- 1773, 657, 1282,
- 1773, 657, 1282,
- 1809, 657, -1113
- };
- #define HOUSE_TRIANGLE_COUNT 200
- const S3L_Index houseTriangleIndices[HOUSE_TRIANGLE_COUNT * 3] = {
- 0, 1, 2,
- 3, 1, 4,
- 3, 4, 5,
- 0, 5, 4,
- 2, 6, 0,
- 7, 8, 9,
- 6, 10, 8,
- 11, 3, 5,
- 12, 13, 14,
- 15, 16, 11,
- 2, 17, 10,
- 12, 18, 19,
- 1, 19, 20,
- 1, 21, 2,
- 22, 18, 14,
- 23, 14, 13,
- 24, 23, 25,
- 26, 22, 23,
- 24, 27, 28,
- 28, 29, 30,
- 31, 32, 33,
- 32, 31, 8,
- 31, 34, 35,
- 36, 33, 32,
- 37, 17, 38,
- 17, 36, 10,
- 39, 40, 41,
- 40, 42, 41,
- 42, 43, 41,
- 39, 41, 43,
- 39, 44, 45,
- 46, 47, 48,
- 11, 43, 42,
- 49, 50, 42,
- 51, 52, 43,
- 53, 45, 44,
- 49, 54, 55,
- 40, 56, 49,
- 57, 40, 45,
- 54, 58, 55,
- 55, 59, 50,
- 60, 59, 61,
- 61, 59, 58,
- 60, 62, 63,
- 64, 65, 62,
- 43, 66, 39,
- 67, 68, 69,
- 69, 70, 67,
- 71, 69, 68,
- 72, 47, 46,
- 73, 74, 75,
- 15, 5, 76,
- 77, 78, 79,
- 74, 80, 75,
- 80, 81, 75,
- 73, 75, 81,
- 7, 82, 73,
- 0, 7, 73,
- 10, 32, 8,
- 78, 81, 80,
- 83, 79, 80,
- 16, 84, 85,
- 15, 78, 16,
- 38, 82, 86,
- 83, 87, 88,
- 74, 89, 83,
- 90, 74, 82,
- 35, 34, 91,
- 91, 9, 35,
- 8, 35, 9,
- 37, 91, 34,
- 33, 37, 34,
- 10, 36, 32,
- 66, 92, 93,
- 84, 52, 51,
- 94, 78, 77,
- 94, 92, 95,
- 94, 95, 52,
- 66, 52, 95,
- 93, 72, 66,
- 96, 68, 67,
- 97, 70, 44,
- 78, 94, 52,
- 98, 77, 99,
- 15, 81, 78,
- 84, 16, 78,
- 70, 72, 46,
- 93, 100, 47,
- 98, 101, 102,
- 98, 103, 92,
- 92, 104, 93,
- 99, 87, 101,
- 77, 88, 99,
- 105, 53, 71,
- 96, 48, 106,
- 48, 96, 46,
- 106, 71, 68,
- 105, 106, 48,
- 46, 67, 70,
- 70, 69, 44,
- 66, 97, 39,
- 81, 0, 73,
- 76, 5, 81,
- 30, 65, 107,
- 27, 65, 29,
- 27, 63, 62,
- 59, 25, 23,
- 23, 50, 59,
- 11, 50, 13,
- 3, 11, 13,
- 11, 42, 50,
- 7, 9, 86,
- 86, 9, 91,
- 86, 91, 37,
- 38, 86, 37,
- 105, 48, 47,
- 47, 100, 105,
- 71, 44, 69,
- 44, 71, 53,
- 85, 108, 109,
- 108, 110, 109,
- 110, 111, 85,
- 112, 108, 111,
- 43, 110, 51,
- 109, 110, 43,
- 11, 16, 85,
- 109, 11, 85,
- 109, 43, 11,
- 85, 84, 110,
- 84, 51, 110,
- 78, 80, 79,
- 0, 4, 1,
- 3, 12, 1,
- 2, 10, 6,
- 7, 6, 8,
- 12, 3, 13,
- 2, 21, 17,
- 12, 14, 18,
- 1, 12, 19,
- 1, 20, 21,
- 22, 26, 18,
- 23, 22, 14,
- 24, 26, 23,
- 24, 25, 27,
- 28, 27, 29,
- 31, 33, 34,
- 37, 36, 17,
- 39, 45, 40,
- 40, 49, 42,
- 39, 97, 44,
- 49, 55, 50,
- 53, 57, 45,
- 49, 56, 54,
- 40, 113, 56,
- 57, 113, 40,
- 54, 61, 58,
- 55, 58, 59,
- 60, 63, 59,
- 60, 64, 62,
- 64, 107, 65,
- 43, 52, 66,
- 73, 82, 74,
- 15, 11, 5,
- 74, 83, 80,
- 7, 86, 82,
- 0, 6, 7,
- 83, 88, 79,
- 38, 90, 82,
- 83, 89, 87,
- 74, 114, 89,
- 90, 114, 74,
- 8, 31, 35,
- 33, 36, 37,
- 66, 95, 92,
- 84, 78, 52,
- 94, 98, 92,
- 93, 47, 72,
- 96, 106, 68,
- 98, 94, 77,
- 15, 76, 81,
- 70, 97, 72,
- 93, 104, 100,
- 98, 99, 101,
- 98, 102, 103,
- 92, 103, 104,
- 99, 88, 87,
- 77, 79, 88,
- 105, 100, 53,
- 106, 105, 71,
- 46, 96, 67,
- 66, 72, 97,
- 81, 5, 0,
- 30, 29, 65,
- 27, 62, 65,
- 27, 25, 63,
- 59, 63, 25,
- 23, 13, 50,
- 85, 111, 108,
- 108, 112, 110,
- 110, 112, 111
- };
- #define HOUSE_UV_COUNT 173
- const S3L_Unit houseUVs[HOUSE_UV_COUNT * 2] = {
- 279, 174,
- 166, 140,
- 166, 174,
- 279, 106,
- 279, 140,
- 281, 238,
- 307, 238,
- 327, 260,
- 307, 206,
- 279, 204,
- 484, 15,
- 393, 53,
- 447, 53,
- 355, 15,
- 360, 83,
- 183, 266,
- 166, 106,
- 279, 74,
- 166, 74,
- 263, 397,
- 203, 397,
- 203, 505,
- 68, 204,
- 166, 204,
- 68, 74,
- 68, 106,
- 68, 140,
- 68, 174,
- 454, 338,
- 494, 392,
- 496, 335,
- 451, 298,
- 504, 280,
- 440, 382,
- 445, 304,
- 445, 392,
- 436, 314,
- 431, 382,
- 432, 318,
- 428, 373,
- 399, 58,
- 392, 82,
- 401, 102,
- 439, 102,
- 441, 58,
- 395, 107,
- 444, 107,
- 359, 147,
- 480, 147,
- 279, 106,
- 166, 140,
- 279, 140,
- 279, 174,
- 66, 238,
- 22, 263,
- 41, 238,
- 41, 206,
- 166, 74,
- 166, 106,
- 447, 53,
- 480, 85,
- 448, 82,
- 166, 174,
- 279, 204,
- 86, 397,
- 0, 449,
- 86, 505,
- 68, 74,
- 68, 204,
- 166, 204,
- 68, 174,
- 68, 106,
- 337, 392,
- 378, 338,
- 334, 340,
- 381, 300,
- 327, 280,
- 391, 382,
- 385, 392,
- 396, 315,
- 387, 306,
- 399, 382,
- 400, 319,
- 41, 74,
- 399, 58,
- 401, 102,
- 392, 82,
- 393, 53,
- 395, 107,
- 484, 15,
- 279, 106,
- 166, 140,
- 279, 140,
- 314, 505,
- 314, 397,
- 66, 57,
- 187, 36,
- 281, 57,
- 279, 174,
- 281, 41,
- 325, 27,
- 307, 41,
- 307, 74,
- 279, 74,
- 166, 106,
- 295, 74,
- 166, 174,
- 279, 204,
- 144, 397,
- 136, 420,
- 203, 291,
- 68, 74,
- 166, 74,
- 68, 204,
- 166, 204,
- 68, 174,
- 68, 106,
- 448, 82,
- 279, 174,
- 166, 140,
- 166, 174,
- 86, 291,
- 66, 41,
- 279, 106,
- 279, 140,
- 41, 41,
- 25, 22,
- 279, 204,
- 441, 58,
- 355, 15,
- 360, 83,
- 166, 106,
- 279, 74,
- 166, 74,
- 314, 291,
- 68, 204,
- 166, 204,
- 68, 74,
- 68, 106,
- 68, 140,
- 68, 174,
- 495, 218,
- 345, 264,
- 492, 264,
- 502, 158,
- 342, 210,
- 444, 107,
- 359, 147,
- 439, 102,
- 52, 206,
- 402, 449,
- 403, 373,
- 66, 223,
- 281, 223,
- 480, 85,
- 480, 147,
- 492, 407,
- 425, 437,
- 492, 437,
- 492, 467,
- 425, 500,
- 492, 500,
- 425, 467,
- 398, 484,
- 121, 423,
- 131, 433,
- 279, 74,
- 68, 140,
- 295, 206,
- 68, 140,
- 336, 158,
- 52, 74,
- 425, 407
- };
- #define HOUSE_UV_INDEX_COUNT 200
- const S3L_Index houseUVIndices[HOUSE_UV_INDEX_COUNT * 3] = {
- 0, 1, 2,
- 3, 1, 4,
- 5, 6, 7,
- 8, 7, 6,
- 2, 9, 0,
- 10, 11, 12,
- 13, 14, 11,
- 15, 5, 7,
- 16, 17, 18,
- 19, 20, 21,
- 2, 22, 23,
- 16, 24, 25,
- 1, 25, 26,
- 1, 27, 2,
- 28, 29, 30,
- 31, 30, 32,
- 33, 31, 34,
- 35, 28, 31,
- 33, 36, 37,
- 37, 38, 39,
- 40, 41, 42,
- 41, 40, 11,
- 40, 43, 44,
- 45, 42, 41,
- 46, 47, 48,
- 47, 45, 14,
- 49, 50, 51,
- 50, 52, 51,
- 53, 54, 55,
- 56, 55, 54,
- 49, 57, 58,
- 59, 60, 61,
- 15, 54, 53,
- 62, 63, 52,
- 64, 65, 66,
- 67, 58, 57,
- 62, 68, 69,
- 50, 70, 62,
- 71, 50, 58,
- 72, 73, 74,
- 74, 75, 76,
- 77, 75, 78,
- 78, 75, 73,
- 77, 79, 80,
- 81, 82, 79,
- 54, 83, 56,
- 84, 85, 86,
- 86, 87, 84,
- 88, 86, 85,
- 89, 60, 59,
- 90, 91, 92,
- 19, 93, 94,
- 95, 96, 97,
- 91, 98, 92,
- 99, 100, 101,
- 102, 101, 100,
- 103, 104, 90,
- 8, 105, 102,
- 14, 41, 11,
- 96, 100, 99,
- 106, 107, 98,
- 20, 108, 109,
- 19, 110, 20,
- 111, 104, 112,
- 106, 113, 114,
- 91, 115, 106,
- 116, 91, 104,
- 44, 43, 117,
- 117, 12, 44,
- 11, 44, 12,
- 46, 117, 43,
- 42, 46, 43,
- 14, 45, 41,
- 118, 119, 120,
- 108, 121, 64,
- 122, 96, 95,
- 123, 119, 124,
- 122, 125, 126,
- 83, 126, 125,
- 120, 127, 118,
- 128, 85, 84,
- 129, 87, 130,
- 96, 122, 126,
- 131, 132, 133,
- 19, 134, 110,
- 108, 20, 110,
- 87, 89, 59,
- 120, 135, 136,
- 131, 137, 138,
- 131, 139, 119,
- 119, 140, 120,
- 141, 142, 143,
- 144, 145, 141,
- 146, 147, 88,
- 128, 61, 148,
- 61, 128, 59,
- 148, 88, 85,
- 146, 148, 61,
- 59, 84, 87,
- 87, 86, 130,
- 83, 149, 56,
- 100, 8, 102,
- 94, 93, 150,
- 39, 82, 151,
- 36, 82, 38,
- 36, 80, 79,
- 75, 34, 31,
- 31, 76, 75,
- 15, 152, 153,
- 5, 15, 153,
- 15, 53, 152,
- 10, 12, 154,
- 154, 12, 117,
- 154, 117, 46,
- 48, 154, 46,
- 146, 61, 60,
- 60, 155, 146,
- 88, 130, 86,
- 130, 88, 147,
- 156, 157, 158,
- 157, 159, 158,
- 159, 160, 161,
- 162, 163, 160,
- 66, 164, 64,
- 165, 164, 66,
- 21, 20, 109,
- 165, 21, 109,
- 165, 66, 21,
- 109, 108, 164,
- 108, 64, 164,
- 96, 99, 97,
- 0, 4, 1,
- 3, 16, 1,
- 2, 23, 9,
- 10, 13, 11,
- 16, 3, 17,
- 2, 27, 22,
- 16, 18, 24,
- 1, 16, 25,
- 1, 26, 27,
- 28, 35, 29,
- 31, 28, 30,
- 33, 35, 31,
- 33, 34, 36,
- 37, 36, 38,
- 40, 42, 43,
- 46, 45, 47,
- 49, 58, 50,
- 50, 62, 52,
- 49, 166, 57,
- 62, 69, 63,
- 67, 71, 58,
- 62, 70, 68,
- 50, 167, 70,
- 71, 167, 50,
- 72, 78, 73,
- 74, 73, 75,
- 77, 80, 75,
- 77, 81, 79,
- 81, 151, 82,
- 54, 126, 83,
- 90, 104, 91,
- 19, 21, 93,
- 91, 106, 98,
- 103, 112, 104,
- 8, 168, 105,
- 106, 114, 107,
- 111, 116, 104,
- 106, 115, 113,
- 91, 169, 115,
- 116, 169, 91,
- 11, 40, 44,
- 42, 45, 46,
- 118, 124, 119,
- 108, 110, 121,
- 123, 131, 119,
- 120, 136, 127,
- 128, 148, 85,
- 131, 123, 132,
- 19, 94, 134,
- 87, 129, 89,
- 120, 140, 135,
- 131, 133, 137,
- 131, 138, 139,
- 119, 139, 140,
- 141, 145, 142,
- 144, 170, 145,
- 146, 155, 147,
- 148, 146, 88,
- 59, 128, 84,
- 83, 171, 149,
- 100, 7, 8,
- 39, 38, 82,
- 36, 79, 82,
- 36, 34, 80,
- 75, 80, 34,
- 31, 32, 76,
- 156, 172, 157,
- 157, 162, 159,
- 159, 162, 160
- };
- S3L_Model3D houseModel;
- void houseModelInit()
- {
- S3L_initModel3D(
- houseVertices,
- HOUSE_VERTEX_COUNT,
- houseTriangleIndices,
- HOUSE_TRIANGLE_COUNT,
- &houseModel);
- }
- #endif
|