annotate src/rovascope/cmaps.c @ 525:c91f3d7cd641 trunk

[svn] - mpg123: fix warnings in compilation, added function prototype to common.h
author giacomo
date Mon, 22 Jan 2007 14:52:22 -0800
parents 290588854a9d
children f305ebcc8136
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
149
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
1 #ifdef HAVE_CONFIG_H
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
2 # include <config.h>
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
3 #endif
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
4
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
5 #include <glib.h>
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
6
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
7 #include "paranormal.h"
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
8 #include "actuators.h"
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
9
338
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
10 #include "libcalc/calc.h"
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
11
149
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
12 #define STD_CMAP_OPTS { "low_index", "The lowest index of the \
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
13 color map that should be altered", OPT_TYPE_COLOR_INDEX, { ival: 0 } },\
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
14 { "high_index", "The highest index of the color map that should be \
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
15 altered", OPT_TYPE_COLOR_INDEX, { ival: 255 } }
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
16
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
17 static struct pn_color black = {0, 0, 0};
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
18 static struct pn_color white = {255, 255, 255};
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
19
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
20 /* **************** cmap generation funcs **************** */
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
21 static void
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
22 cmap_gen_gradient (int step, const struct pn_color *a,
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
23 const struct pn_color *b,
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
24 struct pn_color *c)
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
25 {
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
26 c->r = a->r + step * ((((float)b->r) - ((float)a->r)) / 256.0);
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
27 c->g = a->g + step * ((((float)b->g) - ((float)a->g)) / 256.0);
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
28 c->b = a->b + step * ((((float)b->b) - ((float)a->b)) / 256.0);
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
29 }
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
30
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
31 /* **************** cmap_gradient **************** */
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
32 static struct pn_actuator_option_desc cmap_gradient_opts[] =
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
33 {
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
34 STD_CMAP_OPTS,
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
35 { "lcolor", "The low color used in the gradient generation",
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
36 OPT_TYPE_COLOR, { cval: {0, 0, 0} } },
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
37 { "hcolor", "The high color used in the gradient generation",
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
38 OPT_TYPE_COLOR, { cval: {0, 0, 0} } },
188
0d826917c56f [svn] - 64-bit safety (pass 1 of 2)
nenolod
parents: 155
diff changeset
39 { NULL }
149
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
40 };
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
41
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
42 static void
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
43 cmap_gradient_exec (const struct pn_actuator_option *opts,
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
44 gpointer data)
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
45 {
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
46 int i;
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
47
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
48 for (i=opts[0].val.ival; i<=opts[1].val.ival; i++)
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
49 cmap_gen_gradient (((i-opts[0].val.ival)<<8)/(opts[1].val.ival
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
50 - opts[0].val.ival),
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
51 &opts[2].val.cval, &opts[3].val.cval,
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
52 &pn_image_data->cmap[i]);
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
53 }
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
54
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
55 struct pn_actuator_desc builtin_cmap_gradient =
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
56 {
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
57 "cmap_gradient",
155
adf9f4b26039 [svn] - user-friendly names (UI side unimplemented still)
nenolod
parents: 149
diff changeset
58 "Normal colourmap",
149
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
59 "Sets the colormap to a gradient going from <lcolor> to "
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
60 "<hcolor>",
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
61 0, cmap_gradient_opts,
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
62 NULL, NULL, cmap_gradient_exec
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
63 };
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
64
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
65 /* **************** cmap_bwgradient **************** */
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
66 static struct pn_actuator_option_desc cmap_bwgradient_opts[] =
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
67 {
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
68 STD_CMAP_OPTS,
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
69 { "color", "The intermediate color to use in the gradient",
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
70 OPT_TYPE_COLOR, { cval: {191, 191, 191} } },
188
0d826917c56f [svn] - 64-bit safety (pass 1 of 2)
nenolod
parents: 155
diff changeset
71 { NULL }
149
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
72 };
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
73
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
74 static void
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
75 cmap_bwgradient_exec (const struct pn_actuator_option *opts,
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
76 gpointer data)
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
77 {
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
78 int i;
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
79
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
80 for (i=opts[0].val.ival; i<128 && i<=opts[1].val.ival; i++)
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
81 cmap_gen_gradient (i<<1, &black, &opts[2].val.cval,
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
82 &pn_image_data->cmap[i]);
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
83
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
84 for (i=128; i<256 && i<=opts[1].val.ival; i++)
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
85 cmap_gen_gradient ((i-128)<<1, &opts[2].val.cval, &white,
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
86 &pn_image_data->cmap[i]);
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
87 }
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
88
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
89 struct pn_actuator_desc builtin_cmap_bwgradient =
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
90 {
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
91 "cmap_bwgradient",
155
adf9f4b26039 [svn] - user-friendly names (UI side unimplemented still)
nenolod
parents: 149
diff changeset
92 "Value-based colourmap",
149
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
93 "Sets the colormap to a gradient going from black to "
338
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
94 "white, via an intermediate color",
149
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
95 0, cmap_bwgradient_opts,
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
96 NULL, NULL, cmap_bwgradient_exec
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
97 };
338
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
98
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
99 /* **************** cmap_dynamic **************** */
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
100 static struct pn_actuator_option_desc cmap_dynamic_opts[] =
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
101 {
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
102 STD_CMAP_OPTS,
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
103 { "script", "The script to run on each step.",
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
104 OPT_TYPE_STRING, { sval: "red = red + 0.01; blue = blue + 0.01; green = green + 0.01;" } },
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
105 { NULL }
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
106 };
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
107
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
108 typedef struct {
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
109 expression_t *expr;
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
110 symbol_dict_t *dict;
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
111 } PnDynamicColourmapData;
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
112
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
113 static void
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
114 cmap_dynamic_init(gpointer *data)
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
115 {
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
116 *data = g_new0(PnDynamicColourmapData, 1);
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
117 }
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
118
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
119 static void
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
120 cmap_dynamic_cleanup(gpointer data)
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
121 {
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
122 PnDynamicColourmapData *d = (PnDynamicColourmapData *) data;
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
123
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
124 if (d->expr)
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
125 expr_free(d->expr);
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
126 if (d->dict)
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
127 dict_free(d->dict);
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
128
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
129 g_free(d);
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
130 }
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
131
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
132 static void
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
133 cmap_dynamic_exec(const struct pn_actuator_option *opts,
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
134 gpointer data)
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
135 {
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
136 PnDynamicColourmapData *d = (PnDynamicColourmapData *) data;
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
137 gint i, j;
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
138 gdouble *rf, *bf, *gf, *inf;
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
139 gint rn, bn, gn;
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
140
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
141 if (!d->dict && !d->expr)
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
142 {
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
143 d->dict = dict_new();
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
144 if (!d->dict)
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
145 return;
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
146
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
147 d->expr = expr_compile_string(opts[2].val.sval, d->dict);
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
148 if (!d->expr)
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
149 {
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
150 dict_free(d->dict);
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
151 d->dict = NULL;
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
152 return;
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
153 }
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
154 }
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
155
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
156 rf = dict_variable(d->dict, "red");
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
157 gf = dict_variable(d->dict, "green");
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
158 bf = dict_variable(d->dict, "blue");
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
159 inf = dict_variable(d->dict, "index");
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
160
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
161 for (i = opts[0].val.ival; i < 255 && i <= opts[1].val.ival; i++)
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
162 {
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
163 *inf = ((gdouble)i / 255.0);
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
164
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
165 expr_execute(d->expr, d->dict);
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
166
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
167 /* Convert rf/bf/gf to realworld values. */
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
168 rn = (gdouble)(*rf * 255);
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
169 gn = (gdouble)(*gf * 255);
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
170 bn = (gdouble)(*bf * 255);
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
171
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
172 pn_image_data->cmap[i].r = rn;
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
173 pn_image_data->cmap[i].g = gn;
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
174 pn_image_data->cmap[i].b = bn;
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
175 }
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
176 }
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
177
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
178 struct pn_actuator_desc builtin_cmap_dynamic =
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
179 {
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
180 "cmap_dynamic",
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
181 "Dynamic Colourmap",
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
182 "Scriptable colourmap modifier.",
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
183 0, cmap_dynamic_opts,
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
184 cmap_dynamic_init, cmap_dynamic_cleanup, cmap_dynamic_exec
d517fc608e89 [svn] - some more presets
nenolod
parents: 188
diff changeset
185 };