Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

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: Wed, 28 Jun 2006 15:40:22 -0500
Bill:

gmc.setCurvedSize(size); size=0   --> From my code
<no output from buildCurvedTexture>

gmc.setCurvedSize(size); size=1
buildCurvedTexture(Before): curved_size=1 size=100
buildCurvedTexture(After): curved_size=2 size=100
buildCurvedTexture(Before): curved_size=1 size=100
buildCurvedTexture(After): curved_size=2 size=100

gmc.setCurvedSize(size); size=2
buildCurvedTexture(Before): curved_size=2 size=100
buildCurvedTexture(After): curved_size=2 size=100
buildCurvedTexture(Before): curved_size=2 size=100
buildCurvedTexture(After): curved_size=2 size=100

gmc.setCurvedSize(size); size=3
buildCurvedTexture(Before): curved_size=3 size=100
buildCurvedTexture(After): curved_size=3 size=100
buildCurvedTexture(Before): curved_size=3 size=100
buildCurvedTexture(After): curved_size=3 size=100

gmc.setCurvedSize(size); size=100
buildCurvedTexture(Before): curved_size=100 size=100
buildCurvedTexture(After): curved_size=3 size=100
buildCurvedTexture(Before): curved_size=100 size=100
buildCurvedTexture(After): curved_size=3 size=100

BTW: As of today I can build it, thanks to Tom Whittaker.  I was using
visad.jar.  I am using a different classpath now.  Is there a way to find
which version of VisAD I am using at any given time.  I looked but didn't
see anything.

        -Ken

-----Original Message-----
...
If you are energetic, you might put some print statements
into the buildCurvedTexture() method at the end of the
visad/ShadowFunctionOrSetType.java file, to print the
value of curved_size before and after the clamping statement:

  curved_size = Math.max(2, Math.min(curved_size, size / 32));

You might also print the value of size, which is the size
of the smaller texture patches.
...

==============================================================================
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: