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.
Bill, That worked. Sort of. The plot (attached) now looks dirty and it *does* take a (really) long time to render. I see from the tutorial that "By disabling texture mapping we make the polygons have interpolated colors instead of textures. This removes the tesselated [sic] texture, like it was seen in the previous examples, and causes the smoother appearance." However, I seem to be getting shading rather than interpolation. Thanks, -Ken -----Original Message----- From: Bill Hibbard [mailto:billh@xxxxxxxxxxxxx] Sent: Monday, June 26, 2006 4:49 PM To: Kenneth Evans, Jr. Cc: VisAd Mailing List Subject: Re: Problem with Display.ZAxis Using Different Colors for same Z Hi Ken, The mismatch of Z level and color is because the default is to enable texture mapping, over a surface that is sub-sampled from the actual data (tis greatly improves rendering speed for large data). You can disable texture mapping with: GraphicsModeControl mode = display.getGraphicsModeControl(); mode.setTextureEnable(false); Good luck, Bill
Attachment:
RandomGaussian.2.gif
Description: GIF image
visad
archives: