forked from enriccorona/MEL-database
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPhysical_properties_for_each_model_and_vertex_vectors.mel
95 lines (61 loc) · 7.55 KB
/
Physical_properties_for_each_model_and_vertex_vectors.mel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
// - Punts meitat: -
------------ Jeans1 -------------
int $vertics_Jeans1[] = {487,71,701,763,477,515,937,948,1024,1019,682,726,713,674,590,592,721,499,723,722,479,474,451,508,452,506,465,599,457,463,749,669,712,620,454,678,692,603,614,555,600,570,540,560,538,622,611,553,644,626,551,579,609,632,629,584,605,585,602,587,660,636,589,557,577,581,574,536,534,568,594,543,625,572,563,582,558,546,617,619,548,566,578,544,596};
------------ Jeans2 -------------
// Preset heavyDenim
// Sense reduir
int $vertics_Jeans2[] = {5871,5821,5811,5849,5823,5866,5809,5815,5892,7162,7167,6209,6214,6219,6226,6195,6199,6203,6206,6237,6231,6256,6143,6129,6137,6191,6153,6254,6159,6168,6171,6246,6178,6179,6243,6189,5309,5301,5501,5415,5505,5422,5511,5272,5287,5388,5390,5264,5229,5392,5263,5037,5155,4967,8175,8180,8155,5026,5413,5339,5441,5384,5446,5862,5066,5319,5433,5136,5430,5380,5460,5351,5165,4990,5150,5180,5222,5376,5463,5425,6007,5968,5977,5541,5018,5354,5629,4945,5641,6079,5650,5492,5706,5690,8201,8154,8169,8145,5050};
// Reduint:
int $vertics_Jeans2[] = {3014,3094,3114,3126,3413,3406,3420,3429,3401,3446,3373,3869,3451,3363,3462,3339,3340,3438,3392,2706,2503,2510,2715,2586,2644,2647,2621,2490,2496,2615,3944,3960,3936,2911,2463,2300,2297,2595,2328,2323,2316,2584,2424,2665,3134,2191,2743,2163,2185};
------------ T_Shirt -------------
//Amb 75% de reducció, i component to component (Si fa falta eliminar part del coll): Meitat
//Preset: tshirt
//PHYSICAL PROPERTY: damp = 0.8 // Si sembla poc elàstic, baixar una mica aquest valor
int $vertics_T_Shirt[] = {738,926,290,1110,929,932,1322,729,366,1227,399,1269,385,728,354,735,1180,760,1299,1300,1263,360,1043,1751,861,1757,1753,1105,1074,1202,757,369,762,370,1188,1167,1815,89,1024,1090,83,1515,1481,1550,454,1505,443,718,940,19,938,183,15,1853,1988,2123,2190,673,2188,2171,2137,639,2161,884,539,1966,591,939,788,441,1384,1927,589,1903,16,900,898,2244,1940,1921,2078,2116,2271,644,888,1935,1444,1458,459,1457,1496,1879,1893,1896,197,576,2265,2081,2253,572,2239,606,2145,2185,646,907,2194,674,109,1478,1380,2221,676,330,1295,167,1755,93,1432,77,435,1420};
------------ T_shirt_male_obj -------------
int $vertics_T_shirt_male_obj[] = {492,830,799,740,682,872,1064,31,956,155,147,219,5,423,895,57,865,1013,137,27,143,907,146,1069,161,838,1062,870,869,678,672,738,783,169,539,827,486,480,753,81,841,263,323,995,958,293,296,959,610,299,646,649,381,387,371,1004,585,217,185,68,978,653,611,656,590,390,818,476,1024,810,790,711,714,695,931,349,280,91,222,935,229,759,213,792,774,1030,469,476,794,1039,55,52,722,0,455,51,479,356,595,2121,952,1068};
------------ T_shirt_long_sleeve -------------
//Amb 98% de reducció: //Falten manigues perquè hi ha problema en simulació : Meitat
int $vertics_T_shirt_long_sleeve[] = {490,802,1017,1319,1661,1950,2351,2619,2591,2557,2525,2459,2072,1616,623,860,1123,1571,1889,2329,2051,1679,1325,980,797,556,521,513,812,1125,1323,1680,1996,1904,1641,1347,1167,935,859,1101,1285,1711,2131,2236,1984,1630,1429,1005,1204,850,751,626,692,551,659,746,701,520,883,1159,1605,1713,1963,2093,1381,1139,1006,1152,1689,1744,1841,1702,1477,1179,1097,1565,1735,2017,1767,1161,881,778,1074,1532,1678,1994,2460,2052,1825,1547,1211,902,875,1206,1633,1828,2025,844,1046,1329,1620,1785,1971,2092,1698,1235,1316,968,1066,804,672,734,958,1230,1736,2115,2241,1886,1466,1114,705,964,1188,1599,1885,2364,580,667};
------------ T_shirt_1e -------------
int $vertics_T_Shirt_1e[] = {13,1059,1064,1080,233,627,912,991,983,56,202,979,909,563,176,508,35,289,10,522,82,186,92,543,1034,483,858,60,939,943,587,47,170,180,188,549,264,39,1031,541,878,504,865,59,137,3,284,304,12,333,481,855};
------------ Sock -------------
//Original Sock: Meitat
// Preset of: silk
int $vertics_Sock[] = {3,28,27,41,42,2,13,195,188,71,85,146,156,82,68,192,187,56,51,16,149,150,309,273,272,30,97,63,23,257,143,307,21,48,246,297,9,81,101,306,46,61,92,219,173,258,234,212};
------------ Jumper1 -------------
//Amb Combine i 97% de reducció: Meitat
int $vertics_Jumper1[] = {2059,399,28,407,452,444,803,4894,3803,4898,3800,486,474,801,458,439,454,500,483,465,466,488,504,493,490,418,479,480,462,415,884,919,917,940,936,939,930,912,911,895,4642,2381,2370,2362,2469,2358,2384,2896,2654,2883,2890,813,2847,2843,2833,2880,969,2935,2078,4585,4607,2028,2043,2072,2076,2061,2003,4192,4155,4134,2809,937,978,2317,2319};
------------ Jumper2 -------------
//Amb Combine i 94% de reducció: Meitat
int $vertics_Jumper2[] = {4266,4492,7236,7221,7209,7195,7187,4223,4220,4210,7108,7085,4204,4198,4825,4858,4255,4232,4300,4305,4239,4212,4243,4222,4234,3775,3734,3770,4214,7379,7596,5001,7573,7624,7586,7645,4246,4250,4845,4847,5975,4233,6276,4213,4183,4227,4900,6269,6011,5977,6008,6035,6307,6315,6491,6363,6308,6725,6785,6887,6867,6020,6073,6074,6001,6064,5980,4872,4892,6041,5037,4934,4949,5048,5015,4956,5053,3780,4930,4944,4955,5047,4843,7077,4655};
------------ Jumper3 -------------
//Original
int $vertics_Jumper3[] = {126,123,1144,1145,1149,1155,1165,1170,1169,1172,1142,1153,1351,1289,1180,1285,1304,1296,1133,1164,1174,1175,896,379,516,928,229,1068,488,74,738,346,340,329,597,84,1345,631,769,82,732,88,1270,98,778,748,806,801,818,802,814,812,0,120,78,621,1199,694,105,569,12,7,807,15,69,564,54,52,703,47,600,135,131,717,761,766,756,61,700,575,889,560,730,764,137,4,42,168,1016,190,454,1064,943,855,390,325,281,177,459,1058,939,858,850,316,318,843,398,870,429,1082,994,305,384,268,272,249,442,1125,186,164,31,160,28,1044,435,231,893};
------------ Jumper_5e -------------
//Original
int $vertics_Jumper_5e[] = {721,714,708,664,756,775,819,657,911,798,800,913,880,660,1130,762,802,704,737,731,613,746,742,739,692,771,615,687,611,769,786,826,617,811,831,621,628,1135,1136,1163,1204,1158,903,1213,848,1172,1247,1234,1195,1191,885,873,864,944,898,925,945,985,960,958,919,965,1021,1017,994,990,1053,1047,1058,1025,1013,821,765,768,896,866,887,679,1323};
------------ Carpet1 -------------
//Original
//Material: silk
int $vertics_Carpet1[] = {2,2490,2468,2405,2394,2171,2160,2130,2119,2115,2126,2156,2167,2390,2401,2464,2488,2496,2097,2105,2138,2146,2372,2380,2455,2476,2480,2034,2051,2069,2086,2345,2362,2422,2443,2447,2026,2043,2061,2078,2337,2354,2414,2432,2436,1926,1943,1997,2014,2225,2242,2302,2323,2327,1918,1935,1989,2006,2217,2234,2294,2312,2316,1891,1908,1962,1979,2190,2207,2261,2282,2286,1883,1900,1954,1971,2182,2199,2253,2271,2275};
//int $vertics_Carpet1[] = {2,2429,2290,1860,1698,3,1557,1598,1763,2196,2335,2387,2132,2047,1913,1470,1323,1286,414,453,597,871,1136,1236,124,161,316,745,992,1092,1,934,651,224,62,0};
------------ Carpet2 -------------
//Original: Polygon plane de 40x0x20 de 25 Subdivisions Width x 18 Subdivisions height
// Material: silk
int $vertics_Carpet2[] = {20,502,15,708,1554,718,1559,517,25,728,259,929,254,919,249,1167,1779,1177,1784,1187,493,1388,488,1378,483,1368,1774,909,1549,1430};
------------ Carpet2 -------------
//Original: Polygon plane de 40x0x20 de 25 Subdivisions Width x 18 Subdivisions height
// Material: silk
int $vertics_Carpet3[] = {117,882,627,372,108,112,367,362,622,617,877,872,1127,1132,1137,122,377,632,887,1142,127,382,637,892,1147,1402,1397,1392,1387,1382,1377,1122,867,612,357,102};
------------ Carpet2 -------------
//Original: Polygon plane de 40x0x20 de 25 Subdivisions Width x 18 Subdivisions height
// Material: silk
int $vertics_Carpet4[] = {152,146,139,133,128,434,740,1046,1352,1307,1314,1008,1001,695,389,395,702,402,708,964,1320,1172,662};
-----------------------------------
// PER VISUALITZAR EN MAYA TOTS ELS PUNTS:
$instruction = "";
for ($i=0;$i<size($vertics_Jeans1);$i++){
$instruction = $cloth+".vtx[" +$vertics_Jeans1[$i]+"]";
select -tgl $instruction;
}