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

Home » Public Forums » archive » Re: IDLgrWindow, IDLgrVolume and alpha channel
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: IDLgrWindow, IDLgrVolume and alpha channel [message #33808 is a reply to message #33801] Fri, 24 January 2003 12:08 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
"Sebastian" wrote in message

> I am rendering an IDLgrVolume into a IDLgrWindow. When I get the image
> data from the Window, the image has only 3 channels. How can I get the
> alpha channel of this image? The alpha channel information surely must be
> somewhere, because volume rendering needs it.

<speculation>

I'm sure Karl can give you a technical answer but the short of it is that I
am pretty sure you can't get the alpha channel from a window by using the
Read method. I would guess that by the time the data is written to your
display buffer the alpha information is long gone. I don't know if this is
a "limitation" of OpenGL, the OS, or IDL and while I can think of a few
reasons not to do this, I can't think of a good reason to do it.

</speculation>

You may be able to get the data you need in some other way. Maybe if you
post some specifics on what you are doing someone might come up with a
creative alternative.

-Rick
[Message index]
 
Read Message
Read Message
Previous Topic: Re: TV question...
Next Topic: Re: How to eliminate trailing zeros in a string?

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

Current Time: Fri Dec 05 08:17:18 PST 2025

Total time taken to generate the page: 1.04215 seconds