Re: Image rendering

Hi Bill-

Bill Hibbard wrote:
I think I see what is going on. Try calling:

  display.getGraphicsModeControl().setMissingTransparent(false);

and please let me know if that fixes it.

I did try that, but that doesn't completely fix the problem. I updated
the web page showing the result (last image). Actually, it
almost works (outlines are correct), but the color is all wrong.
FYI, this is a map to Display.RGBA, not Display.RGB.
Also, could this be made to work with a ConstantMap instead of
for all displays (just as was done for TextureEnable).

I also tried calling GraphicsModeControl.setCurvedSize(1)
and it almost all displays.  However, setting it to 0 disables
texture mapping, so that's not an option.  This too would be
good as a ConstantMap (and looks like it might be simple to
implement).

Thanks for the help.

Don
*************************************************************
Don Murray                               UCAR Unidata Program
dmurray@xxxxxxxxxxxxxxxx                        P.O. Box 3000
(303) 497-8628                              Boulder, CO 80307
http://www.unidata.ucar.edu/staff/donm
*************************************************************



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