Hi Simeon, > ImageMgr.GRID_SQUARE.getImage()
Would you be willing to reveal how you generate the image please? Regards Mike Mike Goldwater Auric Hydrates Ltd __________________ Work: 020 8949 0353 Mobile: 07956 359001 e-mail: [EMAIL PROTECTED] <mailto: [EMAIL PROTECTED]> > -----Original Message----- > From: Discussion list for Java 3D API [mailto:JAVA3D- > [EMAIL PROTECTED]] On Behalf Of Simeon H.K. Fitch > Sent: 14 March 2002 17:46 > To: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] filled polygons with visible margins > > > -----Original Message----- > From: Discussion list for Java 3D API > [mailto:[EMAIL PROTECTED]]On Behalf Of Enrique Dumas > > > Hello, > > Could you make a screen capture of your app ? > > I am using at this time 2 shape3D to make the same job, it is slow ... > > 'tis attached. Lemme know what you think, or if anyone has any > recommendations on how to make it look better. Here's my appearance setup: > > Appearance app = new Appearance(); > ColoringAttributes ca = new ColoringAttributes(); > ca.setShadeModel(ColoringAttributes.SHADE_GOURAUD); > app.setColoringAttributes(ca); > > Material mat = new Material(); > mat.setSpecularColor(.1f, .1f, .1f); > mat.setShininess(1); > app.setMaterial(mat); > > PolygonAttributes pla = new PolygonAttributes(); > pla.setPolygonMode(PolygonAttributes.POLYGON_FILL); > app.setPolygonAttributes(pla); > > Texture tex = new TextureLoader( > ImageMgr.GRID_SQUARE.getImage(), // This is my in-house image > management class > TextureLoader.GENERATE_MIPMAP | TextureLoader.BY_REFERENCE, > null > ).getTexture(); > tex.setBoundaryModeS(Texture.CLAMP); > tex.setBoundaryModeT(Texture.CLAMP); > tex.setMinFilter(Texture.NICEST); > tex.setMagFilter(Texture.NICEST); > setTexture(tex); > > TextureAttributes ta = new TextureAttributes(); > ta.setTextureMode(TextureAttributes.DECAL); > app.setTextureAttributes(ta); > > /** > * @author Simeon H.K. Fitch > * @organization Mustard Seed Software > * @web http://www.mustardseedsoftware.com > * @email [EMAIL PROTECTED] > * @voice 210.867.1616 > * @fax 309.424.4982 > */ =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".