Commit b5de7e61 authored by Danny Baumann's avatar Danny Baumann

Revert "Initial C++ port"

This reverts commit 80e29d8e.
parent 0647979e
......@@ -13,7 +13,7 @@
<plugin>cube</plugin>
</requirement>
</deps>
<options>
<screen>
<option name="speed_factor" type="float">
<_short>Speed factor</_short>
<_long>Multiply the speed of the fish by this factor.</_long>
......@@ -366,6 +366,6 @@
</option>
</subgroup>
</group>
</options>
</screen>
</plugin>
</compiz>
find_package (Compiz REQUIRED)
include (CompizFusion)
include (CompizPlugin)
compiz_plugin (atlantis PLUGINDEPS opengl composite cube)
compiz_fusion_plugin (atlantis PLUGINDEPS cube)
This diff is collapsed.
This diff is collapsed.
//points are of the form (y,z,x).
//model made using Blender and generated using script.
static GLfloat userDefined_body_shininess[] = {96.07843};
static GLfloat userDefined_body_ambient[] = {0.1430592,0.4869016,0.4869016,1.000000};
static GLfloat userDefined_body_diffuse[] = {0.1430592,0.4869016,0.4869016,1.000000};
static GLfloat userDefined_body_specular[] = {0.05,0.05,0.05,1.000000};
static GLfloat userDefined_border_shininess[] = {96.07843};
static GLfloat userDefined_border_ambient[] = {0.0476864,0.3036864,0.37396082,1.000000};
static GLfloat userDefined_border_diffuse[] = {0.0476864,0.3036864,0.37396082,1.000000};
static GLfloat userDefined_border_specular[] = {0.05,0.05,0.05,1.000000};
static const GLfloat eye_outer_shininess[] = {96.07843};
static const GLfloat eye_outer_ambient[] = {0.37145123,0.5521568,0.5998432,1.000000};
static const GLfloat eye_outer_diffuse[] = {0.37145123,0.5521568,0.5998432,1.000000};
static const GLfloat eye_outer_specular[] = {0.05,0.05,0.05,1.000000};
static GLfloat userDefined_tailfin_shininess[] = {96.07843};
static GLfloat userDefined_tailfin_ambient[] = {0.0476864,0.3036864,0.37396082,1.000000};
static GLfloat userDefined_tailfin_diffuse[] = {0.0476864,0.3036864,0.37396082,1.000000};
static GLfloat userDefined_tailfin_specular[] = {0.05,0.05,0.05,1.000000};
static GLfloat userDefined_DS_fin_shininess[] = {96.07843};
static GLfloat userDefined_DS_fin_ambient[] = {0.0476864,0.3036864,0.37396082,1.000000};
static GLfloat userDefined_DS_fin_diffuse[] = {0.0476864,0.3036864,0.37396082,1.000000};
static GLfloat userDefined_DS_fin_specular[] = {0.05,0.05,0.05,1.000000};
static const GLfloat eye_shininess[] = {96.07843};
static const GLfloat eye_ambient[] = {0.090352796,0.090352796,0.090352796,1.000000};
static const GLfloat eye_diffuse[] = {0.090352796,0.090352796,0.090352796,1.000000};
static const GLfloat eye_specular[] = {0.05,0.05,0.05,1.000000};
static float ChromisPoints[279] = {
-7456.1997, -553.896, -222.15599,
-7194.048, -272.928, -252.36,
-6931.8604, -530.124, -369.36002,
-7194.0244, -811.104, -339.156,
-7456.332, -553.896, 159.564,
-7194.228, -811.104, 276.744,
-6932.0996, -530.124, 307.128,
-7194.2036, -272.928, 189.936,
-6788.2686, -525.80396, -396.108,
-7190.388, -956.796, -349.776,
-7592.568, -562.27203, -170.304,
-7190.436, -131.28, -216.63602,
-7592.664, -562.27203, 107.616005,
-7190.616, -956.796, 287.364,
-6788.52, -525.80396, 333.96,
-7190.5684, -131.28, 154.212,
-1215.156, 3229.704, -29.171999,
-2963.5679, 3310.9438, -29.772001,
-1611.4081, 3029.976, -29.303999,
815.50806, 2412.5159, -28.476,
1975.2601, 2049.06, -28.079998,
1801.776, 2382.816, -28.14,
2853.9958, 1592.172, -27.779999,
3555.636, 2152.236, -27.552,
3921.0242, 402.252, -27.42,
3999.396, 1500.9601, -27.396,
5035.044, 2355.732, -27.047998,
5133.96, 2753.676, -27.012,
5473.512, -2654.748, -26.892,
2094.552, -2334.4922, -28.044,
1212.9961, -2836.9321, -28.344,
3187.716, -1769.3881, -27.672,
2589.564, -2017.1521, -27.876,
-3624.132, -1336.308, -1490.9401,
-4395.324, -1071.876, -1052.952,
-5469.684, -1600.728, -830.49603,
-4351.104, -2679.9841, -1433.76,
-3625.1282, -1336.308, 1430.952,
-4396.02, -1071.876, 992.43604,
-5470.224, -1600.728, 769.248,
-4352.064, -2679.9841, 1373.28,
3458.4238, -609.132, -430.81198,
3921.0242, 402.252, -27.42,
5257.8, 534.468, -26.964,
4464.612, -543.024, -298.26,
3458.1482, -609.132, 375.66,
4464.42, -543.024, 243.78001,
4185.456, -1356.084, -27.336002,
5257.8, -1356.084, -26.964,
9464.712, 1459.9559, -25.536,
5101.716, -476.916, -165.828,
5101.6196, -476.916, 111.792,
9464.712, -2281.584, -25.536,
1994.6641, -675.24, -695.736,
1975.2601, 2049.06, -28.079998,
2853.9958, 1592.172, -27.779999,
2854.152, -675.24, -497.12402,
1994.2079, -675.24, 639.588,
2853.8281, -675.24, 441.552,
2094.552, -2334.4922, -28.044,
2589.564, -2017.1521, -27.876,
-578.952, -675.24, -961.044,
-182.304, 2658.336, -28.824,
815.50806, 2412.5159, -28.476,
852.636, -675.24, -828.348,
-579.588, -675.24, 903.13196,
852.09595, -675.24, 771.40796,
184.98, -2919.168, -28.692001,
1212.9961, -2836.9321, -28.344,
-3227.628, -675.24, -1094.1599,
-2963.5679, 3310.9438, -29.772001,
-1611.4081, 3029.976, -29.303999,
-1873.812, -675.24, -1067.016,
-3228.36, -675.24, 1034.448,
-1874.52, -675.24, 1008.22797,
-2170.284, -3074.8562, -29.496,
-1527.9359, -3010.524, -29.279999,
-5469.684, -1600.728, -830.49603,
-5734.38, 2382.816, -30.707998,
-4784.916, 2700.852, -30.383999,
-4395.324, -1071.876, -1052.952,
-5470.224, -1600.728, 769.248,
-4396.02, -1071.876, 992.43604,
-5866.5957, -2543.376, -30.755999,
-4819.104, -2725.5, -30.396,
7533.4917, 212.124, -26.196001,
6021.6123, -414.07202, -26.868,
7533.4917, -901.53595, -26.196001,
-8516.448, -1204.092, -31.656,
-7238.736, 972.10803, -31.224,
-6400.692, -1556.1721, -608.124,
-6401.0884, -1556.1721, 546.24,
-7238.736, -2058.156, -31.224
};
static float ChromisNormals[279] = {
-0.273507, 0.153111, -0.949583,
-0.273507, 0.153111, -0.949583,
-0.273507, 0.153111, -0.949583,
-0.273507, 0.153111, -0.949583,
-0.274178, 0.153111, 0.9494,
-0.274178, 0.153111, 0.9494,
-0.274178, 0.153111, 0.9494,
-0.274178, 0.153111, 0.9494,
-0.273507, 0.153111, -0.949583,
-0.273507, 0.153111, -0.949583,
-0.273507, 0.153111, -0.949583,
-0.273507, 0.153111, -0.949583,
-0.274178, 0.153111, 0.9494,
-0.274178, 0.153111, 0.9494,
-0.274178, 0.153111, 0.9494,
-0.274178, 0.153111, 0.9494,
-3.36E-4, 0.0, 0.999969,
-3.36E-4, 0.0, 0.999969,
-3.36E-4, 0.0, 0.999969,
-3.36E-4, 0.0, 0.999969,
-3.36E-4, 0.0, 0.999969,
-3.36E-4, 0.0, 0.999969,
-3.36E-4, 0.0, 0.999969,
-3.36E-4, 0.0, 0.999969,
-3.36E-4, 0.0, 0.999969,
-3.36E-4, 0.0, 0.999969,
-3.36E-4, 0.0, 0.999969,
-3.36E-4, 0.0, 0.999969,
-3.36E-4, 0.0, 0.999969,
-3.36E-4, 0.0, 0.999969,
-3.36E-4, 0.0, 0.999969,
-3.36E-4, 0.0, 0.999969,
-3.36E-4, 0.0, 0.999969,
0.355724, -0.206061, 0.911557,
0.355724, -0.206061, 0.911557,
0.355724, -0.206061, 0.911557,
0.355724, -0.206061, 0.911557,
-0.356334, 0.206061, 0.911313,
-0.356334, 0.206061, 0.911313,
-0.356334, 0.206061, 0.911313,
-0.356334, 0.206061, 0.911313,
0.112796, -0.02414, -0.993316,
0.390118, 0.920743, 1.22E-4,
0.063967, 0.997925, 0.0,
0.033174, -0.026154, -0.999084,
0.112125, -0.02414, 0.993378,
0.032502, -0.026154, 0.999115,
0.295846, -0.955229, 9.2E-5,
0.13358, -0.991028, 3.1E-5,
0.865078, -0.501633, 8.24E-4,
0.053438, -0.021363, -0.998321,
0.052797, -0.021393, 0.998352,
0.998108, -0.061373, 0.001007,
0.16303, -0.060183, -0.984771,
0.490036, 0.87167, 1.53E-4,
0.62505, 0.780541, 1.83E-4,
0.188269, -0.080172, -0.97882,
0.162358, -0.060183, 0.984863,
0.187597, -0.080172, 0.978942,
0.459761, -0.888028, 1.53E-4,
0.452315, -0.891842, 1.53E-4,
0.067629, -0.06592, -0.995514,
0.280557, 0.959807, 9.2E-5,
0.325877, 0.945402, 9.2E-5,
0.099734, -0.06534, -0.992859,
0.066958, -0.06592, 0.995544,
0.099063, -0.06534, 0.99292,
0.142766, -0.989746, 3.1E-5,
0.286355, -0.958098, 9.2E-5,
-0.013642, -0.07654, -0.996948,
-0.12009, 0.992737, -3.1E-5,
0.20484, 0.978759, 6.1E-5,
0.047639, -0.066134, -0.996643,
-0.014313, -0.07654, 0.996948,
0.046937, -0.066134, 0.996704,
0.025575, -0.999664, 0.0,
0.087893, -0.996124, 0.0,
-0.15128, -0.249825, -0.956389,
-0.704093, 0.710074, -2.14E-4,
-0.531693, 0.846919, -1.53E-4,
-0.077853, -0.164678, -0.983245,
-0.151921, -0.249825, 0.956267,
-0.078524, -0.164678, 0.983184,
-0.167608, -0.985839, -3.1E-5,
0.003449, -0.999969, 0.0,
0.478042, -0.878323, 0.0,
0.967986, -0.250893, 9.16E-4,
0.47676, 0.878994, 3.1E-5,
-0.904019, -0.427442, -3.05E-4,
-0.803858, 0.594775, -2.44E-4,
-0.247505, -0.215461, -0.944609,
-0.248146, -0.215461, 0.944426,
-0.449812, -0.893094, -1.53E-4
};
static unsigned int ChromisIndices[257] = {
0, 1, 2, 3,
4, 5, 6, 7,
8, 9, 10, 11,
12, 13, 14, 15,
16, 17, 18,
18, 19, 16,
20, 21, 16, 19,
22, 23, 21, 20,
24, 25, 23, 22,
26, 27, 23, 25,
28, 29, 30,
31, 32, 29, 28,
33, 34, 35, 36,
37, 38, 39, 40,
41, 42, 43, 44,
42, 45, 46, 43,
45, 47, 48, 46,
47, 41, 44, 48,
44, 43, 49, 50,
43, 46, 51, 49,
46, 48, 52, 51,
48, 44, 50, 52,
53, 54, 55, 56,
54, 57, 58, 55,
57, 59, 60, 58,
59, 53, 56, 60,
61, 62, 63, 64,
62, 65, 66, 63,
65, 67, 68, 66,
67, 61, 64, 68,
69, 70, 71, 72,
70, 73, 74, 71,
73, 75, 76, 74,
75, 69, 72, 76,
77, 78, 79, 80,
78, 81, 82, 79,
81, 83, 84, 82,
83, 77, 80, 84,
50, 49, 85, 86,
49, 51, 86, 85,
51, 52, 87, 86,
52, 50, 86, 87,
56, 55, 42, 41,
55, 58, 45, 42,
58, 60, 47, 45,
60, 56, 41, 47,
64, 63, 54, 53,
63, 66, 57, 54,
66, 68, 59, 57,
68, 64, 53, 59,
72, 71, 62, 61,
71, 74, 65, 62,
74, 76, 67, 65,
76, 72, 61, 67,
80, 79, 70, 69,
79, 82, 73, 70,
82, 84, 75, 73,
84, 80, 69, 75,
88, 89, 90,
88, 91, 89,
88, 92, 91,
88, 90, 92,
90, 89, 78, 77,
81, 78, 89, 91,
83, 81, 91, 92,
92, 90, 77, 83
};
This diff is collapsed.
This diff is collapsed.
//points are of the form (y,z,x).
//model made using Blender and generated using script.
static float Coral2LowPoints[240] = {
-2962.252, -229.606, 340.02,
-2832.602, -89.156, 1884.1179,
-4788.964, 329.36002, 1037.892,
-2014.6599, 2072.0242, 58.107998,
-4323.904, 1969.72, 349.142,
-4436.91, 3435.854, -8.379999,
1991.418, -291.384, 12.61,
2800.026, 692.652, -864.736,
3231.9, 589.73004, 17.25,
-5152.6997, 2957.656, 803.01,
-4304.6997, 1654.7461, 2253.288,
-3261.7559, 3068.66, 2170.9841,
2318.516, 4199.266, -4298.356,
2831.45, 3441.036, -3605.164,
3641.562, 3052.706, -4497.152,
-2318.48, 5315.394, 2794.734,
-2267.262, 4833.826, 3812.656,
-2931.218, 5452.008, 4149.6978,
1785.636, 4212.188, -5160.696,
3220.326, 7772.98, -5512.468,
3016.234, 3134.2139, -1379.1521,
3686.702, 3324.356, -191.726,
-1109.244, 520.52405, 880.712,
-2102.99, 3621.71, 14.349999,
-883.644, 2803.58, 1495.542,
2314.2341, 4416.07, -570.788,
1291.62, 2987.108, -1690.6119,
955.156, 4353.652, -938.228,
-1593.162, 967.95795, -128.612,
480.782, 110.799995, -4577.2383,
-474.898, 581.33, -3243.814,
46.190002, 1619.684, -4556.42,
-785.764, 2925.344, -4778.724,
48.128002, 2886.332, -5532.34,
2344.336, 1509.5741, -4856.29,
-982.356, 5845.664, 4345.646,
474.548, 456.906, -1177.028,
-2956.5278, 1796.6699, 2879.772,
837.29, -271.028, -96.608,
65.104004, 2823.8062, -2908.4001,
1416.416, 3366.8362, -2446.2039,
1094.094, 4050.1519, -3810.914,
-2555.0361, 3995.636, 1184.74,
-1562.824, 145.75601, 1647.668,
2798.54, 782.474, -2388.958,
-2143.778, 5495.67, 4608.164,
3879.148, 8057.7563, -5233.138,
-195.56201, 3149.614, -1365.656,
836.958, -409.432, -3314.7139,
1978.108, -413.716, -3203.482,
1551.792, 744.68604, -2070.844,
3211.602, 228.18001, -3893.006,
3335.48, 8471.762, -3707.1199,
2113.858, 7077.014, -3557.472,
-850.626, 3309.45, -307.69,
521.214, 4487.1924, -72.712,
3917.294, 8346.626, -4481.098,
-365.688, 463.77, 256.734,
1959.506, 6812.7944, -4606.444,
93.224, 553.61005, -2525.77,
-2048.476, 3458.9019, 1825.804,
-1303.024, 6440.2144, 2562.368,
231.862, 3600.604, 1182.154,
-3906.034, 1051.8419, -404.98798,
1788.11, 4703.474, 162.442,
2601.718, 6701.18, -463.04602,
2294.862, 6886.79, 93.402,
2013.71, 8253.128, -3449.478,
-528.48, 6485.916, 2941.564,
-470.41, 6183.7383, 3763.834,
2325.698, 478.688, 1114.668,
3085.0898, 2923.444, -5703.218,
1416.416, 2792.386, -6175.614,
2991.242, 3558.866, 840.346,
536.832, 6886.826, 57.992,
234.446, 6686.524, -526.516,
514.112, 6455.8184, -1092.688,
1981.8359, 6391.216, -1287.3761,
1847.594, 7618.666, -4922.5103,
1393.766, 6974.6143, 335.842
};
static float Coral2LowNormals[240] = {
0.009796, -0.895749, -0.444441,
0.09769, -0.66451, 0.740837,
-0.826167, -0.551958, -0.11298,
0.354076, 0.226936, -0.907254,
-0.463301, 0.107364, -0.879635,
-0.479965, 0.618458, -0.62215,
0.269875, -0.962767, -0.013947,
0.52205, -0.487167, -0.700064,
0.863918, -0.498032, 0.074679,
-0.957884, 0.186224, 0.218482,
-0.626667, -0.054903, 0.777306,
0.07416, -0.271004, 0.959685,
0.975433, 0.181341, 0.124851,
0.510758, 0.554369, 0.657063,
0.974029, 0.109439, -0.198126,
-0.821986, 0.444563, -0.355876,
-0.782769, -0.317087, 0.535417,
-0.890835, -0.432875, -0.137822,
0.219092, 0.30607, -0.92642,
0.013367, -0.193304, -0.981017,
0.557146, 0.203101, -0.805139,
0.953551, 0.300119, 0.024934,
0.912107, -0.289712, -0.289956,
0.418683, 0.575915, -0.702139,
0.773217, 0.24073, 0.586627,
0.869686, 0.321604, -0.374371,
-0.003327, 0.127903, -0.99176,
-0.381848, 0.210517, -0.899899,
0.592486, -0.109836, -0.798029,
-0.341197, -0.599994, -0.723563,
-0.899014, -0.437208, 0.024415,
-0.443953, -0.333964, -0.831446,
-0.958586, 0.282968, 0.03122,
-0.572985, 0.108737, -0.812281,
0.227729, -0.536851, -0.812311,
0.518693, -0.749046, 0.412122,
-0.347056, -0.53975, -0.76693,
0.076632, -0.009339, 0.997009,
-0.255074, -0.966582, 0.024628,
-0.641591, 0.393353, 0.658467,
0.05356, 0.563768, 0.824183,
0.042421, 0.36961, 0.92819,
0.273476, 0.793664, -0.543382,
0.566363, -0.612171, 0.551744,
0.619892, -0.174688, 0.764946,
0.011963, -0.769585, 0.638417,
0.81576, -0.42497, -0.392315,
-0.578051, 0.24131, -0.779473,
-0.283944, -0.945952, 0.156529,
0.238014, -0.947844, 0.21189,
0.110874, -0.102908, 0.988464,
0.739738, -0.618275, -0.265481,
0.476577, -0.254036, 0.841609,
-0.784417, 0.254158, 0.565691,
-0.947081, 0.318644, -0.038575,
-0.843287, 0.418378, 0.337321,
0.700583, -0.265328, 0.662374,
-0.780999, -0.537889, 0.31727,
-0.744743, 0.101871, -0.659505,
-0.520157, -0.33784, 0.784387,
0.992462, 0.016968, 0.12125,
0.202368, 0.378063, -0.903348,
-0.403485, 0.36317, 0.839808,
-0.374371, -0.06946, -0.92465,
0.338816, 0.398206, 0.852382,
0.988647, -0.13068, 0.074038,
0.588702, -0.111301, 0.800623,
-0.573748, -0.122837, 0.809748,
0.763268, -0.151799, -0.627949,
0.691549, -0.653462, 0.307749,
0.308573, -0.448042, 0.839045,
0.650746, 0.031251, -0.758629,
-0.088107, -0.116062, -0.989319,
0.558702, 0.415052, 0.718009,
-0.543535, -0.04828, 0.837977,
-0.991485, -0.130009, 0.001495,
-0.6021, -0.183416, -0.777032,
0.380993, -0.202094, -0.902188,
-0.838313, -0.295969, -0.457808,
-0.019532, -0.07947, 0.996643
};
static unsigned int Coral2LowIndices[405] = {
0, 1, 2,
3, 4, 5,
6, 7, 8,
9, 10, 11,
12, 13, 14,
15, 16, 17,
12, 18, 19,
8, 7, 20,
8, 20, 21,
2, 10, 9,
9, 11, 16,
22, 23, 24,
25, 21, 20,
20, 26, 27,
27, 25, 20,
0, 28, 22,
29, 30, 31,
31, 32, 33,
7, 26, 20,
29, 31, 34,
11, 35, 16,
7, 36, 26,
1, 24, 37,
6, 38, 36,
6, 36, 7,
39, 40, 41,
42, 24, 23,
43, 22, 24,
0, 22, 43,
44, 14, 13,
16, 45, 17,
4, 9, 5,
12, 19, 46,
26, 36, 47,
48, 49, 50,
51, 29, 34,
22, 28, 3,
26, 47, 27,
41, 52, 53,
47, 54, 55,
47, 55, 27,
41, 12, 56,
3, 5, 23,
36, 57, 54,
36, 54, 47,
12, 46, 56,
23, 5, 42,
49, 29, 51,
39, 50, 40,
18, 33, 58,
38, 57, 36,
30, 59, 39,
2, 1, 10,
50, 13, 40,
51, 34, 14,
60, 42, 61,
42, 5, 15,
34, 31, 33,
15, 17, 61,
1, 43, 24,
57, 62, 54,
0, 2, 63,
48, 30, 29,
54, 62, 55,
64, 65, 66,
53, 52, 67,
62, 64, 55,
60, 68, 69,
48, 50, 59,
57, 70, 62,
18, 58, 19,
18, 14, 71,
16, 35, 45,
63, 4, 3,
5, 9, 16,
38, 6, 70,
38, 70, 57,
49, 44, 50,
11, 69, 35,
10, 1, 37,
5, 16, 15,
72, 33, 18,
32, 41, 53,
18, 12, 14,
10, 37, 11,
0, 63, 28,
70, 73, 62,
59, 50, 39,
28, 63, 3,
62, 73, 64,
4, 2, 9,
25, 64, 73,
25, 73, 21,
48, 59, 30,
14, 34, 71,
70, 8, 21,
70, 21, 73,
34, 72, 71,
58, 53, 67,
41, 13, 12,
42, 60, 24,
37, 24, 11,
6, 8, 70,
32, 39, 41,
64, 25, 65,
40, 13, 41,
49, 48, 29,
33, 32, 53,
50, 44, 13,
55, 64, 74,
22, 3, 23,
55, 74, 75,
27, 55, 75,
27, 75, 76,
34, 33, 72,
27, 76, 77,
25, 27, 77,
33, 53, 58,
49, 51, 44,
25, 77, 65,
0, 43, 1,
41, 56, 52,
11, 60, 69,
63, 2, 4,
58, 67, 78,
71, 72, 18,
42, 15, 61,
30, 39, 32,
44, 51, 14,
60, 61, 68,
74, 64, 79,
11, 24, 60,
19, 58, 78,
64, 66, 79,
31, 30, 32
};
This diff is collapsed.
//points are of the form (y,z,x).
//model made using Blender and generated using script.
static float CrabPoints[207] = {
4383.0747, 1343.645, 4078.005,
4485.3247, 2494.905, 2921.9749,
4117.0747, 2156.655, 1594.79,
-4082.785, 2156.655, 1309.755,
-4542.3003, 2494.905, 2608.17,
-4520.57, 1343.645, 3768.51,
3406.3152, 2287.98, 5184.18,
-3622.9802, 2287.98, 4939.835,
4312.195, 2038.62, 5142.985,
-4523.81, 2038.62, 4835.84,
4531.4897, 1012.47, 1978.745,
2348.17, 896.40497, 2888.875,
2333.1848, -5.645, 998.29504,
-2261.78, -5.645, 838.57,
-2408.005, 896.40497, 2723.5452,
-4522.86, 1012.47, 1664.01,
5662.3853, 1293.28, 2960.02,