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: Problem with Display.ZAxis Using Different Colors for same Z

  • To: "'Bill Hibbard'" <billh@xxxxxxxxxxxxx>
  • Subject: RE: Problem with Display.ZAxis Using Different Colors for same Z
  • From: "Kenneth Evans, Jr." <evans@xxxxxxxxxxx>
  • Date: Tue, 27 Jun 2006 17:28:47 -0500
Bill,

    I tried that with 1, 2, 3 (and 100 ;-).  I could not see any difference.
They all looked like the default.  I also tried 0, and it looked like
gmc.setTextureEnable(false); that is, shaded.

        -Ken

-----Original Message-----
...
Yeah, for your 1000 x 1000 data set you are creating and
rendering 2,000,000 triangles. The dirty look comes from
the shading applied to the surface (as I recall, we
disabled shading with texture maps).

Tom Rink suggests that rather than disabling texture
mapping, you might try:

  GraphicsModeControl mode = display.getGraphicsModeControl();
  mode.setCurvedSize(1);

Or for a compromise, try 2 or 3 instead of 1. These
will give you a texture map with finer sub-sampling
(with 1, I think there is no sub-sampling at all).

Good luck,
Bill

==============================================================================
To unsubscribe visad, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================


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