Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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"
+------------------------------------------------------------+


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690