|
![](/i/fill.gif) |
"Florian Jung" <bis### [at] web de> wrote in message
news:412f7aee@news.povray.org...
> pan wrote:
> > Docs say 2 to 256 entries in a color_map.
> > Povray says "blend_map too long" if number of entries == 256.
>
> Do you start counting with 0 or 1. Remember that 0--256 are in fact 257
> elements. Does this solve the problem?
Thanks for replying.
I did state I have spent three days on this problem.
I'm aware of what base indexing povray uses for arrays.
I'm almost convinced this is a one-off error in the povray code.
If, after a day or so, no one can tell me if this is just a
docs error, I'll post a bug report with sample color_maps, etc.
sample color_map with 256 entries with pov error message below
and extract from pov docs
each entry has a comment at the end showing the ordinal count
looks like 256 entries to me
just save this color_map defintion as as file and render it - don't really
need any other code
// docs
3.5.1.3 Color Maps
...
There may be from 2 to 256 entries in the map. The alternate spelling
colour_map may be used.
...
//
#declare cm =
color_map
{
[0.0000 color rgb <1.0000, 0.0935, 0.8785>]// 0
[0.0039 color rgb <1.0000, 0.0938, 0.8776>]// 1
[0.0078 color rgb <1.0000, 0.0940, 0.8767>]// 2
[0.0118 color rgb <1.0000, 0.0942, 0.8759>]// 3
[0.0157 color rgb <1.0000, 0.0945, 0.8750>]// 4
[0.0196 color rgb <1.0000, 0.0947, 0.8742>]// 5
[0.0235 color rgb <1.0000, 0.0949, 0.8733>]// 6
[0.0275 color rgb <1.0000, 0.0952, 0.8725>]// 7
[0.0314 color rgb <1.0000, 0.0955, 0.8717>]// 8
[0.0353 color rgb <1.0000, 0.0957, 0.8710>]// 9
[0.0392 color rgb <1.0000, 0.0960, 0.8702>]// 10
[0.0431 color rgb <1.0000, 0.0963, 0.8695>]// 11
[0.0471 color rgb <1.0000, 0.0965, 0.8688>]// 12
[0.0510 color rgb <1.0000, 0.0968, 0.8681>]// 13
[0.0549 color rgb <1.0000, 0.0971, 0.8674>]// 14
[0.0588 color rgb <1.0000, 0.0974, 0.8667>]// 15
[0.0627 color rgb <1.0000, 0.0977, 0.8661>]// 16
[0.0667 color rgb <1.0000, 0.0980, 0.8654>]// 17
[0.0706 color rgb <1.0000, 0.0983, 0.8648>]// 18
[0.0745 color rgb <1.0000, 0.0986, 0.8642>]// 19
[0.0784 color rgb <1.0000, 0.0989, 0.8636>]// 20
[0.0824 color rgb <1.0000, 0.0992, 0.8630>]// 21
[0.0863 color rgb <1.0000, 0.0995, 0.8625>]// 22
[0.0902 color rgb <1.0000, 0.0999, 0.8620>]// 23
[0.0941 color rgb <1.0000, 0.1002, 0.8614>]// 24
[0.0980 color rgb <1.0000, 0.1005, 0.8609>]// 25
[0.1020 color rgb <1.0000, 0.1009, 0.8605>]// 26
[0.1059 color rgb <1.0000, 0.1012, 0.8600>]// 27
[0.1098 color rgb <1.0000, 0.1016, 0.8596>]// 28
[0.1137 color rgb <1.0000, 0.1019, 0.8591>]// 29
[0.1176 color rgb <1.0000, 0.1023, 0.8587>]// 30
[0.1216 color rgb <1.0000, 0.1026, 0.8583>]// 31
[0.1255 color rgb <1.0000, 0.1030, 0.8579>]// 32
[0.1294 color rgb <1.0000, 0.1033, 0.8576>]// 33
[0.1333 color rgb <1.0000, 0.1037, 0.8572>]// 34
[0.1373 color rgb <1.0000, 0.1041, 0.8569>]// 35
[0.1412 color rgb <1.0000, 0.1045, 0.8566>]// 36
[0.1451 color rgb <1.0000, 0.1048, 0.8563>]// 37
[0.1490 color rgb <1.0000, 0.1052, 0.8560>]// 38
[0.1529 color rgb <1.0000, 0.1056, 0.8558>]// 39
[0.1569 color rgb <1.0000, 0.1060, 0.8555>]// 40
[0.1608 color rgb <1.0000, 0.1064, 0.8553>]// 41
[0.1647 color rgb <1.0000, 0.1068, 0.8551>]// 42
[0.1686 color rgb <1.0000, 0.1072, 0.8549>]// 43
[0.1725 color rgb <1.0000, 0.1076, 0.8547>]// 44
[0.1765 color rgb <1.0000, 0.1080, 0.8546>]// 45
[0.1804 color rgb <1.0000, 0.1084, 0.8545>]// 46
[0.1843 color rgb <1.0000, 0.1088, 0.8543>]// 47
[0.1882 color rgb <1.0000, 0.1092, 0.8542>]// 48
[0.1922 color rgb <1.0000, 0.1096, 0.8542>]// 49
[0.1961 color rgb <1.0000, 0.1100, 0.8541>]// 50
[0.2000 color rgb <1.0000, 0.1105, 0.8541>]// 51
[0.2039 color rgb <1.0000, 0.1109, 0.8540>]// 52
[0.2078 color rgb <1.0000, 0.1113, 0.8540>]// 53
[0.2118 color rgb <1.0000, 0.1118, 0.8540>]// 54
[0.2157 color rgb <1.0000, 0.1122, 0.8541>]// 55
[0.2196 color rgb <1.0000, 0.1126, 0.8541>]// 56
[0.2235 color rgb <1.0000, 0.1131, 0.8542>]// 57
[0.2275 color rgb <1.0000, 0.1135, 0.8542>]// 58
[0.2314 color rgb <1.0000, 0.1139, 0.8543>]// 59
[0.2353 color rgb <1.0000, 0.1144, 0.8545>]// 60
[0.2392 color rgb <1.0000, 0.1148, 0.8546>]// 61
[0.2431 color rgb <1.0000, 0.1153, 0.8548>]// 62
[0.2471 color rgb <1.0000, 0.1157, 0.8549>]// 63
[0.2510 color rgb <1.0000, 0.1162, 0.8551>]// 64
[0.2549 color rgb <1.0000, 0.1166, 0.8553>]// 65
[0.2588 color rgb <1.0000, 0.1171, 0.8556>]// 66
[0.2627 color rgb <1.0000, 0.1175, 0.8558>]// 67
[0.2667 color rgb <1.0000, 0.1180, 0.8561>]// 68
[0.2706 color rgb <1.0000, 0.1185, 0.8564>]// 69
[0.2745 color rgb <1.0000, 0.1189, 0.8567>]// 70
[0.2784 color rgb <1.0000, 0.1194, 0.8570>]// 71
[0.2824 color rgb <1.0000, 0.1198, 0.8573>]// 72
[0.2863 color rgb <1.0000, 0.1203, 0.8577>]// 73
[0.2902 color rgb <1.0000, 0.1208, 0.8581>]// 74
[0.2941 color rgb <1.0000, 0.1212, 0.8585>]// 75
[0.2980 color rgb <1.0000, 0.1217, 0.8589>]// 76
[0.3020 color rgb <1.0000, 0.1222, 0.8593>]// 77
[0.3059 color rgb <1.0000, 0.1227, 0.8598>]// 78
[0.3098 color rgb <1.0000, 0.1231, 0.8603>]// 79
[0.3137 color rgb <1.0000, 0.1236, 0.8608>]// 80
[0.3176 color rgb <1.0000, 0.1241, 0.8613>]// 81
[0.3216 color rgb <1.0000, 0.1246, 0.8618>]// 82
[0.3255 color rgb <1.0000, 0.1250, 0.8624>]// 83
[0.3294 color rgb <1.0000, 0.1255, 0.8630>]// 84
[0.3333 color rgb <1.0000, 0.1260, 0.8636>]// 85
[0.3373 color rgb <1.0000, 0.1265, 0.8642>]// 86
[0.3412 color rgb <1.0000, 0.1270, 0.8648>]// 87
[0.3451 color rgb <1.0000, 0.1275, 0.8655>]// 88
[0.3490 color rgb <1.0000, 0.1279, 0.8662>]// 89
[0.3529 color rgb <1.0000, 0.1284, 0.8669>]// 90
[0.3569 color rgb <1.0000, 0.1289, 0.8676>]// 91
[0.3608 color rgb <1.0000, 0.1294, 0.8683>]// 92
[0.3647 color rgb <1.0000, 0.1299, 0.8691>]// 93
[0.3686 color rgb <1.0000, 0.1304, 0.8699>]// 94
[0.3725 color rgb <1.0000, 0.1308, 0.8707>]// 95
[0.3765 color rgb <1.0000, 0.1313, 0.8715>]// 96
[0.3804 color rgb <1.0000, 0.1318, 0.8723>]// 97
[0.3843 color rgb <1.0000, 0.1323, 0.8732>]// 98
[0.3882 color rgb <1.0000, 0.1328, 0.8741>]// 99
[0.3922 color rgb <1.0000, 0.1333, 0.8750>]// 100
[0.3961 color rgb <1.0000, 0.1338, 0.8759>]// 101
[0.4000 color rgb <1.0000, 0.1343, 0.8769>]// 102
[0.4039 color rgb <1.0000, 0.1347, 0.8779>]// 103
[0.4078 color rgb <1.0000, 0.1352, 0.8789>]// 104
[0.4118 color rgb <1.0000, 0.1357, 0.8799>]// 105
[0.4157 color rgb <1.0000, 0.1362, 0.8809>]// 106
[0.4196 color rgb <1.0000, 0.1367, 0.8820>]// 107
[0.4235 color rgb <1.0000, 0.1372, 0.8830>]// 108
[0.4275 color rgb <1.0000, 0.1377, 0.8841>]// 109
[0.4314 color rgb <1.0000, 0.1381, 0.8852>]// 110
[0.4353 color rgb <1.0000, 0.1386, 0.8863>]// 111
[0.4392 color rgb <1.0000, 0.1391, 0.8874>]// 112
[0.4431 color rgb <1.0000, 0.1396, 0.8886>]// 113
[0.4471 color rgb <0.9998, 0.1401, 0.8897>]// 114
[0.4510 color rgb <0.9985, 0.1405, 0.8909>]// 115
[0.4549 color rgb <0.9972, 0.1410, 0.8920>]// 116
[0.4588 color rgb <0.9959, 0.1415, 0.8932>]// 117
[0.4627 color rgb <0.9946, 0.1420, 0.8944>]// 118
[0.4667 color rgb <0.9933, 0.1425, 0.8956>]// 119
[0.4706 color rgb <0.9920, 0.1429, 0.8968>]// 120
[0.4745 color rgb <0.9907, 0.1434, 0.8980>]// 121
[0.4784 color rgb <0.9894, 0.1439, 0.8992>]// 122
[0.4824 color rgb <0.9881, 0.1444, 0.9005>]// 123
[0.4863 color rgb <0.9868, 0.1448, 0.9017>]// 124
[0.4902 color rgb <0.9855, 0.1453, 0.9029>]// 125
[0.4941 color rgb <0.9842, 0.1458, 0.9041>]// 126
[0.4980 color rgb <0.9829, 0.1462, 0.9054>]// 127
[0.5020 color rgb <0.9816, 0.1467, 0.9066>]// 128
[0.5059 color rgb <0.9803, 0.1472, 0.9078>]// 129
[0.5098 color rgb <0.9790, 0.1476, 0.9091>]// 130
[0.5137 color rgb <0.9777, 0.1481, 0.9103>]// 131
[0.5176 color rgb <0.9764, 0.1486, 0.9115>]// 132
[0.5216 color rgb <0.9752, 0.1490, 0.9127>]// 133
[0.5255 color rgb <0.9739, 0.1495, 0.9140>]// 134
[0.5294 color rgb <0.9726, 0.1499, 0.9152>]// 135
[0.5333 color rgb <0.9713, 0.1504, 0.9164>]// 136
[0.5373 color rgb <0.9701, 0.1508, 0.9176>]// 137
[0.5412 color rgb <0.9688, 0.1513, 0.9188>]// 138
[0.5451 color rgb <0.9676, 0.1517, 0.9199>]// 139
[0.5490 color rgb <0.9663, 0.1522, 0.9211>]// 140
[0.5529 color rgb <0.9651, 0.1526, 0.9223>]// 141
[0.5569 color rgb <0.9639, 0.1531, 0.9234>]// 142
[0.5608 color rgb <0.9627, 0.1535, 0.9246>]// 143
[0.5647 color rgb <0.9615, 0.1539, 0.9257>]// 144
[0.5686 color rgb <0.9603, 0.1544, 0.9268>]// 145
[0.5725 color rgb <0.9591, 0.1548, 0.9279>]// 146
[0.5765 color rgb <0.9579, 0.1552, 0.9290>]// 147
[0.5804 color rgb <0.9568, 0.1557, 0.9301>]// 148
[0.5843 color rgb <0.9556, 0.1561, 0.9311>]// 149
[0.5882 color rgb <0.9545, 0.1565, 0.9321>]// 150
[0.5922 color rgb <0.9533, 0.1569, 0.9331>]// 151
[0.5961 color rgb <0.9522, 0.1573, 0.9341>]// 152
[0.6000 color rgb <0.9511, 0.1578, 0.9351>]// 153
[0.6039 color rgb <0.9500, 0.1582, 0.9360>]// 154
[0.6078 color rgb <0.9489, 0.1586, 0.9370>]// 155
[0.6118 color rgb <0.9479, 0.1590, 0.9379>]// 156
[0.6157 color rgb <0.9468, 0.1594, 0.9388>]// 157
[0.6196 color rgb <0.9457, 0.1598, 0.9397>]// 158
[0.6235 color rgb <0.9447, 0.1602, 0.9405>]// 159
[0.6275 color rgb <0.9436, 0.1607, 0.9414>]// 160
[0.6314 color rgb <0.9426, 0.1611, 0.9422>]// 161
[0.6353 color rgb <0.9415, 0.1615, 0.9431>]// 162
[0.6392 color rgb <0.9405, 0.1619, 0.9439>]// 163
[0.6431 color rgb <0.9394, 0.1623, 0.9447>]// 164
[0.6471 color rgb <0.9384, 0.1627, 0.9454>]// 165
[0.6510 color rgb <0.9373, 0.1632, 0.9462>]// 166
[0.6549 color rgb <0.9363, 0.1636, 0.9470>]// 167
[0.6588 color rgb <0.9352, 0.1640, 0.9477>]// 168
[0.6627 color rgb <0.9342, 0.1645, 0.9485>]// 169
[0.6667 color rgb <0.9331, 0.1649, 0.9492>]// 170
[0.6706 color rgb <0.9321, 0.1654, 0.9499>]// 171
[0.6745 color rgb <0.9310, 0.1658, 0.9506>]// 172
[0.6784 color rgb <0.9299, 0.1663, 0.9513>]// 173
[0.6824 color rgb <0.9288, 0.1668, 0.9520>]// 174
[0.6863 color rgb <0.9278, 0.1672, 0.9527>]// 175
[0.6902 color rgb <0.9267, 0.1677, 0.9534>]// 176
[0.6941 color rgb <0.9255, 0.1682, 0.9540>]// 177
[0.6980 color rgb <0.9244, 0.1687, 0.9547>]// 178
[0.7020 color rgb <0.9233, 0.1692, 0.9554>]// 179
[0.7059 color rgb <0.9221, 0.1697, 0.9560>]// 180
[0.7098 color rgb <0.9210, 0.1702, 0.9567>]// 181
[0.7137 color rgb <0.9198, 0.1708, 0.9573>]// 182
[0.7176 color rgb <0.9186, 0.1713, 0.9579>]// 183
[0.7216 color rgb <0.9174, 0.1719, 0.9586>]// 184
[0.7255 color rgb <0.9162, 0.1724, 0.9592>]// 185
[0.7294 color rgb <0.9149, 0.1730, 0.9599>]// 186
[0.7333 color rgb <0.9137, 0.1736, 0.9605>]// 187
[0.7373 color rgb <0.9124, 0.1742, 0.9611>]// 188
[0.7412 color rgb <0.9111, 0.1748, 0.9618>]// 189
[0.7451 color rgb <0.9098, 0.1754, 0.9624>]// 190
[0.7490 color rgb <0.9084, 0.1761, 0.9630>]// 191
[0.7529 color rgb <0.9070, 0.1767, 0.9637>]// 192
[0.7569 color rgb <0.9056, 0.1774, 0.9643>]// 193
[0.7608 color rgb <0.9042, 0.1781, 0.9649>]// 194
[0.7647 color rgb <0.9028, 0.1788, 0.9656>]// 195
[0.7686 color rgb <0.9013, 0.1795, 0.9662>]// 196
[0.7725 color rgb <0.8998, 0.1802, 0.9669>]// 197
[0.7765 color rgb <0.8982, 0.1810, 0.9675>]// 198
[0.7804 color rgb <0.8967, 0.1817, 0.9682>]// 199
[0.7843 color rgb <0.8951, 0.1825, 0.9688>]// 200
[0.7882 color rgb <0.8934, 0.1833, 0.9695>]// 201
[0.7922 color rgb <0.8918, 0.1841, 0.9702>]// 202
[0.7961 color rgb <0.8901, 0.1849, 0.9709>]// 203
[0.8000 color rgb <0.8883, 0.1858, 0.9716>]// 204
[0.8039 color rgb <0.8866, 0.1866, 0.9723>]// 205
[0.8078 color rgb <0.8848, 0.1875, 0.9729>]// 206
[0.8118 color rgb <0.8830, 0.1884, 0.9736>]// 207
[0.8157 color rgb <0.8812, 0.1893, 0.9743>]// 208
[0.8196 color rgb <0.8793, 0.1902, 0.9751>]// 209
[0.8235 color rgb <0.8774, 0.1911, 0.9758>]// 210
[0.8275 color rgb <0.8755, 0.1921, 0.9765>]// 211
[0.8314 color rgb <0.8736, 0.1930, 0.9772>]// 212
[0.8353 color rgb <0.8717, 0.1940, 0.9779>]// 213
[0.8392 color rgb <0.8697, 0.1950, 0.9786>]// 214
[0.8431 color rgb <0.8677, 0.1960, 0.9793>]// 215
[0.8471 color rgb <0.8657, 0.1970, 0.9800>]// 216
[0.8510 color rgb <0.8637, 0.1980, 0.9807>]// 217
[0.8549 color rgb <0.8616, 0.1990, 0.9814>]// 218
[0.8588 color rgb <0.8596, 0.2000, 0.9821>]// 219
[0.8627 color rgb <0.8575, 0.2011, 0.9828>]// 220
[0.8667 color rgb <0.8554, 0.2021, 0.9835>]// 221
[0.8706 color rgb <0.8533, 0.2032, 0.9842>]// 222
[0.8745 color rgb <0.8512, 0.2042, 0.9849>]// 223
[0.8784 color rgb <0.8491, 0.2053, 0.9856>]// 224
[0.8824 color rgb <0.8470, 0.2064, 0.9863>]// 225
[0.8863 color rgb <0.8449, 0.2075, 0.9870>]// 226
[0.8902 color rgb <0.8427, 0.2086, 0.9876>]// 227
[0.8941 color rgb <0.8406, 0.2097, 0.9883>]// 228
[0.8980 color rgb <0.8384, 0.2108, 0.9890>]// 229
[0.9020 color rgb <0.8362, 0.2119, 0.9896>]// 230
[0.9059 color rgb <0.8341, 0.2130, 0.9902>]// 231
[0.9098 color rgb <0.8319, 0.2141, 0.9909>]// 232
[0.9137 color rgb <0.8297, 0.2152, 0.9915>]// 233
[0.9176 color rgb <0.8276, 0.2163, 0.9921>]// 234
[0.9216 color rgb <0.8254, 0.2174, 0.9927>]// 235
[0.9255 color rgb <0.8232, 0.2186, 0.9933>]// 236
[0.9294 color rgb <0.8211, 0.2197, 0.9939>]// 237
[0.9333 color rgb <0.8189, 0.2208, 0.9945>]// 238
[0.9373 color rgb <0.8168, 0.2219, 0.9950>]// 239
[0.9412 color rgb <0.8146, 0.2231, 0.9956>]// 240
[0.9451 color rgb <0.8124, 0.2242, 0.9961>]// 241
[0.9490 color rgb <0.8103, 0.2253, 0.9967>]// 242
[0.9529 color rgb <0.8082, 0.2264, 0.9972>]// 243
[0.9569 color rgb <0.8060, 0.2276, 0.9977>]// 244
[0.9608 color rgb <0.8039, 0.2287, 0.9981>]// 245
[0.9647 color rgb <0.8018, 0.2298, 0.9986>]// 246
[0.9686 color rgb <0.7997, 0.2309, 0.9991>]// 247
[0.9725 color rgb <0.7976, 0.2320, 0.9995>]// 248
[0.9765 color rgb <0.7956, 0.2331, 0.9999>]// 249
[0.9804 color rgb <0.7935, 0.2342, 1.0000>]// 250
[0.9843 color rgb <0.7915, 0.2353, 1.0000>]// 251
[0.9882 color rgb <0.7895, 0.2364, 1.0000>]// 252
[0.9922 color rgb <0.7874, 0.2375, 1.0000>]// 253
[0.9961 color rgb <0.7854, 0.2386, 1.0000>]// 254
[1.0000 color rgb <0.7835, 0.2397, 1.0000>]// 255
}
Total Scene Processing Times
Parse Time: 0 hours 0 minutes 0 seconds (0 seconds)
Photon Time: 0 hours 0 minutes 0 seconds (0 seconds)
Render Time: 0 hours 0 minutes 2 seconds (2 seconds)
Total Time: 0 hours 0 minutes 2 seconds (2 seconds)
CPU time used: kernel 0.16 seconds, user 1.50 seconds, total 1.66 seconds
Render averaged 288740.91 PPS over 480000 pixels
POV-Ray finished
Preset INI file is 'C:\PROGRAM FILES\POV-RAY FOR WINDOWS
V3.6\RENDERER\QUICKRES.INI', section is '[800x600, AA 0.3]'.
Preset source file is 'C:\Program Files\POV-Ray for Windows
v3.6\WORK\bug_report_cm.pov'.
Rendering using command line '+Fn'.
Redirecting Options
All Streams to console..........On
Debug Stream to console.........On
Fatal Stream to console.........On
Render Stream to console........On
Statistics Stream to console....On
Warning Stream to console.......On
Parsing Options
Input file: C:\Program Files\POV-Ray for Windows
v3.6\WORK\bug_report_cm.pov (compatible to version 3.61)
Remove bounds........On
Split unions.........Off
Library paths:
C:\Program Files\POV-Ray for Windows v3.6\INCLUDE
C:\WINDOWS\Fonts
C:\Program Files\POV-Ray for Windows v3.6\WORK
C:\Program Files\POV-Ray for Windows v3.6\TEST
C:\Program Files\POV-Ray for Windows v3.6\EARTH
C:\Program Files\POV-Ray for Windows v3.6\EARTH\data_inc
C:\Program Files\POV-Ray for Windows v3.6\RENDERS
Output Options
Image resolution 800 by 600 (rows 1 to 600, columns 1 to 800).
Output file: C:\Program Files\POV-Ray for Windows
v3.6\RENDERS\bug_report_cm.png, 24 bpp PNG
Graphic display......On (gamma: 2.2)
Mosaic preview.......Off
CPU usage histogram..Off
Continued trace......Off
Tracing Options
Quality: 9
Bounding boxes.......On Bounding threshold: 3
Light Buffer.........On
Vista Buffer.........On Draw Vista Buffer....Off
Antialiasing.........On (Method 1, Threshold 0.300, Depth 3, Jitter 1.00)
Clock value: 0.000 (Animation off)
File: C:\Program Files\POV-Ray for Windows v3.6\WORK\bug_report_cm.pov
Line: 259
File Context (5 lines):
[0.9961 color rgb <0.7854, 0.2386, 1.0000>]// 254
[1.0000 color rgb <0.7835, 0.2397, 1.0000>]
Parse Error: Blend_Map too long.
Total Scene Processing Times
Parse Time: 0 hours 0 minutes 0 seconds (0 seconds)
Photon Time: 0 hours 0 minutes 0 seconds (0 seconds)
Render Time: 0 hours 0 minutes 0 seconds (0 seconds)
Total Time: 0 hours 0 minutes 0 seconds (0 seconds)
CPU time used: kernel 0.03 seconds, user 0.01 seconds, total 0.04 seconds
POV-Ray finished
winxpsp1
1.5 Gb ram
1.4 Ghz amd processor
povray 3.6.1
Post a reply to this message
|
![](/i/fill.gif) |