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

Home » Public Forums » archive » Re: IDL and 24 Bits--help + added question
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: IDL and 24 Bits--help + added question [message #2217 is a reply to message #2216] Tue, 21 June 1994 07:32 Go to previous messageGo to previous message
grunes is currently offline  grunes
Messages: 68
Registered: September 1993
Member
In article <PWALKER.94Jun20165914@jean-luc.ncsa.uiuc.edu> pwalker@ncsa.uiuc.edu (Paul Walker) writes:
> I've just got a 24 bit display, and am trying to use IDL more
> productively than I used it on my old 8=bit display I've read the
> users guide chapter 16, but still have some questions.. My display
> (attached to a personal Iris), will only come up in TrueColor mode,
> which doesn't seem to have writable color tables. xdpyinfo tells me I
> can't get direct color.
...

I don't really understand this, but I got it to work by using
DEVICE,PSEUDO=8
This must come before any other use of your graphics screen--otherwise
it seems to have no effect (on the SGI)!

If you really want 256 colors, then you should also use an explicit WINDOW
command, with a colors switch.
WINDOW ... ,colors=256.

----------NOW FOR MY QUESTION----------

Actually, I have been trying to find a way to simulate 24 bit color for
TV commands on 8 bit color displays (e.g., Sun, VGA...I think it could
be done with some fancy dithering, but I don't want to do it). Does
anyone have (or know of) a routine to do it?
Mitchell R Grunes (grunes@imsy1.nrl.navy.mil)
Allied-Signal Technical Services
c/o Code 7230 Naval Research Lab
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: event fields
Next Topic: Re: Widget Colors

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

Current Time: Tue Oct 21 20:18:33 PDT 2025

Total time taken to generate the page: 2.56118 seconds