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.
Try: display.getGraphicsModeControl().setTextureEnable(false); Good luck, Bill On Mon, 23 Jun 2003, Rakesh Rathod wrote: > hi bill, > Gourand shading is fine for me but i am not getting any kind of > shading. I used following code with yellow color...but it didn't produced > good visualiztion of a 3D surface with a single color. > > // create Constantmaps for speed and add its reference to display > ConstantMap[] altitudeCMap = {new ConstantMap(altitudeRed, Display.Red), > new ConstantMap(altitudeGreen, Display.Green), > new ConstantMap(altitudeBlue, Display.Blue),}; > > // Add reference to display > display.addReference( lati_alti_ref, altitudeCMap ); > > thanks, > Rakesh > > > > > --------------------------------- > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month!
visad
archives: