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

Home » Public Forums » archive » Re: Problem with TVRD(true=1)
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: Problem with TVRD(true=1) [message #14009] Sat, 09 January 1999 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Ken Kobayashi (kobaken@din.or.jp) writes:

> I seem to be having a strange problem with TVRD on a 24-bit display.
> It seems to work as expected for images, but when I try something like
>
> plot, f1, color='FFFFFF'x
> oplot, f2, color='FF0000'x
> oplot, f3, color='00FF00'x
> ;etc
> image=TVRD(true=1)
>
> only the red component is captured, with the green and blue components
> completely empty. Using color_quan and making a GIF file results, of
> course, in a red image.
>
> I am running IDL 5.0 on a Solaris system. To get 24-bit displays I
> access it from a PC by one of two ways: using a VNC (Virtual Network
> Computing, ref: http://www.orl.co.uk/vnc/) viewer under Windows NT,
> and using X windows under Linux. I get the exact same problem with
> TVRD on both. Does anyone have any idea of what I am doing wrong?
> I thought it was a problem with the X server, but the two methods are
> using different X servers, so that couldn't be it, could it?

Exceedingly strange, although "IDL 5.0" immediately calls
up red flags for me: major new release, all the color handling
was changed for object graphics, etc., etc. I'd be *praying*
for an update. :-)

But I don't think you are doing anything wrong. I think
you are right to suspect the X-servers. What happens when
you run IDL on the Solaris system by itself?

Worst comes to worst, you could always turn color decomposition
off and take your snapshot out of the Z-buffer. That pretty
much *always* works.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Progamming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155

[Note: This follow-up was e-mailed to the cited author.]
[Message index]
 
Read Message
Previous Topic: power style labels
Next Topic: Updated C code to call IDL or PV-WAVE

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

Current Time: Fri Oct 10 07:52:57 PDT 2025

Total time taken to generate the page: 1.03896 seconds