Appearance app = new Appearance( ); . . . TextureAttributes tatt = new TextureAttributes( ); Transform3D trans = new Transform3D( ); trans.rotZ( Math.PI/4.0 ); tatt.setTextureTransform( trans ); . . . app.setTextureAttributes( tatt );