|
![](/i/fill.gif) |
Suppose I declare a colour_map. Is there a way to read a colour out of the
map? In other words, is there a way I can feed in a nindex value and find
the corresponding colour?
The docs say I can fetch the colour of a point out of a texture, but what
I'm asking for is one step simpler than that... Any ideas folks?
Andrew.
PS. Yes, I *know* it's possible to do the linear interpolation manually, but
it's a pain to keep typing this stuff...
Post a reply to this message
|
![](/i/fill.gif) |