comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Multiple Color Tables!?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Multiple Color Tables!? [message #40993 is a reply to message #40990] Fri, 17 September 2004 02:08 Go to previous messageGo to previous message
biophys is currently offline  biophys
Messages: 68
Registered: July 2004
Member
Is my radeon 9800pro a 8-bit card? //cry
I guess I will be the last person to understand how color works in IDL.:(

In general, I want something like this,

;**********************
pro myLOADCT, ct

ct=fix(ct) mod 41
bottom=ct*256
ncolors=256

new_LOADCT, ct, bottom=bottom, ncolors=ncolors

end
;***********************
;***********************
pro myTV, data, CT=ct

new_TV, data+256*ct

end
;***********************
;***********************
pro mainpro
...
for i=0,40 do myLOADCT, i
...
wset, draw_0
myTV, bytscl(data_1), CT=ct_1
...
wset, draw_2
myTV, bytscl(data_2), CT=ct_2
...
wset, draw_n
myTV, bytscl(data_n), CT=ct_n

...
end
;***********************

Please HELP if any of you understand what I'm trying to do. Thanks for reading.




David Fanning <davidf@dfanning.com> wrote in message news:<MPG.1bb3ec9e7625434b98969b@news.frii.com>...
> biophysics writes:
>
>> I really want to use multiple color tables at the same time. The tips
>> from David Fanning's website is not very satisfying. The visual effect
>> is really bad if I have to use 3 at the same time. The world is
>> colorful, why should we always be limited to 256 colors?! Can any body
>> suggest more elegant ways of having several colormaps in same
>> application with 256 colors each?!
>
> Uh, get a 24-bit graphics display card? Then you can
> have as many color tables working simultaneously as you
> like.
>
> Cheers,
>
> David
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: ION: video?
Next Topic: Help displaying live video

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 22:33:35 PDT 2025

Total time taken to generate the page: 0.23792 seconds