NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: Alpha Blending?

Kevin,

> Data[] dat = { new Real(red, 1.0f),
>                 new Real(green, 0.5f),
>                 new Real(blue, 1.0f),
>                 g2s1};
>
> Tuple t = new Tuple(setTupleType, dat);
>
> ff.setSamples(0, t);
>
> which doesn't compile.

Try "ff.setSample(0, t)". The compile error was probably about
"no such method". You can find method signatures in the JavaDoc.

Bill


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