- To: visad-list@xxxxxxxxxxxxx
- Subject: Re: alpha blending
- From: Ugo Taddei <p6taug@xxxxxxxxxxxxxxxxx>
- Date: Thu, 28 Jun 2001 09:17:11 +0200
Hi Brad, Brad Buchsbaum wrote: > > Hi, > > Is it possible to take two FlatFields representing rgba values and combine > them using alpha composition into a third FlatField? > > e.g. f1(r, g, b, a) + f2(r, g, b, a) --> f3(r, g, b, a) ? > > This could be computed manually, but is there Visad method for doing this > sort of thing? Perhaps the method (from visad.DataImpl): public Data add(Data data) would do the trick? That is, f3 = (FlatField) f2.add( f1 ); Cheers, Ugo
- References:
- zorder
- From: Doug Lindholm
- Re: alpha blending
- From: Brad Buchsbaum
- zorder