Alpha Blending?


Happy New Year all!

I've been playing with the alpha/transparency attributes of VisAD and have run into a problem with how I want to use it. I've read the previous posts about alpha blending and am unsure whether this is the same problem or not.

The basic problem is that I have several filled Irregular2DSets that I am displaying with with ConstantMaps that include Display.Alpha. Many of these Irr2DSets overlap and I was hoping that the overlapping portions would "blend" the two colors and/or opacity of the respective ConstantMaps.

To clarify, please see the right panel of:

http://www.cimms.ou.edu/~kmanross/VCPRPE/VCPRPE_AllBeamWidthsFilled.gif

Note the "filled beam widths", each of which has its own ConstantMap (as well as DataReferenceImpl).

If we zoom in on the upper right corner of the right panel we have this image:

http://www.cimms.ou.edu/~kmanross/VCPRPE/VCPRPE_AllBeamWidthsFilled_overlap.gif

Hopefully you can see how the beam widths overlap. The current behavior is to simply overlay the next ConstantMap color, but I am wanting to blend or merge the two ConstantMap colors and/or have their opacity merged. Is there a way to do this?

Thank you very much for your help and time!

-kevin.

--
+------------------------------------------------------------+
Kevin L. Manross        [KD5MYD] <><          (405)-366-0557
CIMMS Research Associate               kevin.manross@xxxxxxxx
[NSSL-WRDD/SWATN]           http://www.cimms.ou.edu/~kmanross

"My opinions are my own and not representative of CIMMS, NSSL,
 NOAA or any affiliates"
+------------------------------------------------------------+


  • 2004 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: