Tom, Have you tried setting the Vector4f's as below?
tcg3=new TexCoordGeneration( TexCoordGeneration.OBJECT_LINEAR, TexCoordGeneration.TEXTURE_COORDINATE_2, new Vector4f(1,0,0,0), new Vector4f(0,1,0,0)); Dirk -----Original Message----- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] On Behalf Of Tom Spencer Sent: Saturday, January 08, 2005 1:23 PM To: JAVA3D-INTEREST@JAVA.SUN.COM Subject: [JAVA3D] Textures using TexCoordGeneration Hi there, I have used GeometryInfo to create a number of square planes for a shape and I am now trying to map a texture to these planes. I am using TexCoordGeneration to create the Texture Coordinates for the shape: app.setTexCoordGeneration(new TexCoordGeneration(TexCoordGeneration.OBJECT_LINEAR,TexCoordGeneration.T EXTURE_COORDINATE_2)); app.setTexture(tex); For some reason the image is mapped halfway up the plane and then wraps round with the outside of the texture in the middle. How can I make the texture start at the side? Any Ideas? Thanks in advance ======================================================================== === 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". =========================================================================== 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".