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.
Hi Dean, I find a PolygonMode variable in Display.java. Do you have an old version of VisAD? Try downloading a new copy and let us know if that does not fix your problem. Cheers, Bill On Fri, 14 May 2004, Dean Vucinic wrote: > Dear Bill, > > Thank you for the suggestion for using the ConstantMap constructor: > > ConstantMap(javax.media.j3d.PolygonAttributes.POLYGON_FILL, > Display.PolygonMode > > The problem is that the Display.PolygonMode variable does not exist in the > Display class. > > Thanks in advance for the suggestion. > > Best regards, Dean. > > > _____ > > > > > -----Original Message----- > From: Bill Hibbard [mailto:billh@xxxxxxxxxxxxx] > Sent: 05 May 2004 16:22 > To: Dean Vucinic > Subject: RE: Irregular3DSet Appearance attributes control > > > > Hi Dean, > > > > On Wed, 5 May 2004, Dean Vucinic wrote: > > > Thank you for the answer, but I think this modification will affect all > the > > > surfaces posted to that display. > > > > > > What I would like to have is to modify the POLYGON_FILL attribute for only > > > one surface of many others posted to that specific Display. > > > > If you construct a > > > > ConstantMap(javax.media.j3d.PolygonAttributes.POLYGON_FILL, > > Display.PolygonMode) > > > > and pass it in a ConstantMap[] array argument to the addReference() > > call that you use to link one Data object to a DisplayImpl, then > > this ConstantMap should only apply to that one Data object. > > > > Good luck, > > Bill > > > > > Thanks in advance for your answer. > > > > > > Best regards, Dean. > > > > > > -----Original Message----- > > > From: owner-visad@xxxxxxxxxxxxxxxx [mailto:owner-visad@xxxxxxxxxxxxxxxx] > On > > > Behalf Of Bill Hibbard > > > Sent: 03 May 2004 16:03 > > > To: Dean Vucinic > > > Cc: visad@xxxxxxxxxxxxxxxx > > > Subject: RE: Irregular3DSet Appearance attributes control > > > > > > Hi Dean, > > > > > > > Thank you for your precise answer, but what I did not succeed to find is > > > the > > > > POLYGON_FILL feature defined through ConstantMap. > > > > > > Use Display.PolygonMode, and set it to the value > > > javax.media.j3d.PolygonAttributes.POLYGON_FILL. > > > > > > Good luck, > > > Bill > > > > > > > > > > > > > > > > > > > > >
visad
archives: