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: