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.
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 ==============================================================================
visad
archives: