I am trying to wrap a texture around a Shape3d object. I coded: ----------------------- // Set up the texture map TextureLoader tex = new TextureLoader(texImage, this); app.setTexture(tex.getTexture());
TextureAttributes texAttr = new TextureAttributes(); texAttr.setTextureMode(TextureAttributes.DECAL); app.setTextureAttributes(texAttr); TexCoordGeneration TCG = new TexCoordGeneration(TexCoordGeneration.OBJECT_LINEAR, TexCoordGeneration.TEXTURE_COORDINATE_2); app.setTexCoordGeneration(TCG); ----------------------- but this doesn't wrap the texture image around the object. Instead, it repeats the texture many times over the Shape3d object. Many time *per single triangle* of the object. How do I wrap the texture *around* the Shape3d once? Cheers, Bob Gray =========================================================================== 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".