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

Home » Public Forums » archive » Re: IDL causes color table flashing on SGI with Irix 6.0.1
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: IDL causes color table flashing on SGI with Irix 6.0.1 [message #3458] Wed, 01 February 1995 09:37 Go to next message
ian is currently offline  ian
Messages: 26
Registered: February 1992
Junior Member
Word has it that Liam Gumley <liamg@ssec.wisc.edu> may have said:
[stuff deleted]
> The images displayed in the demo look quite normal *until* the cursor
> is moved inside the draw window. At this point the color table for the
> whole screen abruptly changes, and then changes back to the original
> table when the cursor is removed from the draw window. I have seen this
> happen before on a PC running an X server, but never on a Unix box.
[snip]

That's an effect of IDL using more colors than are currently available
(as in not being used by other apps). When this happens, IDL makes
a local colormap that is only in effect when the cursor is in the image
windows. I use this effect to get 256 colors regardless of what's
running on my 8-bit X terminal. In your case, you might be able to
get around it by setting IDL*colors to a negative number in your
.Xdefaults file, or by saying "window, colors = 200" or some such as the
first command in your IDL session.

+-Ian Novack (Particle Man and Comatose Reader)-------ian@gomez.jpl.nasa.gov--+
| "Press 8 for psychotic silence." -- Wanda Coleman's Jet Propulsion Lab |
| column, Los Angeles Times Magazine, 12/18/94 Pasadena, CA |
+--Disclaimer: Had this been an actual opinion, it would still be mine.-------+
Re: IDL causes color table flashing on SGI with Irix 6.0.1 [message #3536 is a reply to message #3458] Thu, 02 February 1995 11:17 Go to previous message
pellet is currently offline  pellet
Messages: 12
Registered: October 1994
Junior Member
H. Ian Novack (ian@gomez.Jpl.Nasa.Gov) wrote:
: Word has it that Liam Gumley <liamg@ssec.wisc.edu> may have said:
: [stuff deleted]
: >The images displayed in the demo look quite normal *until* the cursor
: >is moved inside the draw window. At this point the color table for the
: >whole screen abruptly changes, and then changes back to the original
: >table when the cursor is removed from the draw window. I have seen this
: >happen before on a PC running an X server, but never on a Unix box.
: [snip]

: That's an effect of IDL using more colors than are currently available
: (as in not being used by other apps). When this happens, IDL makes
: a local colormap that is only in effect when the cursor is in the image
: windows. I use this effect to get 256 colors regardless of what's
: running on my 8-bit X terminal. In your case, you might be able to
: get around it by setting IDL*colors to a negative number in your
: .Xdefaults file, or by saying "window, colors = 200" or some such as the
: first command in your IDL session.

I use to run IDL on a SGI Iris and I had a similar problem. I reduced
the number of colors reserved for IDL, as suggested above, but the
problem still showed when the mouse went over either an icon or any GL
graphic windows. I also recall that RSI was unable to fix this.
Other than that, it worked great.

Jeff
pellet@inrs-ener.uquebec.ca
Re: IDL causes color table flashing on SGI with Irix 6.0.1 [message #3544 is a reply to message #3458] Thu, 02 February 1995 06:41 Go to previous message
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
ian@gomez.Jpl.Nasa.Gov (H. Ian Novack) wrote:
>> The images displayed in the demo look quite normal *until* the cursor
>> is moved inside the draw window. At this point the color table for the
>> whole screen abruptly changes, and then changes back to the original
>> table when the cursor is removed from the draw window.
>
> In your case, you might be able to
> get around it by setting IDL*colors to a negative number in your
> ..Xdefaults file, or by saying "window, colors = 200"

In fact the problem was solved by placing the line

Idl*visual: PseudoColor

in my .Xdefaults file (when the pseudocolor visual is active).
Now everything works just fine.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Fix to diagramming program
Next Topic: pvwave - personal edition

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

Current Time: Wed Oct 08 19:13:20 PDT 2025

Total time taken to generate the page: 0.00718 seconds