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

Home » Public Forums » archive » Re: Alpha Blending inside of Widgets / Graphic Objects in Widgets
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: Alpha Blending inside of Widgets / Graphic Objects in Widgets [message #33841] Fri, 31 January 2003 09:49 Go to previous message
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
"Kay Bente" <k.bente@fz-juelich.de> wrote in message
news:b1dulh$3naa$1@zam602.zam.kfa-juelich.de...
> Hi,
>
> for the first part of your answer, I think you misunderstood me, i was
> thinking about to put an IDLgrImage or IDLgrWindow, or what ever of these
> objects i need (i don�t like objects) inside a Widget_Base, to display an
> image fusion.

If you want to do blending then I think you'll have to use Object Graphics
if you want the graphics support to do the blending for you. You can do a
lot of work and do the blending yourself with IDL code, but that's might be
slow and the amount of work involved depends a lot on what you are doing.

In IDL 5.6, the only objects that can really be blended are Images and
Polygons/Surface via a texture map.

You can configure Widget_Draw to use Object Graphics (GRAPHICS_LEVEL=2) and
then you can put your objects in that widget window.

> Or as another solution would it be possible, do get the fusioned image as
a
> truecolor image (256,256,3)-array out of an object.

You can use IDLgrBuffer to make an "off-screen" rendering buffer. You can
draw your objects into the buffer and then extract an RGB image.

If you can tell us more about what you want to draw, we can help more.

Also, there have been quite a few postings on this topic. You might want to
use Google to search the newsgroup for words like "transparency", "alpha",
"blending", etc.

Karl
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: formatting array output?
Next Topic: How to eliminate trailing zeros in a string?

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

Current Time: Thu Oct 09 07:56:36 PDT 2025

Total time taken to generate the page: 1.75579 seconds